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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ce30803a616ae9ef2a49fa7b7f6a9b1c49fff5c6 | 2,584 | py | Python | tests/check_framework/test_model_field_deprecation.py | bpeschier/django | f54c0ec06e390dc5bce95fdccbcb51d6423da4f9 | [
"BSD-3-Clause"
] | 3 | 2020-05-30T17:08:51.000Z | 2021-12-14T02:55:19.000Z | tests/check_framework/test_model_field_deprecation.py | bpeschier/django | f54c0ec06e390dc5bce95fdccbcb51d6423da4f9 | [
"BSD-3-Clause"
] | 1 | 2021-03-24T12:21:05.000Z | 2021-03-24T12:31:52.000Z | tests/check_framework/test_model_field_deprecation.py | bpeschier/django | f54c0ec06e390dc5bce95fdccbcb51d6423da4f9 | [
"BSD-3-Clause"
] | 15 | 2016-01-08T14:28:41.000Z | 2019-04-19T08:33:31.000Z | from django.core import checks
from django.db import models
from django.test import SimpleTestCase
from .tests import IsolateModelsMixin
class TestDeprecatedField(IsolateModelsMixin, SimpleTestCase):
def test_default_details(self):
class MyField(models.Field):
system_check_deprecated_details ... | 30.046512 | 92 | 0.533669 | 249 | 2,584 | 5.417671 | 0.24498 | 0.035582 | 0.047443 | 0.068199 | 0.800593 | 0.800593 | 0.788732 | 0.788732 | 0.788732 | 0.788732 | 0 | 0.007286 | 0.362616 | 2,584 | 85 | 93 | 30.4 | 0.811779 | 0 | 0 | 0.6 | 0 | 0 | 0.168344 | 0 | 0 | 0 | 0 | 0 | 0.057143 | 1 | 0.057143 | false | 0 | 0.057143 | 0 | 0.257143 | 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 |
0219d9f72d6070aaab90e3159f9208b58ece5172 | 40 | py | Python | PapaGraph/src/PapaGraph/sample/__init__.py | thalyson004/PapaGraph | 429d0f0861ead8f1971958aacb4bf12ced013600 | [
"MIT"
] | null | null | null | PapaGraph/src/PapaGraph/sample/__init__.py | thalyson004/PapaGraph | 429d0f0861ead8f1971958aacb4bf12ced013600 | [
"MIT"
] | null | null | null | PapaGraph/src/PapaGraph/sample/__init__.py | thalyson004/PapaGraph | 429d0f0861ead8f1971958aacb4bf12ced013600 | [
"MIT"
] | null | null | null | from PapaGraph.sample.handmande import * | 40 | 40 | 0.85 | 5 | 40 | 6.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075 | 40 | 1 | 40 | 40 | 0.918919 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
021db2c66644b9600729556073c72e3b267d121f | 58 | py | Python | book-code/numpy-ml/numpy_ml/preprocessing/__init__.py | yangninghua/code_library | b769abecb4e0cbdbbb5762949c91847a0f0b3c5a | [
"MIT"
] | null | null | null | book-code/numpy-ml/numpy_ml/preprocessing/__init__.py | yangninghua/code_library | b769abecb4e0cbdbbb5762949c91847a0f0b3c5a | [
"MIT"
] | null | null | null | book-code/numpy-ml/numpy_ml/preprocessing/__init__.py | yangninghua/code_library | b769abecb4e0cbdbbb5762949c91847a0f0b3c5a | [
"MIT"
] | null | null | null | from . import general
from . import nlp
from . import dsp
| 14.5 | 21 | 0.741379 | 9 | 58 | 4.777778 | 0.555556 | 0.697674 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.206897 | 58 | 3 | 22 | 19.333333 | 0.934783 | 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 |
0272bcc4054f83ae4a8afcce79187fa7509180da | 224 | py | Python | playground/step4/jhML/__init__.py | jhson989/jhML | eb8b76d3b47df858e82cd971bb32794e12de4747 | [
"Apache-2.0"
] | null | null | null | playground/step4/jhML/__init__.py | jhson989/jhML | eb8b76d3b47df858e82cd971bb32794e12de4747 | [
"Apache-2.0"
] | null | null | null | playground/step4/jhML/__init__.py | jhson989/jhML | eb8b76d3b47df858e82cd971bb32794e12de4747 | [
"Apache-2.0"
] | null | null | null | from jhML.core import Variable
from jhML.core import Function
from jhML.functions import setup_variable
from jhML.config import using_config
from jhML.config import no_grad
from jhML.config import Config
setup_variable()
| 20.363636 | 41 | 0.839286 | 35 | 224 | 5.257143 | 0.342857 | 0.26087 | 0.228261 | 0.326087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 224 | 10 | 42 | 22.4 | 0.938776 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.857143 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5a18e3511fbffc03ebf1419cf7a073b1a46a0e84 | 267 | py | Python | account/forms.py | Zeble1603/cv-django | 329d8d471c92dc0ce5f4bfb2bb5212fc1c8c34b4 | [
"MIT"
] | 1 | 2021-10-19T21:22:38.000Z | 2021-10-19T21:22:38.000Z | account/forms.py | Zeble1603/cv-django | 329d8d471c92dc0ce5f4bfb2bb5212fc1c8c34b4 | [
"MIT"
] | null | null | null | account/forms.py | Zeble1603/cv-django | 329d8d471c92dc0ce5f4bfb2bb5212fc1c8c34b4 | [
"MIT"
] | null | null | null | from django import forms
from django.contrib.auth.forms import AuthenticationForm
from django.contrib.auth.models import User
class CustomLoginForm(AuthenticationForm):
class Meta:
model = User
fiels = ['username','password']
| 22.25 | 56 | 0.692884 | 28 | 267 | 6.607143 | 0.571429 | 0.162162 | 0.183784 | 0.227027 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.235955 | 267 | 12 | 57 | 22.25 | 0.906863 | 0 | 0 | 0 | 0 | 0 | 0.059701 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.142857 | 0.428571 | 0 | 0.714286 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
5a65678ea518f85abf324edc56a4740ad72c3fe6 | 85 | py | Python | utils/utils.py | tuzhucheng/sent-sim | ebda09322be1dca3e967b80ffcf6437adb789132 | [
"MIT"
] | 109 | 2017-12-09T04:52:06.000Z | 2022-02-08T17:41:37.000Z | utils/utils.py | tuzhucheng/sent-sim | ebda09322be1dca3e967b80ffcf6437adb789132 | [
"MIT"
] | 5 | 2018-06-05T01:50:02.000Z | 2021-03-14T04:45:02.000Z | utils/utils.py | tuzhucheng/sent-sim | ebda09322be1dca3e967b80ffcf6437adb789132 | [
"MIT"
] | 24 | 2018-04-27T01:52:34.000Z | 2021-12-21T09:21:26.000Z | import torch
def save_checkpoint(state, filename):
torch.save(state, filename)
| 14.166667 | 37 | 0.752941 | 11 | 85 | 5.727273 | 0.636364 | 0.412698 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152941 | 85 | 5 | 38 | 17 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0c80f148b42f75fc26a4a88f9a3fab7c28807bb8 | 101 | py | Python | lib_import/exceptions.py | fannydufresne/lib_import | 7105fa5e054d4008eddc79c1b02b397e41f7a45f | [
"Apache-2.0"
] | null | null | null | lib_import/exceptions.py | fannydufresne/lib_import | 7105fa5e054d4008eddc79c1b02b397e41f7a45f | [
"Apache-2.0"
] | 4 | 2021-03-19T10:23:02.000Z | 2022-02-10T11:24:29.000Z | lib_import/exceptions.py | fannydufresne/lib_import | 7105fa5e054d4008eddc79c1b02b397e41f7a45f | [
"Apache-2.0"
] | null | null | null | """Usefull error classes."""
class ImportError(Exception):
"""A generic exception."""
pass
| 14.428571 | 30 | 0.643564 | 10 | 101 | 6.5 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.188119 | 101 | 6 | 31 | 16.833333 | 0.792683 | 0.425743 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0.5 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
0c9e7c80b6e06a7d2b1d111440377b9a7a94204f | 199 | py | Python | tests/test_queries.py | kingoodie/py2gds | 1c264968da13c7330e8181b54a8bcc3bf233dd1a | [
"MIT"
] | null | null | null | tests/test_queries.py | kingoodie/py2gds | 1c264968da13c7330e8181b54a8bcc3bf233dd1a | [
"MIT"
] | 1 | 2021-03-09T12:09:35.000Z | 2021-03-09T12:09:35.000Z | tests/test_queries.py | kingoodie/py2gds | 1c264968da13c7330e8181b54a8bcc3bf233dd1a | [
"MIT"
] | null | null | null | from py2gds.connection import Connection
from py2gds.queries import MatchNode
def test_create_node(graph_connection: Connection, home_page):
assert MatchNode(graph_connection, home_page).run()
| 28.428571 | 62 | 0.829146 | 26 | 199 | 6.115385 | 0.576923 | 0.125786 | 0.226415 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011236 | 0.105528 | 199 | 6 | 63 | 33.166667 | 0.882022 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.25 | false | 0 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0ca317f3cff83ad3323a41d7ea9b2e526efaf5f7 | 102 | py | Python | src/hbcomp/comp/__init__.py | zgoda/hbcomp | 0b787a05f2cd512c44363daaa560ec74cc9d6261 | [
"MIT"
] | null | null | null | src/hbcomp/comp/__init__.py | zgoda/hbcomp | 0b787a05f2cd512c44363daaa560ec74cc9d6261 | [
"MIT"
] | null | null | null | src/hbcomp/comp/__init__.py | zgoda/hbcomp | 0b787a05f2cd512c44363daaa560ec74cc9d6261 | [
"MIT"
] | null | null | null | from flask import Blueprint
comp_bp = Blueprint('comp', __name__)
from . import views # noqa: F401
| 17 | 37 | 0.735294 | 14 | 102 | 5 | 0.714286 | 0.371429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035714 | 0.176471 | 102 | 5 | 38 | 20.4 | 0.797619 | 0.098039 | 0 | 0 | 0 | 0 | 0.044444 | 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 |
0cb4af222ce2d23fbdbbf25437c3f0ae1c06f04e | 38 | py | Python | stockscrape/__init__.py | rawsashimi1604/stockscrape_v2 | 6f34da0805c50285268f56b45e0a6488ecd524ce | [
"MIT"
] | 2 | 2021-07-25T14:36:43.000Z | 2021-12-08T00:37:45.000Z | stockscrape/__init__.py | rawsashimi1604/stockscrape_v2 | 6f34da0805c50285268f56b45e0a6488ecd524ce | [
"MIT"
] | null | null | null | stockscrape/__init__.py | rawsashimi1604/stockscrape_v2 | 6f34da0805c50285268f56b45e0a6488ecd524ce | [
"MIT"
] | 1 | 2021-07-25T19:24:08.000Z | 2021-07-25T19:24:08.000Z | from stockscrape.ticker import Ticker
| 19 | 37 | 0.868421 | 5 | 38 | 6.6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 38 | 1 | 38 | 38 | 0.970588 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0b291ab519efb13580bec65bd544493aa791d1d4 | 4,842 | py | Python | tests/test_relaxation_algorithm.py | penggan666/index_selection_evaluation | b6daf1f30c24a0675f4e3acfbd17304e5d91cfd6 | [
"MIT"
] | 37 | 2020-03-03T10:59:06.000Z | 2022-03-29T11:51:37.000Z | tests/test_relaxation_algorithm.py | Jiachen-Shi/index_selection_evaluation | fb22b929cbab22377e90a12ae23ea4002d8eab7b | [
"MIT"
] | 19 | 2020-03-10T14:55:56.000Z | 2021-05-20T09:54:32.000Z | tests/test_relaxation_algorithm.py | Jiachen-Shi/index_selection_evaluation | fb22b929cbab22377e90a12ae23ea4002d8eab7b | [
"MIT"
] | 14 | 2020-08-10T03:12:40.000Z | 2022-02-28T06:08:16.000Z | import unittest
from unittest.mock import patch
from selection.algorithms.relaxation_algorithm import RelaxationAlgorithm
from selection.index import Index
from selection.workload import Workload
from tests.mock_connector import (
MockConnector,
column_A_0,
column_A_1,
mock_cache,
query_0,
quer... | 37.828125 | 88 | 0.663362 | 537 | 4,842 | 5.581006 | 0.156425 | 0.046713 | 0.034701 | 0.052052 | 0.818819 | 0.786787 | 0.781448 | 0.781448 | 0.754087 | 0.754087 | 0 | 0.036364 | 0.25031 | 4,842 | 127 | 89 | 38.125984 | 0.789256 | 0.023544 | 0 | 0.477064 | 0 | 0 | 0.074497 | 0.052487 | 0 | 0 | 0 | 0 | 0.036697 | 1 | 0.06422 | false | 0 | 0.055046 | 0 | 0.12844 | 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 |
0b3fc135803f14c4090abdc3c650c3055228c2cb | 28 | py | Python | test2.py | cryptoandrew/Python | f1a36dbc5fca3061adb42e2f9ef70d30078da6cf | [
"Apache-2.0"
] | null | null | null | test2.py | cryptoandrew/Python | f1a36dbc5fca3061adb42e2f9ef70d30078da6cf | [
"Apache-2.0"
] | null | null | null | test2.py | cryptoandrew/Python | f1a36dbc5fca3061adb42e2f9ef70d30078da6cf | [
"Apache-2.0"
] | null | null | null | print("this is a try run")
| 9.333333 | 26 | 0.642857 | 6 | 28 | 3 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.214286 | 28 | 2 | 27 | 14 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0.62963 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
0b5c9d6d015a66099bc89adc6b146a591d89f099 | 108 | py | Python | myshowsapi/exceptions.py | kreedz/myshowsapi | 55c0504ea6e58ce2144c56ee4a6af333411ff8a3 | [
"MIT"
] | 1 | 2017-07-22T03:57:23.000Z | 2017-07-22T03:57:23.000Z | myshowsapi/exceptions.py | kreedz/myshowsapi | 55c0504ea6e58ce2144c56ee4a6af333411ff8a3 | [
"MIT"
] | null | null | null | myshowsapi/exceptions.py | kreedz/myshowsapi | 55c0504ea6e58ce2144c56ee4a6af333411ff8a3 | [
"MIT"
] | null | null | null | class MyShowsException(Exception):
pass
class MyShowsRetrieveTokenErrorException(Exception):
pass
| 15.428571 | 52 | 0.796296 | 8 | 108 | 10.75 | 0.625 | 0.302326 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 108 | 6 | 53 | 18 | 0.934783 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
0b7190eebe26f69546112cc16c895eea13f55903 | 118 | py | Python | tests/functional/modules/pyi_import_pyqt_uic_port/PyQt5/uic/__init__.py | hawkhai/pyinstaller | 016a24479b34de161792c72dde455a81ad4c78ae | [
"Apache-2.0"
] | 9,267 | 2015-01-01T04:08:45.000Z | 2022-03-31T11:42:38.000Z | tests/functional/modules/pyi_import_pyqt_uic_port/PyQt5/uic/__init__.py | jeremysanders/pyinstaller | 321b24f9a9a5978337735816b36ca6b4a90a2fb4 | [
"Apache-2.0"
] | 5,150 | 2015-01-01T12:09:56.000Z | 2022-03-31T18:06:12.000Z | tests/functional/modules/pyi_import_pyqt_uic_port/PyQt5/uic/__init__.py | jeremysanders/pyinstaller | 321b24f9a9a5978337735816b36ca6b4a90a2fb4 | [
"Apache-2.0"
] | 2,101 | 2015-01-03T10:25:27.000Z | 2022-03-30T11:04:42.000Z | print('this is my faked PyQt5.uic package')
__pyinstaller_fake_module_marker__ = '__pyinstaller_fake_module_marker__'
| 39.333333 | 73 | 0.855932 | 16 | 118 | 5.4375 | 0.75 | 0.344828 | 0.482759 | 0.62069 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009174 | 0.076271 | 118 | 2 | 74 | 59 | 0.788991 | 0 | 0 | 0 | 0 | 0 | 0.576271 | 0.288136 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
0b8921ac35cfeb004bf61429a1e767221829644e | 167 | py | Python | src/test/tinc/tinctest/test/discovery/mockstorage/uao/test_smoke_uao.py | rodel-talampas/gpdb | 9c955e350334abbd922102f289f782697eb52069 | [
"PostgreSQL",
"Apache-2.0"
] | 9 | 2018-04-20T03:31:01.000Z | 2020-05-13T14:10:53.000Z | src/test/tinc/tinctest/test/discovery/mockstorage/uao/test_smoke_uao.py | rodel-talampas/gpdb | 9c955e350334abbd922102f289f782697eb52069 | [
"PostgreSQL",
"Apache-2.0"
] | 36 | 2017-09-21T09:12:27.000Z | 2020-06-17T16:40:48.000Z | src/test/tinc/tinctest/test/discovery/mockstorage/uao/test_smoke_uao.py | rodel-talampas/gpdb | 9c955e350334abbd922102f289f782697eb52069 | [
"PostgreSQL",
"Apache-2.0"
] | 32 | 2017-08-31T12:50:52.000Z | 2022-03-01T07:34:53.000Z | import tinctest
class UAOSmokeTests(tinctest.TINCTestCase):
def test_smoke_cardinality1(self):
pass
def test_smoke_cardinality2(self):
pass
| 16.7 | 43 | 0.718563 | 18 | 167 | 6.444444 | 0.666667 | 0.12069 | 0.206897 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015385 | 0.221557 | 167 | 9 | 44 | 18.555556 | 0.876923 | 0 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.333333 | 0.166667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
0ba78b8b7f043c83e4d467e0147219f957472198 | 882 | gyp | Python | deps/libgdal/gyp-formats/nitf.gyp | jimgambale/node-gdal | dc5c89fb23f1004732106250c8b7d57f380f9b61 | [
"Apache-2.0"
] | 462 | 2015-01-07T23:09:18.000Z | 2022-03-30T03:58:09.000Z | deps/libgdal/gyp-formats/nitf.gyp | jimgambale/node-gdal | dc5c89fb23f1004732106250c8b7d57f380f9b61 | [
"Apache-2.0"
] | 196 | 2015-01-07T11:10:35.000Z | 2022-03-29T08:50:30.000Z | deps/libgdal/gyp-formats/nitf.gyp | jimgambale/node-gdal | dc5c89fb23f1004732106250c8b7d57f380f9b61 | [
"Apache-2.0"
] | 113 | 2015-01-15T02:24:18.000Z | 2021-11-22T06:05:52.000Z | {
"includes": [
"../common.gypi"
],
"targets": [
{
"target_name": "libgdal_nitf_frmt",
"type": "static_library",
"sources": [
"../gdal/frmts/nitf/ecrgtocdataset.cpp",
"../gdal/frmts/nitf/mgrs.c",
"../gdal/frmts/nitf/nitf_gcprpc.cpp",
"../gdal/frmts/nitf/nitfaridpcm.cpp",
"../gdal/frm... | 25.941176 | 46 | 0.596372 | 102 | 882 | 5.088235 | 0.362745 | 0.312139 | 0.400771 | 0.277457 | 0.111753 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002692 | 0.157596 | 882 | 33 | 47 | 26.727273 | 0.695828 | 0 | 0 | 0.060606 | 0 | 0 | 0.738095 | 0.591837 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 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 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e7f8e9ac97bbcc4ac010a12e2c6d1f69f685457c | 36 | py | Python | envs/__init__.py | jairotunior/gym_go | c626ce79f4233c949787064884e806172a786a58 | [
"MIT"
] | null | null | null | envs/__init__.py | jairotunior/gym_go | c626ce79f4233c949787064884e806172a786a58 | [
"MIT"
] | null | null | null | envs/__init__.py | jairotunior/gym_go | c626ce79f4233c949787064884e806172a786a58 | [
"MIT"
] | null | null | null | from gym_go.envs.go_env import GoEnv | 36 | 36 | 0.861111 | 8 | 36 | 3.625 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 36 | 1 | 36 | 36 | 0.878788 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f03c3a835d2024c9f9c89d1deae577af2ab59e4c | 123 | py | Python | telemetry-pi/main.py | USCSolarCarStrategyTeam/driver-display | a9570f5c7ea98a966f95d6ddc32b88e22e29bd56 | [
"Apache-2.0"
] | null | null | null | telemetry-pi/main.py | USCSolarCarStrategyTeam/driver-display | a9570f5c7ea98a966f95d6ddc32b88e22e29bd56 | [
"Apache-2.0"
] | 2 | 2017-11-04T22:44:41.000Z | 2018-03-23T02:14:20.000Z | telemetry-pi/main.py | USCSolarCarStrategyTeam/telemetry-pi | a9570f5c7ea98a966f95d6ddc32b88e22e29bd56 | [
"Apache-2.0"
] | 5 | 2017-10-07T22:54:09.000Z | 2018-01-27T21:20:51.000Z | from driver.Driver import Driver
from driver.Driver import Dummy2RPMDriver
c = Driver(Dummy2RPMDriver())
print(c.getRPM()) | 24.6 | 41 | 0.804878 | 16 | 123 | 6.1875 | 0.4375 | 0.20202 | 0.323232 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018018 | 0.097561 | 123 | 5 | 42 | 24.6 | 0.873874 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0.25 | 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 |
f05803668020e4f3d55a55454a1a52684540bf84 | 9,784 | py | Python | tests/test_user.py | tappitikarrass/flask-ap | 88b97bb522474ca3dc056c209640050af74cb5dc | [
"BSD-3-Clause"
] | null | null | null | tests/test_user.py | tappitikarrass/flask-ap | 88b97bb522474ca3dc056c209640050af74cb5dc | [
"BSD-3-Clause"
] | null | null | null | tests/test_user.py | tappitikarrass/flask-ap | 88b97bb522474ca3dc056c209640050af74cb5dc | [
"BSD-3-Clause"
] | null | null | null | from app import (db)
from .conftest import (
get_last_user,
get_token,
get_json_field
)
from .test_data import (
post_user_data_200,
post_user_data_400,
update_user_data_200,
login_creds_200,
login_creds_403,
login_creds_404,
login_creds_alt_200
)
class TestUser:
class TestU... | 48.92 | 76 | 0.483647 | 925 | 9,784 | 4.781622 | 0.059459 | 0.061045 | 0.067827 | 0.141081 | 0.870224 | 0.860502 | 0.838797 | 0.806692 | 0.755144 | 0.75243 | 0 | 0.039986 | 0.432543 | 9,784 | 199 | 77 | 49.165829 | 0.756664 | 0 | 0 | 0.59596 | 0 | 0 | 0.059689 | 0 | 0 | 0 | 0 | 0 | 0.131313 | 1 | 0.131313 | false | 0 | 0.015152 | 0 | 0.186869 | 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 |
f07bb016ffe9e9b4645a678d70ba08ed4ec3569c | 148 | py | Python | proj_vis/demo_test.py | SysCV/project-template | e4e73121c61ae3d8e361b5fdfe291d6989dd1a97 | [
"Apache-2.0"
] | 2 | 2021-12-07T06:44:13.000Z | 2022-03-31T02:02:27.000Z | proj_vis/demo_test.py | SysCV/project-template | e4e73121c61ae3d8e361b5fdfe291d6989dd1a97 | [
"Apache-2.0"
] | null | null | null | proj_vis/demo_test.py | SysCV/project-template | e4e73121c61ae3d8e361b5fdfe291d6989dd1a97 | [
"Apache-2.0"
] | 1 | 2021-12-07T06:44:17.000Z | 2021-12-07T06:44:17.000Z | """An example of unit tests based on pytest."""
from .demo import add
def test_add() -> None:
"""Test add."""
assert add([1, 2, 3]) == 6
| 16.444444 | 47 | 0.574324 | 24 | 148 | 3.5 | 0.833333 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035398 | 0.236486 | 148 | 8 | 48 | 18.5 | 0.707965 | 0.344595 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6520562bbba8e4e8365d0d3982e4f1d7a3f9bcad | 2,366 | py | Python | xlib/api/win32/dxgi/structs.py | jkennedyvz/DeepFaceLive | 274c20808da089eb7fc0fc0e8abe649379a29ffe | [
"MIT"
] | 3 | 2021-12-08T08:59:50.000Z | 2022-02-08T02:54:27.000Z | xlib/api/win32/dxgi/structs.py | jkennedyvz/DeepFaceLive | 274c20808da089eb7fc0fc0e8abe649379a29ffe | [
"MIT"
] | 1 | 2022-02-08T01:29:03.000Z | 2022-02-08T01:29:03.000Z | xlib/api/win32/dxgi/structs.py | jkennedyvz/DeepFaceLive | 274c20808da089eb7fc0fc0e8abe649379a29ffe | [
"MIT"
] | 1 | 2021-12-14T09:18:15.000Z | 2021-12-14T09:18:15.000Z | import ctypes as ct
from ctypes import (POINTER, WINFUNCTYPE, byref, c_byte, c_int64,
c_longlong, c_size_t, c_ubyte, c_uint, c_uint32, c_ulong,
c_void_p, c_wchar)
class DXGI_ADAPTER_FLAG(c_uint):
DXGI_ADAPTER_FLAG_NONE = 0
DXGI_ADAPTER_FLAG_REMOTE = 1
DXGI_AD... | 38.786885 | 77 | 0.572274 | 272 | 2,366 | 4.518382 | 0.194853 | 0.117982 | 0.092758 | 0.07323 | 0.730675 | 0.730675 | 0.730675 | 0.730675 | 0.730675 | 0.730675 | 0 | 0.012979 | 0.316145 | 2,366 | 60 | 78 | 39.433333 | 0.746601 | 0 | 0 | 0.727273 | 0 | 0 | 0.097633 | 0.017751 | 0 | 0 | 0.004227 | 0 | 0 | 1 | 0.036364 | false | 0 | 0.036364 | 0 | 0.236364 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
3303b8a37a4e0fc8b241c03d7187d7c2e0c2bca3 | 80 | py | Python | __init__.py | ltoosaint24/lambdata | cbb1d89962ca5cc17eec211ccc6110083a1b888c | [
"MIT"
] | null | null | null | __init__.py | ltoosaint24/lambdata | cbb1d89962ca5cc17eec211ccc6110083a1b888c | [
"MIT"
] | null | null | null | __init__.py | ltoosaint24/lambdata | cbb1d89962ca5cc17eec211ccc6110083a1b888c | [
"MIT"
] | null | null | null |
from lambdata.ltoussaint import HFunction
from labmdata.ltoussaint import fibb
| 20 | 41 | 0.8625 | 10 | 80 | 6.9 | 0.7 | 0.463768 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1125 | 80 | 3 | 42 | 26.666667 | 0.971831 | 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 |
33525dce0f11cfa2820f3d51d615927225f24409 | 48 | py | Python | swinginghead/parser/__init__.py | isidentical-archive/swinginghead | cabce05378ee8eea71afc98ff931e227cc55f7e8 | [
"MIT"
] | 8 | 2019-04-17T17:18:16.000Z | 2019-04-21T20:37:47.000Z | swinginghead/parser/__init__.py | isidentical/swinginghead | cabce05378ee8eea71afc98ff931e227cc55f7e8 | [
"MIT"
] | null | null | null | swinginghead/parser/__init__.py | isidentical/swinginghead | cabce05378ee8eea71afc98ff931e227cc55f7e8 | [
"MIT"
] | null | null | null | from swinginghead.parser.pgen import get_parser
| 24 | 47 | 0.875 | 7 | 48 | 5.857143 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 48 | 1 | 48 | 48 | 0.931818 | 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 |
3357dda53f765f40952720ba96519c93887741ae | 31 | py | Python | AIShooter/__init__.py | SanteriHetekivi/AIShooter | f73461c9075cf5b0789679782fe21dee54f2775e | [
"Apache-2.0"
] | null | null | null | AIShooter/__init__.py | SanteriHetekivi/AIShooter | f73461c9075cf5b0789679782fe21dee54f2775e | [
"Apache-2.0"
] | null | null | null | AIShooter/__init__.py | SanteriHetekivi/AIShooter | f73461c9075cf5b0789679782fe21dee54f2775e | [
"Apache-2.0"
] | null | null | null | from .classes.Game import Game
| 15.5 | 30 | 0.806452 | 5 | 31 | 5 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 31 | 1 | 31 | 31 | 0.925926 | 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 |
3370394524cc24369b586ff5d671193f3d3a18ba | 271 | py | Python | default/modules/git.py | AshlynnInWonderland/zsh-powerline | e6f3326b3e15d8a89a0ea959314ea0ea5768ea86 | [
"MIT"
] | null | null | null | default/modules/git.py | AshlynnInWonderland/zsh-powerline | e6f3326b3e15d8a89a0ea959314ea0ea5768ea86 | [
"MIT"
] | null | null | null | default/modules/git.py | AshlynnInWonderland/zsh-powerline | e6f3326b3e15d8a89a0ea959314ea0ea5768ea86 | [
"MIT"
] | null | null | null | import subprocess as sp
#this code is disgusting and I'm ashamed of it
def returnText():
return " " + sp.check_output(['git','symbolic-ref','--quiet','HEAD'], stdin=None, stderr=sp.PIPE, shell=False, universal_newlines=False).strip().decode('utf-8').split('/')[2]
| 38.714286 | 179 | 0.690037 | 42 | 271 | 4.428571 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008299 | 0.110701 | 271 | 6 | 180 | 45.166667 | 0.759336 | 0.166052 | 0 | 0 | 0 | 0 | 0.151111 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0.333333 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
68569fa7285a20cd3c59354e26115e30d8713487 | 99 | py | Python | tests/test_myfuncs.py | Humungus-Fungus/Knito | d10a38856375286c443673b17a50feac7b0e6b3a | [
"MIT"
] | null | null | null | tests/test_myfuncs.py | Humungus-Fungus/Knito | d10a38856375286c443673b17a50feac7b0e6b3a | [
"MIT"
] | null | null | null | tests/test_myfuncs.py | Humungus-Fungus/Knito | d10a38856375286c443673b17a50feac7b0e6b3a | [
"MIT"
] | null | null | null | from pylib import myfuncs
def test_conc():
assert myfuncs.conc("hello ", "world")=="hello world"
| 19.8 | 54 | 0.717172 | 14 | 99 | 5 | 0.714286 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131313 | 99 | 4 | 55 | 24.75 | 0.813953 | 0 | 0 | 0 | 0 | 0 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
689319af485dcbc48b8242d942e0853dcad086e7 | 13,901 | py | Python | app/python/testing/modules_and_functions/test_enrichment.py | RadjaHachilif/agotool | 2fcc3fd5a156053b528ec927bab79ddaf7af2dec | [
"MIT"
] | 6 | 2016-04-14T11:47:43.000Z | 2022-01-29T14:34:59.000Z | app/python/testing/modules_and_functions/test_enrichment.py | RadjaHachilif/agotool | 2fcc3fd5a156053b528ec927bab79ddaf7af2dec | [
"MIT"
] | 2 | 2019-12-21T12:15:46.000Z | 2021-01-08T12:22:17.000Z | app/python/testing/modules_and_functions/test_enrichment.py | RadjaHachilif/agotool | 2fcc3fd5a156053b528ec927bab79ddaf7af2dec | [
"MIT"
] | 1 | 2021-03-04T10:26:18.000Z | 2021-03-04T10:26:18.000Z | import sys, os
# sys.path.insert(0, os.path.dirname(os.path.abspath(os.path.realpath(__file__))))
sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(os.path.realpath(__file__)), "../.."))) # to get to python directory
import pytest
import requests
import ast
import variables, ratio, query, userinput, enr... | 55.162698 | 174 | 0.680527 | 1,655 | 13,901 | 5.283988 | 0.118429 | 0.030875 | 0.033047 | 0.027444 | 0.814751 | 0.783533 | 0.755975 | 0.729903 | 0.724414 | 0.701315 | 0 | 0.008823 | 0.23358 | 13,901 | 251 | 175 | 55.38247 | 0.811995 | 0.381483 | 0 | 0.610687 | 0 | 0 | 0.059076 | 0 | 0 | 0 | 0 | 0 | 0.129771 | 1 | 0.053435 | false | 0 | 0.038168 | 0.007634 | 0.099237 | 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 |
68ae1670ea9c9343f3f5fd6a56a121bbcd844794 | 43 | py | Python | conf/gunicorn.conf.py | rodrigoalveslima/buzzblog | 2b301ee363fbbebbe0ee31b1bf9538811d97b293 | [
"Apache-2.0"
] | null | null | null | conf/gunicorn.conf.py | rodrigoalveslima/buzzblog | 2b301ee363fbbebbe0ee31b1bf9538811d97b293 | [
"Apache-2.0"
] | null | null | null | conf/gunicorn.conf.py | rodrigoalveslima/buzzblog | 2b301ee363fbbebbe0ee31b1bf9538811d97b293 | [
"Apache-2.0"
] | null | null | null | bind = "0.0.0.0:81"
workers = 1
threads = 4 | 14.333333 | 19 | 0.604651 | 10 | 43 | 2.6 | 0.7 | 0.230769 | 0.230769 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.228571 | 0.186047 | 43 | 3 | 20 | 14.333333 | 0.514286 | 0 | 0 | 0 | 0 | 0 | 0.227273 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d7aa153d1c850a71f6578e1a009d842b0a81509e | 5,663 | py | Python | src/msob_and_fp/compare_avoid_dep.py | paulnikolaus/snc-mgf-toolbox | bda07fedd92657628dd34e00911b344ee3535dad | [
"MIT"
] | 3 | 2020-06-01T14:46:15.000Z | 2022-03-24T15:02:03.000Z | src/msob_and_fp/compare_avoid_dep.py | paulnikolaus/snc-mgf-toolbox | bda07fedd92657628dd34e00911b344ee3535dad | [
"MIT"
] | null | null | null | src/msob_and_fp/compare_avoid_dep.py | paulnikolaus/snc-mgf-toolbox | bda07fedd92657628dd34e00911b344ee3535dad | [
"MIT"
] | null | null | null | """Compare standard standard_bound with negative dependence."""
from timeit import default_timer as timer
from typing import Tuple
from nc_operations.perform_enum import PerformEnum
from optimization.optimize import Optimize
from msob_and_fp.optimize_fp_bound import OptimizeFPBound
from msob_and_fp.optimize_server_b... | 36.301282 | 80 | 0.603214 | 657 | 5,663 | 4.861492 | 0.130898 | 0.068879 | 0.015028 | 0.075141 | 0.745773 | 0.713525 | 0.705698 | 0.705698 | 0.705698 | 0.705698 | 0 | 0.030984 | 0.316087 | 5,663 | 155 | 81 | 36.535484 | 0.7937 | 0.0641 | 0 | 0.707547 | 0 | 0 | 0.001517 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.037736 | false | 0 | 0.103774 | 0 | 0.179245 | 0.084906 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d7b4b93ccd6d84cc53de0814d0e12fb6f26958eb | 51 | py | Python | Templates/FuncApp-Http-Py-OptionB/ToolsB/__init__.py | mmaysami/azure-functions-python | e97b29204af83bc1fc81b886f841fe7b7bc0c8a3 | [
"MIT"
] | null | null | null | Templates/FuncApp-Http-Py-OptionB/ToolsB/__init__.py | mmaysami/azure-functions-python | e97b29204af83bc1fc81b886f841fe7b7bc0c8a3 | [
"MIT"
] | null | null | null | Templates/FuncApp-Http-Py-OptionB/ToolsB/__init__.py | mmaysami/azure-functions-python | e97b29204af83bc1fc81b886f841fe7b7bc0c8a3 | [
"MIT"
] | null | null | null | from .toolsB_F1 import *
from .toolsB_F2 import *
| 17 | 25 | 0.745098 | 8 | 51 | 4.5 | 0.625 | 0.555556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.047619 | 0.176471 | 51 | 2 | 26 | 25.5 | 0.809524 | 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 |
d7c39fdb8f7963477d7863fcb36cd1338da006de | 27 | py | Python | src/euler_python_package/euler_python/medium/p242.py | wilsonify/euler | 5214b776175e6d76a7c6d8915d0e062d189d9b79 | [
"MIT"
] | null | null | null | src/euler_python_package/euler_python/medium/p242.py | wilsonify/euler | 5214b776175e6d76a7c6d8915d0e062d189d9b79 | [
"MIT"
] | null | null | null | src/euler_python_package/euler_python/medium/p242.py | wilsonify/euler | 5214b776175e6d76a7c6d8915d0e062d189d9b79 | [
"MIT"
] | null | null | null | def problem242():
pass
| 9 | 17 | 0.62963 | 3 | 27 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 0.259259 | 27 | 2 | 18 | 13.5 | 0.7 | 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 |
d7d6d57a0792cdd710f4d32fb3f297e39b1ff310 | 140 | py | Python | quickforex/logger.py | jean-edouard-boulanger/python-quickforex | be95a795719f8bb77eceeb543d2ab963182b3f56 | [
"MIT"
] | null | null | null | quickforex/logger.py | jean-edouard-boulanger/python-quickforex | be95a795719f8bb77eceeb543d2ab963182b3f56 | [
"MIT"
] | null | null | null | quickforex/logger.py | jean-edouard-boulanger/python-quickforex | be95a795719f8bb77eceeb543d2ab963182b3f56 | [
"MIT"
] | null | null | null | import logging
logger = logging.getLogger("quickforex")
def get_module_logger(name) -> logging.Logger:
return logger.getChild(name)
| 15.555556 | 46 | 0.757143 | 17 | 140 | 6.117647 | 0.647059 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135714 | 140 | 8 | 47 | 17.5 | 0.859504 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
040c3c3833d191f29bf4e8657fbf028d00a0eeeb | 113 | py | Python | mmdet/version.py | Ixuanzhang/mmdet | a8f8397e49e3091f23262f8ace9641ee2c6be746 | [
"Apache-2.0"
] | null | null | null | mmdet/version.py | Ixuanzhang/mmdet | a8f8397e49e3091f23262f8ace9641ee2c6be746 | [
"Apache-2.0"
] | null | null | null | mmdet/version.py | Ixuanzhang/mmdet | a8f8397e49e3091f23262f8ace9641ee2c6be746 | [
"Apache-2.0"
] | null | null | null | # GENERATED VERSION FILE
# TIME: Sun Mar 15 12:04:43 2020
__version__ = '1.1.0+unknown'
short_version = '1.1.0'
| 18.833333 | 32 | 0.699115 | 21 | 113 | 3.52381 | 0.714286 | 0.216216 | 0.243243 | 0.27027 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.189474 | 0.159292 | 113 | 5 | 33 | 22.6 | 0.589474 | 0.469027 | 0 | 0 | 1 | 0 | 0.315789 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
041eebc6ce6e76f888cba92674a702776a2fc0a5 | 30 | py | Python | thglibs/dos/__init__.py | darkcode357/thg_lib | c1052bcd85f705ff8be404b7a28964eabef2ed45 | [
"MIT"
] | null | null | null | thglibs/dos/__init__.py | darkcode357/thg_lib | c1052bcd85f705ff8be404b7a28964eabef2ed45 | [
"MIT"
] | 52 | 2018-10-25T20:29:17.000Z | 2018-10-25T20:45:02.000Z | thglibs/dos/__init__.py | darkcode357/thg_lib | c1052bcd85f705ff8be404b7a28964eabef2ed45 | [
"MIT"
] | null | null | null | from .brainiac_dos import DOS
| 15 | 29 | 0.833333 | 5 | 30 | 4.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 30 | 1 | 30 | 30 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
043d5ad4afa1555845eaf7b0b6f21a92270f0c15 | 24,096 | py | Python | API/feowl-api/feowl/tests.py | jplusplus/feowl | f6278d41329f911f30760cb21a387c1cc9fa7a83 | [
"Apache-2.0"
] | null | null | null | API/feowl-api/feowl/tests.py | jplusplus/feowl | f6278d41329f911f30760cb21a387c1cc9fa7a83 | [
"Apache-2.0"
] | null | null | null | API/feowl-api/feowl/tests.py | jplusplus/feowl | f6278d41329f911f30760cb21a387c1cc9fa7a83 | [
"Apache-2.0"
] | null | null | null | from django.test.client import Client
from models import PowerReport, Area, Contributor, Device
from django.contrib.auth.models import User, Permission
from tastypie_test import ResourceTestCase
from django.db import models
from tastypie.models import create_api_key
import json
from django.conf import settings
models.... | 50.942918 | 633 | 0.678909 | 3,201 | 24,096 | 4.982818 | 0.07935 | 0.016928 | 0.023824 | 0.046144 | 0.872414 | 0.828777 | 0.794859 | 0.76815 | 0.756928 | 0.739687 | 0 | 0.022005 | 0.198456 | 24,096 | 472 | 634 | 51.050847 | 0.803821 | 0.225058 | 0 | 0.581633 | 0 | 0.006803 | 0.164736 | 0.06026 | 0 | 0 | 0 | 0 | 0.29932 | 1 | 0.197279 | false | 0.037415 | 0.027211 | 0.013605 | 0.255102 | 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 |
f08ede78472e08b68a663cd50956771e9b1345ea | 44 | py | Python | testpy.py | hasanhamidi/Pointnet2_PyTorch | 50aa86337eb13adcec6ce865e5af4ab70852ace8 | [
"Unlicense"
] | null | null | null | testpy.py | hasanhamidi/Pointnet2_PyTorch | 50aa86337eb13adcec6ce865e5af4ab70852ace8 | [
"Unlicense"
] | null | null | null | testpy.py | hasanhamidi/Pointnet2_PyTorch | 50aa86337eb13adcec6ce865e5af4ab70852ace8 | [
"Unlicense"
] | null | null | null | print("_".join("Area_4_bb".split("_")[0:2])) | 44 | 44 | 0.613636 | 8 | 44 | 2.875 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068182 | 0 | 44 | 1 | 44 | 44 | 0.454545 | 0 | 0 | 0 | 0 | 0 | 0.244444 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
f09bd9eb918a19106463ea390760706557ba5bec | 4,107 | py | Python | Code/.ipynb_checkpoints/CCS3_Cleanup_Table-checkpoint.py | arpanganguli/Snapshot_of_Indian_Economy | ff7301cdc2850b426cedad9b92be723e92a4f45a | [
"MIT"
] | null | null | null | Code/.ipynb_checkpoints/CCS3_Cleanup_Table-checkpoint.py | arpanganguli/Snapshot_of_Indian_Economy | ff7301cdc2850b426cedad9b92be723e92a4f45a | [
"MIT"
] | null | null | null | Code/.ipynb_checkpoints/CCS3_Cleanup_Table-checkpoint.py | arpanganguli/Snapshot_of_Indian_Economy | ff7301cdc2850b426cedad9b92be723e92a4f45a | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Tue Apr 20 18:50:34 2021
@author: arpanganguli
"""
# import packages
import pandas as pd
from sqlalchemy import create_engine
import os
# import files
HOME = os.path.dirname(os.getcwd())
URL = 'sqlite:///' + os.path.join(HOME, 'Database/CCS.db')
engine =... | 49.481928 | 156 | 0.58242 | 458 | 4,107 | 5.19214 | 0.255459 | 0.094197 | 0.087468 | 0.114382 | 0.746846 | 0.746846 | 0.746846 | 0.746846 | 0.718251 | 0.718251 | 0 | 0.005435 | 0.327977 | 4,107 | 82 | 157 | 50.085366 | 0.856159 | 0.097882 | 0 | 0.738462 | 0 | 0 | 0.561551 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.046154 | 0 | 0.046154 | 0.030769 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f0f22c1b90c9f47fa013c70b2990e4d84631a8ff | 328 | py | Python | target_extraction/__init__.py | apmoore1/target-extraction | 4139ecdc432411fcc4ed2723f4165e7dae93544d | [
"Apache-2.0"
] | 5 | 2019-07-27T13:57:47.000Z | 2021-06-16T13:17:44.000Z | target_extraction/__init__.py | apmoore1/target-extraction | 4139ecdc432411fcc4ed2723f4165e7dae93544d | [
"Apache-2.0"
] | 26 | 2019-05-01T11:56:35.000Z | 2020-06-18T16:06:40.000Z | target_extraction/__init__.py | apmoore1/target-extraction | 4139ecdc432411fcc4ed2723f4165e7dae93544d | [
"Apache-2.0"
] | 1 | 2019-07-11T07:16:09.000Z | 2019-07-11T07:16:09.000Z | from target_extraction import data_types, data_types_util
from target_extraction import tokenizers, pos_taggers, taggers_helper
from target_extraction import dataset_parsers
from target_extraction import allen
from target_extraction import analysis
# Required to import LanguageModelTokenEmbedder
from allennlp_models i... | 41 | 69 | 0.890244 | 43 | 328 | 6.511628 | 0.488372 | 0.178571 | 0.357143 | 0.464286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097561 | 328 | 8 | 70 | 41 | 0.945946 | 0.137195 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f0f2f83256755222a218b7a124ff42997f08582f | 5,041 | py | Python | QUANTAXIS_Test/QAFetch_Test/QAQuery_Option_Test.py | Sinovel/QUANTAXIS | 97f1ea2140f58c92ff5c84b851886d9eda1f9ac3 | [
"MIT"
] | 14 | 2021-01-11T02:19:26.000Z | 2022-02-02T04:16:08.000Z | QUANTAXIS_Test/QAFetch_Test/QAQuery_Option_Test.py | Sinovel/QUANTAXIS | 97f1ea2140f58c92ff5c84b851886d9eda1f9ac3 | [
"MIT"
] | 2 | 2019-12-25T09:24:47.000Z | 2020-01-13T07:33:50.000Z | QUANTAXIS_Test/QAFetch_Test/QAQuery_Option_Test.py | Sinovel/QUANTAXIS | 97f1ea2140f58c92ff5c84b851886d9eda1f9ac3 | [
"MIT"
] | 8 | 2021-01-16T09:43:30.000Z | 2022-02-02T04:16:12.000Z | import unittest
import pprint
from QUANTAXIS import QUANTAXIS as QA
from QUANTAXIS.QAUtil.QADate import *
from QUANTAXIS.QAUtil.QADate_trade import *
from QUANTAXIS.QAFetch.QATdx import (QA_fetch_get_option_contract_time_to_market)
from QUANTAXIS.QAFetch.QATdx import (QA_fetch_get_commodity_option_M_contract_time_to_... | 33.606667 | 113 | 0.631621 | 608 | 5,041 | 4.904605 | 0.131579 | 0.056338 | 0.080483 | 0.100604 | 0.813883 | 0.806506 | 0.790074 | 0.773977 | 0.758216 | 0.758216 | 0 | 0.028959 | 0.253323 | 5,041 | 149 | 114 | 33.832215 | 0.763284 | 0.062488 | 0 | 0.628866 | 0 | 0 | 0.059698 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.113402 | false | 0.020619 | 0.154639 | 0 | 0.278351 | 0.360825 | 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 |
ac8f114b25d249a18d6b5a4c7b4a078aa6bfa438 | 5,535 | py | Python | MDAF/TestFunctions/Alpine.py | ejeanboris/MDAF_COMPLETE | e99c9762ea7304acc0a6795d33a55449a9800d89 | [
"CC0-1.0"
] | 1 | 2020-12-30T23:04:51.000Z | 2020-12-30T23:04:51.000Z | MDAF/TestFunctions/Alpine.py | ejeanboris/MDAF_COMPLETE | e99c9762ea7304acc0a6795d33a55449a9800d89 | [
"CC0-1.0"
] | null | null | null | MDAF/TestFunctions/Alpine.py | ejeanboris/MDAF_COMPLETE | e99c9762ea7304acc0a6795d33a55449a9800d89 | [
"CC0-1.0"
] | null | null | null | import math
def main(args):
'''
>>> (main([0,0]) - 0)<0.001
True
#_# dimmensions: 2
#_# upper: 10
#_# lower: -10
#_# minimum: [0,0]
#_# opti: 0
#_# cm_angle: array([[1.51864326e+00], [5.34186818e-01], [1.13769921e+00], [6.01461615e-01], [1.04599092e+02], [4... | 138.375 | 1,511 | 0.405962 | 594 | 5,535 | 3.720539 | 0.333333 | 0.024434 | 0.032579 | 0.029864 | 0.167421 | 0.124887 | 0.115837 | 0.115837 | 0.115837 | 0.115837 | 0 | 0.535641 | 0.384101 | 5,535 | 39 | 1,512 | 141.923077 | 0.112643 | 0.971816 | 0 | 0 | 0 | 0 | 0.043011 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.285714 | 0 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
acc3e0f8eb5031e1626aaf3486f04c548570281d | 44 | py | Python | avalanche/training/plugins/strategy_plugin.py | coreylowman/avalanche | 9c1e7765f1577c400ec0c57260221bcffd9566a2 | [
"MIT"
] | 1 | 2021-09-15T13:57:27.000Z | 2021-09-15T13:57:27.000Z | avalanche/training/plugins/strategy_plugin.py | coreylowman/avalanche | 9c1e7765f1577c400ec0c57260221bcffd9566a2 | [
"MIT"
] | null | null | null | avalanche/training/plugins/strategy_plugin.py | coreylowman/avalanche | 9c1e7765f1577c400ec0c57260221bcffd9566a2 | [
"MIT"
] | null | null | null | from avalanche.core import SupervisedPlugin
| 22 | 43 | 0.886364 | 5 | 44 | 7.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 44 | 1 | 44 | 44 | 0.975 | 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 |
acea80043678f69a92cea2bd1992b736973083a7 | 246 | py | Python | bats/__init__.py | nalzok/BATS.py | d2c6c0bbec547fe48f13a62e23d41ff040b48796 | [
"MIT"
] | 2 | 2020-10-29T19:40:54.000Z | 2021-04-13T22:00:55.000Z | bats/__init__.py | nalzok/BATS.py | d2c6c0bbec547fe48f13a62e23d41ff040b48796 | [
"MIT"
] | 3 | 2020-04-25T00:50:50.000Z | 2021-07-02T15:27:03.000Z | bats/__init__.py | nalzok/BATS.py | d2c6c0bbec547fe48f13a62e23d41ff040b48796 | [
"MIT"
] | 1 | 2021-06-28T16:23:37.000Z | 2021-06-28T16:23:37.000Z | from ._version import __version__
from .topology import *
from .dense import *
from .linalg import *
from .linalg_f2 import *
from .linalg_f3 import *
from .linalg_auto import *
from .visualization import persistence_diagram, persistence_barcode
| 27.333333 | 67 | 0.804878 | 32 | 246 | 5.875 | 0.40625 | 0.319149 | 0.340426 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00939 | 0.134146 | 246 | 8 | 68 | 30.75 | 0.873239 | 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 |
c5a1a2c09a5bd214ab6ebccd45d119efe9e5b352 | 107 | py | Python | schedules/Errors.py | YishaiYosifov/schedules | a13f7b1b31163b67fddf1036e3cfdc9071031132 | [
"MIT"
] | null | null | null | schedules/Errors.py | YishaiYosifov/schedules | a13f7b1b31163b67fddf1036e3cfdc9071031132 | [
"MIT"
] | null | null | null | schedules/Errors.py | YishaiYosifov/schedules | a13f7b1b31163b67fddf1036e3cfdc9071031132 | [
"MIT"
] | null | null | null | class Errors():
class RangeError(Exception):
pass
class AsyncError(Exception):
pass | 21.4 | 32 | 0.626168 | 10 | 107 | 6.7 | 0.6 | 0.38806 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.28972 | 107 | 5 | 33 | 21.4 | 0.881579 | 0 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.4 | 0 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
c5d4f69e4088766789c2e26266a4c0f80e2416fb | 78 | py | Python | 6 kyu/Diff That Poly.py | mwk0408/codewars_solutions | 9b4f502b5f159e68024d494e19a96a226acad5e5 | [
"MIT"
] | 6 | 2020-09-03T09:32:25.000Z | 2020-12-07T04:10:01.000Z | 6 kyu/Diff That Poly.py | mwk0408/codewars_solutions | 9b4f502b5f159e68024d494e19a96a226acad5e5 | [
"MIT"
] | 1 | 2021-12-13T15:30:21.000Z | 2021-12-13T15:30:21.000Z | 6 kyu/Diff That Poly.py | mwk0408/codewars_solutions | 9b4f502b5f159e68024d494e19a96a226acad5e5 | [
"MIT"
] | null | null | null | def diff(poly):
return [j*(len(poly)-1-i) for i,j in enumerate(poly[:-1])] | 39 | 62 | 0.615385 | 16 | 78 | 3 | 0.6875 | 0.208333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.029851 | 0.141026 | 78 | 2 | 62 | 39 | 0.686567 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 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 |
a870de5eb58d917152a3f2ff7315049917379a0a | 344 | py | Python | modules/tests/test_weather.py | rampreeth/JARVIS-on-Messenger | 414d0440f111cffb457707b62f0d022512ced6c4 | [
"MIT"
] | 1,465 | 2016-04-19T02:04:51.000Z | 2022-03-31T03:40:14.000Z | modules/tests/test_weather.py | rampreeth/JARVIS-on-Messenger | 414d0440f111cffb457707b62f0d022512ced6c4 | [
"MIT"
] | 529 | 2016-04-20T03:40:43.000Z | 2022-02-03T12:37:05.000Z | modules/tests/test_weather.py | rampreeth/JARVIS-on-Messenger | 414d0440f111cffb457707b62f0d022512ced6c4 | [
"MIT"
] | 1,407 | 2016-04-19T02:16:38.000Z | 2022-03-30T14:24:41.000Z | import modules
def test_weather():
assert ('weather' == modules.process_query('tell me the weather in London')[0])
assert ('weather' == modules.process_query('weather Delhi')[0])
assert ('weather' == modules.process_query('What\'s the weather in Texas?')[0])
assert ('weather' != modules.process_query(... | 38.222222 | 83 | 0.688953 | 45 | 344 | 5.155556 | 0.444444 | 0.224138 | 0.344828 | 0.465517 | 0.564655 | 0.426724 | 0 | 0 | 0 | 0 | 0 | 0.013559 | 0.142442 | 344 | 8 | 84 | 43 | 0.772881 | 0 | 0 | 0 | 0 | 0 | 0.264535 | 0 | 0 | 0 | 0 | 0 | 0.666667 | 1 | 0.166667 | true | 0 | 0.166667 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a8a7b1f81a18164cb02edc013dacf5c2a8fc48e2 | 24 | py | Python | tests/build/scipy/scipy/_build_utils/__init__.py | crougeux/-a-i_v1.6.3_modif | b499a812e79f335d082d3f9b1070e0465ad67bab | [
"BSD-3-Clause"
] | 26 | 2018-02-14T23:52:58.000Z | 2021-08-16T13:50:03.000Z | tests/build/scipy/scipy/_build_utils/__init__.py | crougeux/-a-i_v1.6.3_modif | b499a812e79f335d082d3f9b1070e0465ad67bab | [
"BSD-3-Clause"
] | 5 | 2021-03-19T08:36:48.000Z | 2022-01-13T01:52:34.000Z | tests/build/scipy/scipy/_build_utils/__init__.py | crougeux/-a-i_v1.6.3_modif | b499a812e79f335d082d3f9b1070e0465ad67bab | [
"BSD-3-Clause"
] | 10 | 2018-08-13T19:38:39.000Z | 2020-04-19T03:02:00.000Z | from ._fortran import *
| 12 | 23 | 0.75 | 3 | 24 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 24 | 1 | 24 | 24 | 0.85 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a8b28c37fc7b8a88683a42e9e1e1c0d582934ed8 | 21,414 | py | Python | pdf4me/Pdf4mePythonClientApiTest/unittests/pdfA_client_test.py | pdf4me/pdf4me-clientapi-python | 17a1c1baae861369084d658475be56be42ca92d0 | [
"MIT"
] | 1 | 2020-06-30T22:18:17.000Z | 2020-06-30T22:18:17.000Z | pdf4me/Pdf4mePythonClientApiTest/unittests/pdfA_client_test.py | pdf4me/pdf4me-clientapi-python | 17a1c1baae861369084d658475be56be42ca92d0 | [
"MIT"
] | null | null | null | pdf4me/Pdf4mePythonClientApiTest/unittests/pdfA_client_test.py | pdf4me/pdf4me-clientapi-python | 17a1c1baae861369084d658475be56be42ca92d0 | [
"MIT"
] | 1 | 2018-07-10T17:40:37.000Z | 2018-07-10T17:40:37.000Z | import sys
sys.path.append('../../Pdf4mePythonClientApi')
sys.path.append('../../Pdf4mePythonClientApiTest')
import unittest
from nose.tools import assert_raises, assert_equal
from pdf4me.client.pdf4me_client import Pdf4meClient
from pdf4me.client.pdfA_client import PdfAClient
from pdf4me.helper.file_reader import ... | 32.843558 | 183 | 0.662651 | 2,486 | 21,414 | 5.390587 | 0.042237 | 0.041042 | 0.055369 | 0.04537 | 0.86307 | 0.858966 | 0.83934 | 0.824789 | 0.810835 | 0.769943 | 0 | 0.004192 | 0.253713 | 21,414 | 651 | 184 | 32.894009 | 0.834366 | 0.095872 | 0 | 0.554688 | 0 | 0 | 0.063481 | 0.003015 | 0 | 0 | 0 | 0 | 0.21875 | 1 | 0.143229 | false | 0.015625 | 0.026042 | 0 | 0.200521 | 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 |
764a396e497210818b3b8a9378f28b1be8c49da3 | 6,239 | py | Python | tests/actions/test_move.py | tank0226/organize | d5595a52f06ea6c805fe421dcc2429a3ccd03b09 | [
"MIT"
] | 1,231 | 2018-01-13T17:06:24.000Z | 2022-03-31T22:14:36.000Z | tests/todo/todo_move.py | ytzhangFTD/organize | 706992385b1e4063cf5eb574511c49263dcc17b5 | [
"MIT"
] | 170 | 2018-03-13T19:15:17.000Z | 2022-03-31T10:14:15.000Z | tests/todo/todo_move.py | ytzhangFTD/organize | 706992385b1e4063cf5eb574511c49263dcc17b5 | [
"MIT"
] | 86 | 2018-03-14T02:12:49.000Z | 2022-03-27T00:16:07.000Z | import os
from organize.actions import Move
from pathlib import Path
from organize.utils import DotDict
USER_DIR = os.path.expanduser("~")
ARGS = DotDict(basedir=Path.home(), path=Path.home() / "test.py", simulate=False)
def test_tilde_expansion(mock_exists, mock_samefile, mock_move, mock_trash, mock_mkdir):
m... | 36.48538 | 88 | 0.713255 | 908 | 6,239 | 4.596916 | 0.085903 | 0.071874 | 0.111164 | 0.063728 | 0.860565 | 0.842357 | 0.842357 | 0.830379 | 0.804983 | 0.788213 | 0 | 0.001338 | 0.161404 | 6,239 | 170 | 89 | 36.7 | 0.796445 | 0 | 0 | 0.634483 | 0 | 0 | 0.06812 | 0.006251 | 0 | 0 | 0 | 0 | 0.372414 | 1 | 0.075862 | false | 0 | 0.027586 | 0 | 0.103448 | 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 |
4f17b93fa6cf1894584ca01717a6e7f199d0dab5 | 647 | py | Python | bireme/main/decorators.py | viniciusandrade/fi-admin-fork | 5187af08d1424f275222422ed12f9e54c14caa5b | [
"MIT",
"Python-2.0",
"Apache-2.0",
"BSD-3-Clause"
] | 5 | 2016-04-08T19:45:25.000Z | 2022-03-24T16:56:49.000Z | bireme/main/decorators.py | viniciusandrade/fi-admin-fork | 5187af08d1424f275222422ed12f9e54c14caa5b | [
"MIT",
"Python-2.0",
"Apache-2.0",
"BSD-3-Clause"
] | 1,214 | 2015-03-10T14:47:10.000Z | 2022-03-31T12:15:05.000Z | bireme/main/decorators.py | viniciusandrade/fi-admin-fork | 5187af08d1424f275222422ed12f9e54c14caa5b | [
"MIT",
"Python-2.0",
"Apache-2.0",
"BSD-3-Clause"
] | 7 | 2015-06-01T17:58:22.000Z | 2021-09-29T12:34:19.000Z | from django.http import HttpResponseForbidden
from functools import wraps
def advanced_permission(method):
@wraps(method)
def wrapper(request, *args, **kwargs):
user = request.user
if not user.is_superuser and user.profile.type == "basic":
return HttpResponseForbidden()
re... | 26.958333 | 66 | 0.666151 | 70 | 647 | 6.1 | 0.357143 | 0.103045 | 0.159251 | 0.126464 | 0.740047 | 0.740047 | 0.740047 | 0.740047 | 0.740047 | 0.416862 | 0 | 0 | 0.239567 | 647 | 24 | 67 | 26.958333 | 0.867886 | 0 | 0 | 0.666667 | 0 | 0 | 0.007716 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.111111 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
4f3fd72a146a443c510cae4d21c42dc46ddafd13 | 5,297 | py | Python | tests/test_utils.py | doctorlard/nikola | d6dd2fc4af6fa0d92dfda500393bbd235b60df2a | [
"MIT"
] | 1 | 2015-12-14T21:38:33.000Z | 2015-12-14T21:38:33.000Z | tests/test_utils.py | doctorlard/nikola | d6dd2fc4af6fa0d92dfda500393bbd235b60df2a | [
"MIT"
] | 1 | 2019-08-18T13:37:20.000Z | 2019-08-18T16:09:08.000Z | tests/test_utils.py | doctorlard/nikola | d6dd2fc4af6fa0d92dfda500393bbd235b60df2a | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
import unittest
import mock
from nikola.post import get_meta
class dummy(object):
pass
class GetMetaTest(unittest.TestCase):
def test_getting_metadata_from_content(self):
file_metadata = [".. title: Nikola needs more tests!\n",
... | 38.384058 | 89 | 0.572588 | 631 | 5,297 | 4.614897 | 0.136292 | 0.082418 | 0.021978 | 0.027473 | 0.823832 | 0.812157 | 0.796703 | 0.777473 | 0.745536 | 0.717033 | 0 | 0.037027 | 0.2862 | 5,297 | 137 | 90 | 38.664234 | 0.733139 | 0.003965 | 0 | 0.682243 | 0 | 0.009346 | 0.258058 | 0.071862 | 0 | 0 | 0 | 0 | 0.261682 | 1 | 0.056075 | false | 0.009346 | 0.037383 | 0 | 0.11215 | 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 |
4f7d343c75f75aa722fcdea561f93b13caf2fecd | 7 | py | Python | Random-Programs/dev/games/terminal/testenviroment.py | naumoff0/Archive | d4ad2da89abb1576dd5a7c72ded6bf9b45c3f610 | [
"MIT"
] | null | null | null | Random-Programs/dev/games/terminal/testenviroment.py | naumoff0/Archive | d4ad2da89abb1576dd5a7c72ded6bf9b45c3f610 | [
"MIT"
] | null | null | null | Random-Programs/dev/games/terminal/testenviroment.py | naumoff0/Archive | d4ad2da89abb1576dd5a7c72ded6bf9b45c3f610 | [
"MIT"
] | null | null | null | ±C;j= | 7 | 7 | 0.285714 | 4 | 7 | 1.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 | 1 | 7 | 7 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 1 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
96c37fe3f975b60c420f3029f2ed04a81740e2e3 | 215 | py | Python | students/K33422/practical_works/Chanova_Sofya/simple_django_web_project/django_project_chanova/project_first_app/admin.py | ShubhamKunal/ITMO_ICT_WebDevelopment_2020-2021 | bb91c91a56d21cec2b12ae4cc722eaa652a88420 | [
"MIT"
] | 4 | 2020-09-03T15:41:42.000Z | 2021-12-24T15:28:20.000Z | students/K33422/practical_works/Chanova_Sofya/simple_django_web_project/django_project_chanova/project_first_app/admin.py | ShubhamKunal/ITMO_ICT_WebDevelopment_2020-2021 | bb91c91a56d21cec2b12ae4cc722eaa652a88420 | [
"MIT"
] | 48 | 2020-09-13T20:22:42.000Z | 2021-04-30T11:13:30.000Z | students/K33422/practical_works/Chanova_Sofya/simple_django_web_project/django_project_chanova/project_first_app/admin.py | ShubhamKunal/ITMO_ICT_WebDevelopment_2020-2021 | bb91c91a56d21cec2b12ae4cc722eaa652a88420 | [
"MIT"
] | 69 | 2020-09-06T10:32:37.000Z | 2021-11-28T18:13:17.000Z | from django.contrib import admin
from .models import Owner, Car, CarOwnership, DriverLicense
admin.site.register(Owner)
admin.site.register(Car)
admin.site.register(CarOwnership)
admin.site.register(DriverLicense)
| 26.875 | 59 | 0.827907 | 28 | 215 | 6.357143 | 0.428571 | 0.202247 | 0.382022 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074419 | 215 | 7 | 60 | 30.714286 | 0.894472 | 0 | 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 |
96f0e215719e1b2faa534bcb1c3c2ce7fb1e8bc6 | 203 | py | Python | examples/admin.py | dashdrum/django-reportview | 617166b0c923fadebe5dcea1e73e598ca5a46d1c | [
"NCSA"
] | 7 | 2015-09-17T19:24:19.000Z | 2017-03-08T17:13:49.000Z | examples/admin.py | dashdrum/django-reportview | 617166b0c923fadebe5dcea1e73e598ca5a46d1c | [
"NCSA"
] | null | null | null | examples/admin.py | dashdrum/django-reportview | 617166b0c923fadebe5dcea1e73e598ca5a46d1c | [
"NCSA"
] | null | null | null | from models import Author, Book, Publisher, Store
from django.contrib import admin
admin.site.register(Author)
admin.site.register(Book)
admin.site.register(Publisher)
admin.site.register(Store)
| 25.375 | 50 | 0.788177 | 28 | 203 | 5.714286 | 0.428571 | 0.225 | 0.425 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1133 | 203 | 7 | 51 | 29 | 0.888889 | 0 | 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 |
8c16e3a1a65a4ecb5a6bce6391818d72b2aab497 | 23,823 | py | Python | movie_debug.py | RenqinCai/KDD19-CoSTCo | cc19c4b029e55af1c6b2a4d60d96cb8048f22d90 | [
"MIT"
] | null | null | null | movie_debug.py | RenqinCai/KDD19-CoSTCo | cc19c4b029e55af1c6b2a4d60d96cb8048f22d90 | [
"MIT"
] | null | null | null | movie_debug.py | RenqinCai/KDD19-CoSTCo | cc19c4b029e55af1c6b2a4d60d96cb8048f22d90 | [
"MIT"
] | null | null | null | import os
import json
import torch
import numpy as np
from torch.utils.data import Dataset
import pandas as pd
import argparse
import copy
from collections import Counter
from nltk.tokenize import TweetTokenizer
import gensim
import random
class _MOVIE(Dataset):
def __init__(self, args, vocab_obj, df, boa_item_di... | 38.239165 | 350 | 0.64358 | 3,521 | 23,823 | 3.84067 | 0.047146 | 0.045108 | 0.045552 | 0.017748 | 0.846114 | 0.803002 | 0.758929 | 0.748798 | 0.71249 | 0.709754 | 0 | 0.002997 | 0.257566 | 23,823 | 622 | 351 | 38.300643 | 0.761576 | 0.402006 | 0 | 0.541985 | 0 | 0 | 0.031532 | 0.001573 | 0 | 0 | 0 | 0 | 0 | 1 | 0.038168 | false | 0 | 0.045802 | 0.007634 | 0.118321 | 0.049618 | 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 |
8c234b480328fa2c0a1a0b86378c67e2c0db3e3d | 2,142 | py | Python | blaze/tests/test_vlen.py | davidfischer/blaze-core | 19b55ed469aec742fd871b959115a3d87a89acb9 | [
"BSD-2-Clause"
] | 1 | 2015-01-02T18:16:07.000Z | 2015-01-02T18:16:07.000Z | blaze/tests/test_vlen.py | davidfischer/blaze-core | 19b55ed469aec742fd871b959115a3d87a89acb9 | [
"BSD-2-Clause"
] | null | null | null | blaze/tests/test_vlen.py | davidfischer/blaze-core | 19b55ed469aec742fd871b959115a3d87a89acb9 | [
"BSD-2-Clause"
] | null | null | null | """
Tests for the blob data type.
"""
import blaze
import tempfile, shutil, os.path
def test_simple_blob():
ds = blaze.dshape('x, blob')
c = blaze.Array(["s1", "sss2"], ds)
assert c[0] == "s1"
assert c[1] == "sss2"
def test_simple_persistent_blob():
td = tempfile.mkdtemp()
tmppath = os.path... | 24.906977 | 72 | 0.565359 | 336 | 2,142 | 3.550595 | 0.190476 | 0.033529 | 0.076278 | 0.082146 | 0.82062 | 0.797988 | 0.752724 | 0.722548 | 0.661358 | 0.658005 | 0 | 0.026081 | 0.266106 | 2,142 | 85 | 73 | 25.2 | 0.732824 | 0.087768 | 0 | 0.6 | 0 | 0 | 0.042887 | 0 | 0 | 0 | 0 | 0 | 0.236364 | 0 | null | null | 0 | 0.036364 | null | null | 0.018182 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
8c2a8b6cfbd71b1f501ed69f5b4cac8f57bb6314 | 36 | py | Python | python/testData/completion/paramCompletionWithEquals.after.py | tgodzik/intellij-community | f5ef4191fc30b69db945633951fb160c1cfb7b6f | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/completion/paramCompletionWithEquals.after.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 2 | 2022-02-19T09:45:05.000Z | 2022-02-27T20:32:55.000Z | python/testData/completion/paramCompletionWithEquals.after.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | def func(myArg) : pass
func(myArg=) | 12 | 22 | 0.694444 | 6 | 36 | 4.166667 | 0.666667 | 0.72 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138889 | 36 | 3 | 23 | 12 | 0.806452 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.5 | 0 | null | null | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
8c3c91dc1875e61ac451e5618e6619437e839ec8 | 397 | py | Python | string3.py | yanapermana/metadecryptor | 7c3e11ddb8ae05c19dbebd8ed2c744ff86ceaa2f | [
"BSD-3-Clause"
] | 49 | 2015-07-03T21:21:45.000Z | 2022-03-31T04:04:42.000Z | string3.py | hangetzzu/metadecryptor | 7c3e11ddb8ae05c19dbebd8ed2c744ff86ceaa2f | [
"BSD-3-Clause"
] | 3 | 2015-11-03T03:49:25.000Z | 2019-11-04T16:03:18.000Z | string3.py | hangetzzu/metadecryptor | 7c3e11ddb8ae05c19dbebd8ed2c744ff86ceaa2f | [
"BSD-3-Clause"
] | 17 | 2015-07-05T15:24:18.000Z | 2022-01-17T22:33:26.000Z | from gather3 import *
class String3:
def __init__(self):
pass
def digits(self, filename):
print(gather_digit(filename))
def lowers(self, filename):
print(gather_lower(filename))
def uppers(self, filename):
print(gather_upper(filename))
def upperdigits(self, filename):
print(gather_upper_digit(filena... | 19.85 | 37 | 0.755668 | 51 | 397 | 5.666667 | 0.392157 | 0.207612 | 0.294118 | 0.397924 | 0.387543 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005797 | 0.130982 | 397 | 20 | 38 | 19.85 | 0.831884 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | false | 0.071429 | 0.071429 | 0 | 0.571429 | 0.357143 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
8c4edf8b06ad5581aa625d4bda42a9ee442de217 | 181 | py | Python | total_tolles_ferleihsystem/auth_providers/__init__.py | spethso/Verleihsystem-TTF | 39179f9ac5b07f5106e555f82f3c9011d33805bd | [
"MIT"
] | 1 | 2019-03-17T08:11:14.000Z | 2019-03-17T08:11:14.000Z | total_tolles_ferleihsystem/auth_providers/__init__.py | spethso/Verleihsystem-TTF | 39179f9ac5b07f5106e555f82f3c9011d33805bd | [
"MIT"
] | 60 | 2018-06-12T14:46:50.000Z | 2020-11-16T00:50:37.000Z | total_tolles_ferleihsystem/auth_providers/__init__.py | FIUS/ttf-backend | 39179f9ac5b07f5106e555f82f3c9011d33805bd | [
"MIT"
] | 1 | 2019-12-02T19:25:59.000Z | 2019-12-02T19:25:59.000Z | """
Authentication Providers
"""
from .. import APP
from . import ldap_auth_provider, basic_auth_provider
if APP.config.get('DEBUG', False):
from . import debug_auth_provider
| 18.1 | 53 | 0.751381 | 24 | 181 | 5.416667 | 0.583333 | 0.230769 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.143646 | 181 | 9 | 54 | 20.111111 | 0.83871 | 0.132597 | 0 | 0 | 0 | 0 | 0.033557 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8c5e8ae34654b7169544c213164c00dbab6781bf | 25 | py | Python | test/__init__.py | Jyejin/hong | 62e762cdba60e07b673d4a1b0d64e758bacdeeb6 | [
"MIT"
] | null | null | null | test/__init__.py | Jyejin/hong | 62e762cdba60e07b673d4a1b0d64e758bacdeeb6 | [
"MIT"
] | 6 | 2018-03-06T07:53:09.000Z | 2022-03-11T23:15:52.000Z | test/__init__.py | Jyejin/hong | 62e762cdba60e07b673d4a1b0d64e758bacdeeb6 | [
"MIT"
] | null | null | null | from . import test_stocks | 25 | 25 | 0.84 | 4 | 25 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12 | 25 | 1 | 25 | 25 | 0.909091 | 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 |
4fc09d205a68bf0daf614b6c3c3912c87dcdd66f | 8,203 | py | Python | depth2normal/depth2normal_tf.py | velankar/LEGO | 39cd11a37cdd1fbb2ce0cd1d406f0488addc9a1a | [
"MIT"
] | 86 | 2018-07-02T07:54:49.000Z | 2021-12-28T06:37:39.000Z | depth2normal/depth2normal_tf.py | velankar/LEGO | 39cd11a37cdd1fbb2ce0cd1d406f0488addc9a1a | [
"MIT"
] | 9 | 2018-06-25T23:48:54.000Z | 2019-10-13T09:07:57.000Z | depth2normal/depth2normal_tf.py | velankar/LEGO | 39cd11a37cdd1fbb2ce0cd1d406f0488addc9a1a | [
"MIT"
] | 21 | 2018-08-02T14:36:16.000Z | 2022-03-04T03:40:31.000Z | import tensorflow as tf
import numpy as np
import time
def depth2normal_layer(depth_map, intrinsics, inverse):
## mask is used to filter the background with infinite depth
mask = tf.greater(depth_map, tf.zeros(depth_map.get_shape().as_list()))
if inverse:
mask_clip = 1e-8 * (1.0-tf.cast(mask, tf.... | 47.97076 | 122 | 0.661465 | 1,477 | 8,203 | 3.372376 | 0.085985 | 0.082313 | 0.115639 | 0.053403 | 0.870508 | 0.847822 | 0.824332 | 0.805862 | 0.805862 | 0.689821 | 0 | 0.069524 | 0.172376 | 8,203 | 171 | 123 | 47.97076 | 0.664163 | 0.119347 | 0 | 0.53125 | 0 | 0 | 0.00501 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.039063 | false | 0 | 0.023438 | 0.007813 | 0.101563 | 0.023438 | 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 |
4fde1bf9e361c8c807ec30e51c5d7e504d3205c0 | 40 | py | Python | Flask_App/run.py | Data-Science-Community-SRM/disease-predictor | bc12e010cbbff7bf7ab0bd4691bef4553e473998 | [
"MIT"
] | 4 | 2021-06-01T15:02:07.000Z | 2022-03-31T04:56:15.000Z | Flask_App/run.py | Data-Science-Community-SRM/disease-predictor | bc12e010cbbff7bf7ab0bd4691bef4553e473998 | [
"MIT"
] | 1 | 2021-06-06T06:40:48.000Z | 2021-06-12T17:35:58.000Z | Flask_App/run.py | Data-Science-Community-SRM/disease-predictor | bc12e010cbbff7bf7ab0bd4691bef4553e473998 | [
"MIT"
] | 2 | 2021-02-09T12:33:54.000Z | 2021-06-06T06:36:47.000Z | #entry point
from Application import A
| 10 | 25 | 0.8 | 6 | 40 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175 | 40 | 3 | 26 | 13.333333 | 0.969697 | 0.275 | 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 |
8b1548d7e655580428f978518f509f2c2af46e9e | 117 | py | Python | evd_ros_backend/evd_ros_core/src/evd_script/program_nodes/control_flow/conditionals/comparison.py | Wisc-HCI/CoFrame | 7a54344248d80cb316d36aabd40bbd3cdbbc07eb | [
"MIT"
] | null | null | null | evd_ros_backend/evd_ros_core/src/evd_script/program_nodes/control_flow/conditionals/comparison.py | Wisc-HCI/CoFrame | 7a54344248d80cb316d36aabd40bbd3cdbbc07eb | [
"MIT"
] | null | null | null | evd_ros_backend/evd_ros_core/src/evd_script/program_nodes/control_flow/conditionals/comparison.py | Wisc-HCI/CoFrame | 7a54344248d80cb316d36aabd40bbd3cdbbc07eb | [
"MIT"
] | null | null | null | '''
TODO
'''
from .abstract import AbstractConditional
class ComparisonConditional(AbstractConditional):
pass
| 11.7 | 49 | 0.769231 | 9 | 117 | 10 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145299 | 117 | 9 | 50 | 13 | 0.9 | 0.034188 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 6 |
8b436fb9f1050b2276730b96c8a1995991025fb5 | 164 | py | Python | packaging/portable/customize.py | shreyas202/thonny | ef894c359200b0591cf98451907243395b817c63 | [
"MIT"
] | 1 | 2021-10-30T16:56:40.000Z | 2021-10-30T16:56:40.000Z | packaging/portable/customize.py | shreyas202/thonny | ef894c359200b0591cf98451907243395b817c63 | [
"MIT"
] | 13 | 2018-11-15T09:31:06.000Z | 2019-11-22T18:16:54.000Z | packaging/portable/customize.py | shreyas202/thonny | ef894c359200b0591cf98451907243395b817c63 | [
"MIT"
] | 3 | 2018-11-24T14:00:30.000Z | 2019-07-02T02:32:26.000Z | import os.path
import thonny
user_dir = os.path.join(os.path.dirname(__file__), "..", "..", "..", ".thonny")
thonny.THONNY_USER_DIR = os.path.abspath(user_dir) | 32.8 | 80 | 0.676829 | 24 | 164 | 4.291667 | 0.416667 | 0.23301 | 0.252427 | 0.291262 | 0.368932 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.109756 | 164 | 5 | 81 | 32.8 | 0.705479 | 0 | 0 | 0 | 0 | 0 | 0.080745 | 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 |
8c66049c2825623f67b50052cfff3b75dbad0299 | 40 | py | Python | coop/__init__.py | lionls/coop | 080f6684f198e1db3cbad41dfea24f481d8253f4 | [
"BSD-3-Clause"
] | 15 | 2021-09-14T07:08:31.000Z | 2022-03-21T02:20:40.000Z | coop/__init__.py | lionls/coop | 080f6684f198e1db3cbad41dfea24f481d8253f4 | [
"BSD-3-Clause"
] | 1 | 2022-02-11T11:17:53.000Z | 2022-02-15T16:56:09.000Z | coop/__init__.py | lionls/coop | 080f6684f198e1db3cbad41dfea24f481d8253f4 | [
"BSD-3-Clause"
] | 2 | 2021-09-19T09:35:31.000Z | 2022-03-24T12:33:50.000Z | from . import util
from .vae import VAE
| 13.333333 | 20 | 0.75 | 7 | 40 | 4.285714 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 40 | 2 | 21 | 20 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8ce49102d56cccef36b34dde6d5781cd7a0576dc | 241 | py | Python | orderAhead-BE/models/shipping/__init__.py | futuresea-dev/RetailApp_Flask_react-main | b5adb404fa6b227938d449ea79ed6f8a20692840 | [
"Unlicense"
] | null | null | null | orderAhead-BE/models/shipping/__init__.py | futuresea-dev/RetailApp_Flask_react-main | b5adb404fa6b227938d449ea79ed6f8a20692840 | [
"Unlicense"
] | null | null | null | orderAhead-BE/models/shipping/__init__.py | futuresea-dev/RetailApp_Flask_react-main | b5adb404fa6b227938d449ea79ed6f8a20692840 | [
"Unlicense"
] | null | null | null | from models.postgres_db import Postgres_DB
from models.shipping.zone import ShippingZone
from models.shipping.method import ShippingMethod
from models.shipping.instance import MethodInstance
from models.shipping.facade import ShippingFacade | 40.166667 | 51 | 0.879668 | 31 | 241 | 6.774194 | 0.451613 | 0.238095 | 0.342857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.082988 | 241 | 6 | 52 | 40.166667 | 0.950226 | 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 |
509010dae979619a789aa561df8ce0bb6fb2307d | 136 | py | Python | openapi2oms/exceptions/MappingError.py | microservices/openapi2oms | a22b73427d77b57629786040ca6fa7f1e18853de | [
"MIT"
] | 3 | 2019-10-31T11:31:05.000Z | 2020-01-11T01:43:50.000Z | openapi2oms/exceptions/MappingError.py | microservices/openapi2oms | a22b73427d77b57629786040ca6fa7f1e18853de | [
"MIT"
] | 3 | 2019-10-21T10:31:07.000Z | 2021-10-18T23:44:23.000Z | openapi2oms/exceptions/MappingError.py | microservices/openapi2oms | a22b73427d77b57629786040ca6fa7f1e18853de | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from openapi2oms.exceptions.ConverterError import ConverterError
class MappingError(ConverterError):
pass
| 19.428571 | 64 | 0.764706 | 13 | 136 | 8 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016949 | 0.132353 | 136 | 6 | 65 | 22.666667 | 0.864407 | 0.154412 | 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 |
5095c907269d9dac35bfaade85a4c96a423be0d1 | 36 | py | Python | College/import_shaz.py | AuGom/Python-Studies | 6fdb41768c7a6304a7e46bf391513161d7028de4 | [
"MIT"
] | null | null | null | College/import_shaz.py | AuGom/Python-Studies | 6fdb41768c7a6304a7e46bf391513161d7028de4 | [
"MIT"
] | null | null | null | College/import_shaz.py | AuGom/Python-Studies | 6fdb41768c7a6304a7e46bf391513161d7028de4 | [
"MIT"
] | null | null | null | import shazan
print(shazan.fat(5))
| 9 | 20 | 0.75 | 6 | 36 | 4.5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.03125 | 0.111111 | 36 | 3 | 21 | 12 | 0.8125 | 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 |
50a8c73717d4062d1a9aa5bae8e5328d6c753eb8 | 982 | py | Python | tests/test_cli.py | lorenzha/mlflow | 7c7266232273019b99fa0eb72289bf1f5701815b | [
"Apache-2.0"
] | 12 | 2018-08-11T08:25:31.000Z | 2018-08-28T23:41:23.000Z | tests/test_cli.py | kmader/mlflow | 781ce394953c7857b19c84dc937964a806b62798 | [
"Apache-2.0"
] | 17 | 2018-08-11T00:26:26.000Z | 2018-08-29T10:14:17.000Z | tests/test_cli.py | kmader/mlflow | 781ce394953c7857b19c84dc937964a806b62798 | [
"Apache-2.0"
] | 3 | 2018-08-21T15:14:51.000Z | 2019-11-06T23:25:32.000Z | from click.testing import CliRunner
from mock import mock
from mlflow.cli import server
def test_server_static_prefix_validation():
with mock.patch("mlflow.cli._run_server") as run_server_mock:
CliRunner().invoke(server)
run_server_mock.assert_called_once()
with mock.patch("mlflow.cli._run_se... | 44.636364 | 76 | 0.700611 | 132 | 982 | 4.939394 | 0.234848 | 0.165644 | 0.159509 | 0.116564 | 0.800614 | 0.800614 | 0.773006 | 0.773006 | 0.773006 | 0.773006 | 0 | 0 | 0.169043 | 982 | 21 | 77 | 46.761905 | 0.79902 | 0 | 0 | 0.444444 | 0 | 0 | 0.239308 | 0.089613 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.055556 | false | 0 | 0.166667 | 0 | 0.222222 | 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 |
50aed01ddeda33dd8798f74b04c8f7a810423427 | 46 | py | Python | src/meltano/core/runner/__init__.py | code-watch/meltano | 2afff73ed43669b5134dacfce61814f7f4e77a13 | [
"MIT"
] | 8 | 2020-06-16T22:29:54.000Z | 2021-06-04T11:57:57.000Z | src/meltano/core/runner/__init__.py | dotmesh-io/meltano | 4616d44ded9dff4e9ad19a9004349e9baa16ddd5 | [
"MIT"
] | 38 | 2019-12-09T06:53:33.000Z | 2022-03-29T22:29:19.000Z | src/meltano/core/runner/__init__.py | aroder/meltano | b8d1d812f4051b6334986fc6b447d23c4d0d5043 | [
"MIT"
] | 2 | 2020-06-16T22:29:59.000Z | 2020-11-04T05:47:50.000Z | class Runner:
def run(self):
pass
| 11.5 | 18 | 0.543478 | 6 | 46 | 4.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.369565 | 46 | 3 | 19 | 15.333333 | 0.862069 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.333333 | 0 | 0 | 0.666667 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
50f32af191a97728093ccdf28e00761a86e4b085 | 46 | py | Python | lab-3/lab3_example/models/__init__.py | moevm/db_sql_lab_examples | 01aa4843b59bbddbea739b4c7b4db8958a2f8393 | [
"MIT"
] | 3 | 2021-09-02T21:03:30.000Z | 2021-10-08T13:48:04.000Z | lab-3/lab3_example/models/__init__.py | moevm/db_sql_lab_examples | 01aa4843b59bbddbea739b4c7b4db8958a2f8393 | [
"MIT"
] | null | null | null | lab-3/lab3_example/models/__init__.py | moevm/db_sql_lab_examples | 01aa4843b59bbddbea739b4c7b4db8958a2f8393 | [
"MIT"
] | 1 | 2021-09-05T02:44:19.000Z | 2021-09-05T02:44:19.000Z | from .department import *
from .user import *
| 15.333333 | 25 | 0.73913 | 6 | 46 | 5.666667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 46 | 2 | 26 | 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 |
50fa687e71b7a749362c99fe6c3f6a9f5a9a0970 | 9,533 | py | Python | src/vtra/analysis/failure/road_rail_flooding.py | oi-analytics/oia-transport-archive | f89cb686704fe76c1665697b35d14caccf37f3a1 | [
"PostgreSQL"
] | 1 | 2021-03-31T02:59:50.000Z | 2021-03-31T02:59:50.000Z | src/vtra/analysis/failure/road_rail_flooding.py | oi-analytics/oia-transport-archive | f89cb686704fe76c1665697b35d14caccf37f3a1 | [
"PostgreSQL"
] | null | null | null | src/vtra/analysis/failure/road_rail_flooding.py | oi-analytics/oia-transport-archive | f89cb686704fe76c1665697b35d14caccf37f3a1 | [
"PostgreSQL"
] | 1 | 2022-02-24T16:51:47.000Z | 2022-02-24T16:51:47.000Z |
# -*- coding: utf-8 -*-
"""
Python script to assign commodity flows on the road network
Created on Wed Nov 26 2017
@author: Raghav Pant
"""
import pandas as pd
import os
import psycopg2
import networkx as nx
import csv
from sqlalchemy import create_engine
import subprocess as sp
import operator
import itertools
impo... | 34.046429 | 177 | 0.729676 | 1,528 | 9,533 | 4.221859 | 0.132853 | 0.046504 | 0.047124 | 0.019842 | 0.845295 | 0.821113 | 0.804371 | 0.7929 | 0.7929 | 0.770268 | 0 | 0.015424 | 0.136264 | 9,533 | 279 | 178 | 34.168459 | 0.768035 | 0.060946 | 0 | 0.681592 | 0 | 0.014925 | 0.205932 | 0.043872 | 0 | 0 | 0 | 0 | 0 | 1 | 0.029851 | false | 0.00995 | 0.059701 | 0 | 0.104478 | 0.00995 | 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 |
0fde45a23e1a535989d5e87508363ba424cb4d43 | 8,382 | py | Python | tests/api/test_prcurve.py | RUrlus/ModelMetricUncertainty | f401a25dd196d6e4edf4901fcfee4b56ebd7c10b | [
"Apache-2.0"
] | null | null | null | tests/api/test_prcurve.py | RUrlus/ModelMetricUncertainty | f401a25dd196d6e4edf4901fcfee4b56ebd7c10b | [
"Apache-2.0"
] | 11 | 2021-12-08T10:34:17.000Z | 2022-01-20T13:40:05.000Z | tests/api/test_prcurve.py | RUrlus/ModelMetricUncertainty | f401a25dd196d6e4edf4901fcfee4b56ebd7c10b | [
"Apache-2.0"
] | null | null | null | import os
import numpy as np
import sklearn.metrics as skm
from sklearn.datasets import make_classification
from sklearn.linear_model import LogisticRegression
from sklearn.model_selection import train_test_split
import mmu
from mmu.commons._testing import generate_test_labels
from mmu.commons._testing import greater... | 34.780083 | 85 | 0.694703 | 1,299 | 8,382 | 4.203233 | 0.12933 | 0.06044 | 0.048352 | 0.042857 | 0.868132 | 0.845238 | 0.832784 | 0.817399 | 0.817399 | 0.80348 | 0 | 0.04859 | 0.192198 | 8,382 | 240 | 86 | 34.925 | 0.757791 | 0.098306 | 0 | 0.613636 | 0 | 0 | 0.008666 | 0.0032 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.039773 | false | 0 | 0.051136 | 0 | 0.090909 | 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 |
0fe02768dea51a841faddbe3c056f65a68ebab0c | 62,344 | py | Python | functional_tests/sample/test_list.py | SCiO-systems/qcat | 8c2b8e07650bc2049420fa6de758fba7e50c2f28 | [
"Apache-2.0"
] | null | null | null | functional_tests/sample/test_list.py | SCiO-systems/qcat | 8c2b8e07650bc2049420fa6de758fba7e50c2f28 | [
"Apache-2.0"
] | null | null | null | functional_tests/sample/test_list.py | SCiO-systems/qcat | 8c2b8e07650bc2049420fa6de758fba7e50c2f28 | [
"Apache-2.0"
] | null | null | null | import pytest
from django.contrib.auth.models import Group
from django.urls import reverse
from selenium.webdriver.support.ui import WebDriverWait
from selenium.webdriver.support import expected_conditions as EC
from selenium.webdriver.common.by import By
from unittest.mock import patch
from elasticmock import elasticm... | 39.136221 | 86 | 0.586889 | 7,261 | 62,344 | 4.886517 | 0.060735 | 0.065218 | 0.043122 | 0.052141 | 0.809165 | 0.79265 | 0.772216 | 0.74888 | 0.732617 | 0.713368 | 0 | 0.013471 | 0.278439 | 62,344 | 1,592 | 87 | 39.160804 | 0.775258 | 0.356297 | 0 | 0.647355 | 0 | 0 | 0.212873 | 0.101711 | 0 | 0 | 0 | 0 | 0.178841 | 1 | 0.020151 | false | 0 | 0.017632 | 0 | 0.04534 | 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 |
ba094e3ac75c7e7b5cefcc459f76fb2abaac0cca | 2,568 | py | Python | epytope/Data/pssms/smmpmbec/mat/B_40_01_10.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 7 | 2021-02-01T18:11:28.000Z | 2022-01-31T19:14:07.000Z | epytope/Data/pssms/smmpmbec/mat/B_40_01_10.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 22 | 2021-01-02T15:25:23.000Z | 2022-03-14T11:32:53.000Z | epytope/Data/pssms/smmpmbec/mat/B_40_01_10.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 4 | 2021-05-28T08:50:38.000Z | 2022-03-14T11:45:32.000Z | B_40_01_10 = {0: {'A': -0.23, 'C': 0.103, 'E': 0.416, 'D': 0.968, 'G': -0.421, 'F': -0.63, 'I': -0.342, 'H': -0.095, 'K': -0.066, 'M': -0.447, 'L': 0.081, 'N': 0.265, 'Q': 0.026, 'P': 1.352, 'S': -0.141, 'R': -0.049, 'T': -0.097, 'W': -0.163, 'V': -0.19, 'Y': -0.339}, 1: {'A': 0.398, 'C': -0.468, 'E': -1.235, 'D': 0.01... | 2,568 | 2,568 | 0.393692 | 618 | 2,568 | 1.631068 | 0.281553 | 0.019841 | 0.009921 | 0.011905 | 0.027778 | 0 | 0 | 0 | 0 | 0 | 0 | 0.373259 | 0.161215 | 2,568 | 1 | 2,568 | 2,568 | 0.094708 | 0 | 0 | 0 | 0 | 0 | 0.079019 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e850a643d1dc9057d0e0d544a73d1e3c3bb40f4a | 6,591 | py | Python | modules/Bak.July2013/XhhC.py | TrentFranks/ssNMR-Topspin-Python | 95f99dc66bc665493d81d075088486f55ccae964 | [
"MIT"
] | 3 | 2016-08-24T12:01:15.000Z | 2021-12-02T21:45:34.000Z | modules/Bak.July2013/XhhC.py | TrentFranks/ssNMR-Topspin-Python | 95f99dc66bc665493d81d075088486f55ccae964 | [
"MIT"
] | null | null | null | modules/Bak.July2013/XhhC.py | TrentFranks/ssNMR-Topspin-Python | 95f99dc66bc665493d81d075088486f55ccae964 | [
"MIT"
] | null | null | null | """
Modules to Set default parameters:
W.T. Franks FMP Berlin
"""
import de.bruker.nmr.mfw.root as root
import math
import TopCmds
import IntShape
import Setup
p90H=2.5
ampH=4.0
p90C=3.0
ampC=0.0
p90N=5.0
ampN=-2.0
MAS =10000.0
def CH(units):
#48,49
p90H=float(TopCmds.GETPAR("P 3"))
ampH=float(TopCmds.GETPAR("... | 27.810127 | 75 | 0.611136 | 1,026 | 6,591 | 3.923002 | 0.137427 | 0.080497 | 0.120745 | 0.056646 | 0.911056 | 0.884969 | 0.884969 | 0.877267 | 0.787081 | 0.77118 | 0 | 0.089957 | 0.160067 | 6,591 | 237 | 76 | 27.810127 | 0.637103 | 0.024731 | 0 | 0.66092 | 0 | 0 | 0.169576 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.017241 | false | 0 | 0.028736 | 0 | 0.045977 | 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 |
e869f6138f633f7cc9d7d593e0b930adadf64d75 | 19 | py | Python | __init__.py | samesense/hgnc | 390a5770487d155420a10f787e4e61f37262b627 | [
"MIT"
] | null | null | null | __init__.py | samesense/hgnc | 390a5770487d155420a10f787e4e61f37262b627 | [
"MIT"
] | null | null | null | __init__.py | samesense/hgnc | 390a5770487d155420a10f787e4e61f37262b627 | [
"MIT"
] | null | null | null | from hgnc import *
| 9.5 | 18 | 0.736842 | 3 | 19 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.210526 | 19 | 1 | 19 | 19 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e880a6a783e54269ab12bc7607ed46fe201c4928 | 42 | py | Python | howfast_apm/__init__.py | HowFast/apm-python | e0ae4f06aecc492e67a153b842250c75641db93d | [
"MIT"
] | 3 | 2019-09-03T03:15:27.000Z | 2019-09-06T15:35:00.000Z | howfast_apm/__init__.py | HowFast/apm-python | e0ae4f06aecc492e67a153b842250c75641db93d | [
"MIT"
] | 5 | 2019-09-25T05:08:24.000Z | 2020-05-22T23:07:58.000Z | howfast_apm/__init__.py | HowFast/apm-python | e0ae4f06aecc492e67a153b842250c75641db93d | [
"MIT"
] | null | null | null | from .flask import HowFastFlaskMiddleware
| 21 | 41 | 0.880952 | 4 | 42 | 9.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 42 | 1 | 42 | 42 | 0.973684 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e8c7c11c115b700e0f8f60435c15662269b5c2d8 | 49,557 | py | Python | ai/message_pb2.py | giongto35/Gowog | f1dee3b51b913f59419600bcf8964c647756562d | [
"MIT"
] | 99 | 2019-01-20T06:59:22.000Z | 2022-03-24T18:14:01.000Z | ai/message_pb2.py | giongto35/Gowog | f1dee3b51b913f59419600bcf8964c647756562d | [
"MIT"
] | 14 | 2019-01-19T08:36:33.000Z | 2019-10-12T04:43:31.000Z | ai/message_pb2.py | giongto35/Gowog | f1dee3b51b913f59419600bcf8964c647756562d | [
"MIT"
] | 22 | 2019-01-20T07:15:16.000Z | 2022-01-01T14:40:05.000Z | # Generated by the protocol buffer compiler. DO NOT EDIT!
# source: message.proto
import sys
_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
from google.protobuf.internal import enum_type_wrapper
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _m... | 42.068761 | 4,045 | 0.748471 | 6,467 | 49,557 | 5.424772 | 0.050255 | 0.056325 | 0.058663 | 0.053589 | 0.808249 | 0.745026 | 0.721595 | 0.682259 | 0.660453 | 0.646343 | 0 | 0.040173 | 0.127005 | 49,557 | 1,177 | 4,046 | 42.104503 | 0.770728 | 0.023307 | 0 | 0.69708 | 1 | 0.000912 | 0.190054 | 0.14855 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.006387 | 0 | 0.006387 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
2cda0a8203f4fb7174d0c3dda8e83458c2dc2154 | 1,937 | py | Python | accelbyte_py_sdk/api/sessionbrowser/__init__.py | AccelByte/accelbyte-python-sdk | dcd311fad111c59da828278975340fb92e0f26f7 | [
"MIT"
] | null | null | null | accelbyte_py_sdk/api/sessionbrowser/__init__.py | AccelByte/accelbyte-python-sdk | dcd311fad111c59da828278975340fb92e0f26f7 | [
"MIT"
] | 1 | 2021-10-13T03:46:58.000Z | 2021-10-13T03:46:58.000Z | accelbyte_py_sdk/api/sessionbrowser/__init__.py | AccelByte/accelbyte-python-sdk | dcd311fad111c59da828278975340fb92e0f26f7 | [
"MIT"
] | null | null | null | # Copyright (c) 2021 AccelByte Inc. All Rights Reserved.
# This is licensed software from AccelByte Inc, for limitations
# and restrictions contact your company contract manager.
#
# Code generated. DO NOT EDIT!
# template file: justice_py_sdk_codegen/__main__.py
"""Auto-generated package that contains models used b... | 38.74 | 94 | 0.859577 | 279 | 1,937 | 5.584229 | 0.290323 | 0.24647 | 0.369705 | 0.221438 | 0.776637 | 0.591784 | 0.426829 | 0.220154 | 0.047497 | 0 | 0 | 0.002296 | 0.100671 | 1,937 | 49 | 95 | 39.530612 | 0.892078 | 0.19618 | 0 | 0 | 1 | 0 | 0.016839 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.914286 | 0 | 0.914286 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
fa00b18710a9161e9470464df07e2d2004fda489 | 133 | py | Python | __init__.py | WikiaSun/Slash | 670eb97d86e18006397300f7fbfde91154cdbf23 | [
"MIT"
] | null | null | null | __init__.py | WikiaSun/Slash | 670eb97d86e18006397300f7fbfde91154cdbf23 | [
"MIT"
] | null | null | null | __init__.py | WikiaSun/Slash | 670eb97d86e18006397300f7fbfde91154cdbf23 | [
"MIT"
] | null | null | null | from .bot import *
from .enums import *
from .command import *
from .context import *
from .converter import *
from .message import * | 22.166667 | 24 | 0.736842 | 18 | 133 | 5.444444 | 0.444444 | 0.510204 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172932 | 133 | 6 | 25 | 22.166667 | 0.890909 | 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 |
fa041e432806f912fd2d92278fa9a6d56e85a81f | 168 | py | Python | tests/basics/set_isdisjoint.py | geowor01/micropython | 7fb13eeef4a85f21cae36f1d502bcc53880e1815 | [
"MIT"
] | 7 | 2019-10-18T13:41:39.000Z | 2022-03-15T17:27:57.000Z | tests/basics/set_isdisjoint.py | geowor01/micropython | 7fb13eeef4a85f21cae36f1d502bcc53880e1815 | [
"MIT"
] | null | null | null | tests/basics/set_isdisjoint.py | geowor01/micropython | 7fb13eeef4a85f21cae36f1d502bcc53880e1815 | [
"MIT"
] | 2 | 2020-06-23T09:10:15.000Z | 2020-12-22T06:42:14.000Z | s = {1, 2, 3, 4}
print(s.isdisjoint({1}))
print(s.isdisjoint([2]))
print(s.isdisjoint([]))
print(s.isdisjoint({7,8,9,10}))
print(s.isdisjoint([7,8,9,1]))
print("PASS") | 21 | 31 | 0.625 | 32 | 168 | 3.28125 | 0.375 | 0.285714 | 0.761905 | 0.32381 | 0.361905 | 0.361905 | 0 | 0 | 0 | 0 | 0 | 0.096154 | 0.071429 | 168 | 8 | 32 | 21 | 0.576923 | 0 | 0 | 0 | 0 | 0 | 0.023669 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.142857 | 0 | 0 | 0 | 0.857143 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 6 |
fa18807423f4c45776b883130e452f6889e707be | 10,168 | py | Python | gym_aima/__init__.py | wegfawefgawefg/gym-aima | 79efa263f90bee9a8c18140a8320d5d98245c665 | [
"MIT"
] | 5 | 2020-03-08T04:58:25.000Z | 2022-01-28T13:19:50.000Z | gym_aima/__init__.py | wegfawefgawefg/gym-aima | 79efa263f90bee9a8c18140a8320d5d98245c665 | [
"MIT"
] | null | null | null | gym_aima/__init__.py | wegfawefgawefg/gym-aima | 79efa263f90bee9a8c18140a8320d5d98245c665 | [
"MIT"
] | 4 | 2020-04-11T14:02:21.000Z | 2022-03-27T15:38:17.000Z | from gym.envs.registration import register
# Classic Gridworld environments
register(
id='RussellNorvigGridworld-v0',
# To reproduce must use gamma of 1.0 (no discount)
entry_point='gym_aima.envs:AIMAEnv',
# With or without the sink state it will work
# because they don't use discounting
kwarg... | 31.190184 | 65 | 0.706727 | 1,224 | 10,168 | 5.684641 | 0.083333 | 0.01121 | 0.070997 | 0.092843 | 0.743748 | 0.743748 | 0.732538 | 0.732538 | 0.732538 | 0.732538 | 0 | 0.048755 | 0.150767 | 10,168 | 325 | 66 | 31.286154 | 0.757035 | 0.050747 | 0 | 0.636066 | 0 | 0 | 0.338174 | 0.263278 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.003279 | 0 | 0.003279 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
fa282cc0d3049e86e15ebcb790a4713cc4a4467b | 17,705 | py | Python | ensai_model.py | Unique-Divine/Neural-Networks-for-Gravitational-Lens-Modeling | cd64ceda84bdd1486ad17585074ba8c7a0576ab5 | [
"MIT"
] | null | null | null | ensai_model.py | Unique-Divine/Neural-Networks-for-Gravitational-Lens-Modeling | cd64ceda84bdd1486ad17585074ba8c7a0576ab5 | [
"MIT"
] | null | null | null | ensai_model.py | Unique-Divine/Neural-Networks-for-Gravitational-Lens-Modeling | cd64ceda84bdd1486ad17585074ba8c7a0576ab5 | [
"MIT"
] | null | null | null |
trunc_normal = lambda stddev: tf.truncated_normal_initializer(0.0, stddev)
def model_transformer(x_image , scope="transformer", reuse=None):
with tf.variable_scope(scope):
with slim.arg_scope([slim.conv2d, slim.fully_connected], activation_fn=tf.nn.relu):
net = slim.co... | 49.733146 | 171 | 0.574358 | 2,562 | 17,705 | 3.817721 | 0.087822 | 0.093753 | 0.102341 | 0.124323 | 0.807791 | 0.770371 | 0.748594 | 0.719047 | 0.67764 | 0.642777 | 0 | 0.082011 | 0.26309 | 17,705 | 355 | 172 | 49.873239 | 0.667663 | 0.024117 | 0 | 0.450199 | 0 | 0 | 0.069587 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d70cde36148a5783791e89a6e0ac7867bbe28dc0 | 143 | py | Python | metadata.py | ks8/conformation | f470849d5b7b90dc5a65bab8a536de1d57c1021a | [
"MIT"
] | null | null | null | metadata.py | ks8/conformation | f470849d5b7b90dc5a65bab8a536de1d57c1021a | [
"MIT"
] | null | null | null | metadata.py | ks8/conformation | f470849d5b7b90dc5a65bab8a536de1d57c1021a | [
"MIT"
] | null | null | null | """ Generate metadata. """
from conformation.metadata import metadata, Args
if __name__ == '__main__':
metadata(Args().parse_args())
| 23.833333 | 49 | 0.685315 | 15 | 143 | 5.933333 | 0.666667 | 0.269663 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.167832 | 143 | 5 | 50 | 28.6 | 0.747899 | 0.125874 | 0 | 0 | 1 | 0 | 0.071429 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
d724c935aa1a0f202caf8256f479745fcdd20684 | 23 | py | Python | vibora/headers/__init__.py | brettcannon/vibora | 1933b631d4df62e7d748016f7463ab746d4695cc | [
"MIT"
] | 6,238 | 2018-06-14T19:29:47.000Z | 2022-03-29T21:42:03.000Z | vibora/headers/__init__.py | LL816/vibora | 4cda888f89aec6bfb2541ee53548ae1bf50fbf1b | [
"MIT"
] | 213 | 2018-06-13T20:13:59.000Z | 2022-03-26T07:46:49.000Z | vibora/headers/__init__.py | LL816/vibora | 4cda888f89aec6bfb2541ee53548ae1bf50fbf1b | [
"MIT"
] | 422 | 2018-06-20T01:29:41.000Z | 2022-02-27T16:45:29.000Z | from .headers import *
| 11.5 | 22 | 0.73913 | 3 | 23 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 23 | 1 | 23 | 23 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d72d8a8775ebd4ca530985052eb4375ade157bf6 | 437 | py | Python | tests/conftest.py | arielbello/sql-test-website | 29361215e4147a3db0ff22bae8d67ac7cdf1aabe | [
"MIT"
] | null | null | null | tests/conftest.py | arielbello/sql-test-website | 29361215e4147a3db0ff22bae8d67ac7cdf1aabe | [
"MIT"
] | null | null | null | tests/conftest.py | arielbello/sql-test-website | 29361215e4147a3db0ff22bae8d67ac7cdf1aabe | [
"MIT"
] | null | null | null | from app.main import app
import pytest
@pytest.fixture
def flask_app():
return app
@pytest.fixture
def client():
with app.test_client() as client:
with app.app_context():
# context config
pass
yield client
@pytest.fixture(scope="session")
def valid_email():
retu... | 16.185185 | 37 | 0.647597 | 56 | 437 | 4.946429 | 0.464286 | 0.187726 | 0.115523 | 0.180505 | 0.202166 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.237986 | 437 | 26 | 38 | 16.807692 | 0.831832 | 0.032037 | 0 | 0.235294 | 0 | 0 | 0.130641 | 0.049881 | 0 | 0 | 0 | 0 | 0 | 1 | 0.235294 | true | 0.058824 | 0.117647 | 0.176471 | 0.529412 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 6 |
d73536832af358998d772263830884f96ae53e63 | 223 | py | Python | app/common/song_metadata/__init__.py | Mai-icy/I-Music-Player | 92f2d886a2c15a2c000b6f618d3123f7c365534d | [
"MIT"
] | 1 | 2022-01-03T09:21:18.000Z | 2022-01-03T09:21:18.000Z | app/common/song_metadata/__init__.py | Mai-icy/I-Music-Player | 92f2d886a2c15a2c000b6f618d3123f7c365534d | [
"MIT"
] | null | null | null | app/common/song_metadata/__init__.py | Mai-icy/I-Music-Player | 92f2d886a2c15a2c000b6f618d3123f7c365534d | [
"MIT"
] | null | null | null | from .read_song_metadata import get_song_metadata, get_album_buffer, get_md5
from .write_song_metadata import write_mp3_metadata, write_flac_metadata, update_md5_to_file
from .compare_song_metadata import compare_song_info
| 55.75 | 92 | 0.896861 | 36 | 223 | 5 | 0.472222 | 0.266667 | 0.3 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014493 | 0.071749 | 223 | 3 | 93 | 74.333333 | 0.855072 | 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 |
d777e33b899ef94e40b40bb2c7f2c92db54e3d38 | 147 | py | Python | python_base/panduan.py | semoren/learn_python | d3140c3d4cb2bdb674d9c072c4195ebcfe686be3 | [
"Apache-2.0"
] | null | null | null | python_base/panduan.py | semoren/learn_python | d3140c3d4cb2bdb674d9c072c4195ebcfe686be3 | [
"Apache-2.0"
] | null | null | null | python_base/panduan.py | semoren/learn_python | d3140c3d4cb2bdb674d9c072c4195ebcfe686be3 | [
"Apache-2.0"
] | null | null | null | # 条件判断
age = input()
if int(age) >= 18:
print('your age is', age)
print('adult')
else:
print('your age is', age)
print('teenager') | 16.333333 | 29 | 0.564626 | 22 | 147 | 3.772727 | 0.545455 | 0.216867 | 0.289157 | 0.337349 | 0.53012 | 0.53012 | 0 | 0 | 0 | 0 | 0 | 0.018018 | 0.244898 | 147 | 9 | 30 | 16.333333 | 0.72973 | 0.027211 | 0 | 0.285714 | 0 | 0 | 0.246479 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.571429 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
ad23943470b6077c3d6f53ecf9baa85a2c32fb20 | 25 | py | Python | reservoirpy/pvtpy/__init__.py | scuervo91/reservoirpy | a4db620baf3ff66a85c7f61b1919713a8642e6fc | [
"MIT"
] | 16 | 2020-05-07T01:57:04.000Z | 2021-11-27T12:45:59.000Z | reservoirpy/pvtpy/__init__.py | scuervo91/reservoirpy | a4db620baf3ff66a85c7f61b1919713a8642e6fc | [
"MIT"
] | null | null | null | reservoirpy/pvtpy/__init__.py | scuervo91/reservoirpy | a4db620baf3ff66a85c7f61b1919713a8642e6fc | [
"MIT"
] | 5 | 2020-05-12T07:28:24.000Z | 2021-12-10T21:24:59.000Z | from . import black_oil
| 8.333333 | 23 | 0.76 | 4 | 25 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 25 | 2 | 24 | 12.5 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ad31bf5cd4ae6a87c15c732b62ca26ddc53ef278 | 123 | py | Python | python/domain/quality_plan/content/__init__.py | ICTU/document-as-code | e65fddb94513e7c2f54f248b4ce69e9e10ce42f5 | [
"Apache-2.0"
] | 2 | 2021-01-09T17:00:51.000Z | 2021-02-19T09:35:26.000Z | python/domain/quality_plan/content/__init__.py | ICTU/document-as-code | e65fddb94513e7c2f54f248b4ce69e9e10ce42f5 | [
"Apache-2.0"
] | null | null | null | python/domain/quality_plan/content/__init__.py | ICTU/document-as-code | e65fddb94513e7c2f54f248b4ce69e9e10ce42f5 | [
"Apache-2.0"
] | 1 | 2020-02-24T15:50:05.000Z | 2020-02-24T15:50:05.000Z | from .deliverables import *
from .measures import *
from .requirements import *
from .sources import *
from .text import *
| 20.5 | 27 | 0.756098 | 15 | 123 | 6.2 | 0.466667 | 0.430108 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162602 | 123 | 5 | 28 | 24.6 | 0.902913 | 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 |
ad32503eb3215ae17c6b2e365cd92eca487d4c23 | 46 | py | Python | source/writeproperties/__init__.py | luciebakels/gadgetanalyse | 63b80b5306ebc4a1fbfd9cfbe3608ca10b8a19a3 | [
"MIT"
] | null | null | null | source/writeproperties/__init__.py | luciebakels/gadgetanalyse | 63b80b5306ebc4a1fbfd9cfbe3608ca10b8a19a3 | [
"MIT"
] | null | null | null | source/writeproperties/__init__.py | luciebakels/gadgetanalyse | 63b80b5306ebc4a1fbfd9cfbe3608ca10b8a19a3 | [
"MIT"
] | null | null | null | from writeproperties.writeproperties import *
| 23 | 45 | 0.869565 | 4 | 46 | 10 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 46 | 1 | 46 | 46 | 0.952381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ad58832f9171063449bf521f90fbba3c7b8b2ecc | 5,565 | py | Python | src/titles.py | Zachary-Daum/2020-bioinformatics-hackathon | 31ae1afe57b07b1898c2cc8b52bd73a847687c4f | [
"MIT"
] | 1 | 2020-11-04T02:54:47.000Z | 2020-11-04T02:54:47.000Z | src/titles.py | Zachary-Daum/2020-bioinformatics-hackathon | 31ae1afe57b07b1898c2cc8b52bd73a847687c4f | [
"MIT"
] | 2 | 2020-04-25T04:51:05.000Z | 2020-04-29T12:45:39.000Z | src/titles.py | Zachary-Daum/2020-bioinformatics-hackathon | 31ae1afe57b07b1898c2cc8b52bd73a847687c4f | [
"MIT"
] | null | null | null | import nltk
from nltk import pos_tag
from nltk import RegexpParser
from nltk.corpus import state_union
from nltk.tokenize import PunktSentenceTokenizer
import numpy as np
import matplotlib
import matplotlib.pyplot as plt
train_text = state_union.raw("2005-GWBush.txt")
custom_sent_tokenizer = PunktSentenceTokenizer(tra... | 36.372549 | 99 | 0.519137 | 572 | 5,565 | 4.940559 | 0.258741 | 0.143666 | 0.059448 | 0.015924 | 0.762916 | 0.729653 | 0.729653 | 0.710545 | 0.710545 | 0.710545 | 0 | 0.005775 | 0.377718 | 5,565 | 152 | 100 | 36.611842 | 0.81028 | 0.092722 | 0 | 0.720721 | 0 | 0 | 0.061029 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.027027 | false | 0 | 0.072072 | 0 | 0.108108 | 0.009009 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ad60c13491545de9f7bb653d3b1b30cebe3f41c6 | 5,873 | py | Python | tests/test_builder.py | dusktreader/sphinx-view | ad877834c4cf9235a6249628907a73d569ff051a | [
"MIT"
] | 3 | 2017-11-29T13:39:25.000Z | 2020-06-20T10:23:29.000Z | tests/test_builder.py | dusktreader/sphinx-view | ad877834c4cf9235a6249628907a73d569ff051a | [
"MIT"
] | 24 | 2016-12-11T18:01:02.000Z | 2021-09-30T16:39:36.000Z | tests/test_builder.py | dusktreader/sphinx-view | ad877834c4cf9235a6249628907a73d569ff051a | [
"MIT"
] | 5 | 2017-03-05T03:33:39.000Z | 2020-04-25T00:15:17.000Z | import os
import sys
from sview.builder import Builder
class TestBuilder:
def test_init_for_single(self, tmpdir, find_data_file):
config = {
"WORKING_DIR": str(tmpdir),
"TARGET": find_data_file("single.rst"),
}
builder = Builder(**config)
assert builder is ... | 34.958333 | 76 | 0.581985 | 689 | 5,873 | 4.744557 | 0.092888 | 0.082594 | 0.091771 | 0.087183 | 0.89018 | 0.872438 | 0.830529 | 0.830529 | 0.79688 | 0.780973 | 0 | 0 | 0.287076 | 5,873 | 167 | 77 | 35.167665 | 0.78075 | 0 | 0 | 0.668919 | 0 | 0 | 0.107952 | 0 | 0 | 0 | 0 | 0 | 0.195946 | 1 | 0.074324 | false | 0 | 0.02027 | 0 | 0.101351 | 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 |
ad78bf9db59f447105067116f9d4a962fdd70b18 | 446 | py | Python | recognizer/pddl/state.py | RukNdf/MA-Landmark | 4038ebe7edc9e353e1987479f5f9edc528a4bd2a | [
"Unlicense"
] | null | null | null | recognizer/pddl/state.py | RukNdf/MA-Landmark | 4038ebe7edc9e353e1987479f5f9edc528a4bd2a | [
"Unlicense"
] | null | null | null | recognizer/pddl/state.py | RukNdf/MA-Landmark | 4038ebe7edc9e353e1987479f5f9edc528a4bd2a | [
"Unlicense"
] | null | null | null | # -----------------------------------------------
# Applicable
# -----------------------------------------------
def applicable(state, positive, negative):
return positive.issubset(state) and not negative.intersection(state)
# -----------------------------------------------
# Apply
# ---------------------------... | 26.235294 | 72 | 0.419283 | 28 | 446 | 6.678571 | 0.5 | 0.139037 | 0.224599 | 0.28877 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.091928 | 446 | 16 | 73 | 27.875 | 0.461728 | 0.466368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 6 |
ad8944ac723600ec12c5c0b8cf19ea2c38139159 | 3,449 | py | Python | PasswordGenerator/password_generator.py | Unbewohnte/Password-Generator-site | 7b331d6f1b5335cea872666b6d22636990159d49 | [
"MIT"
] | null | null | null | PasswordGenerator/password_generator.py | Unbewohnte/Password-Generator-site | 7b331d6f1b5335cea872666b6d22636990159d49 | [
"MIT"
] | null | null | null | PasswordGenerator/password_generator.py | Unbewohnte/Password-Generator-site | 7b331d6f1b5335cea872666b6d22636990159d49 | [
"MIT"
] | null | null | null | import random
import string
digits = list(string.digits*10 + string.ascii_lowercase*10)
uppercase = list(string.ascii_uppercase + string.ascii_lowercase)*30
lowercase = list(string.ascii_lowercase)*30
punct = list(string.ascii_lowercase*10 + string.punctuation*5)
upp_dig = list(string.digits*10 + string.asc... | 40.576471 | 116 | 0.575239 | 413 | 3,449 | 4.709443 | 0.150121 | 0.067866 | 0.082262 | 0.074036 | 0.813882 | 0.743445 | 0.726992 | 0.702828 | 0.682262 | 0.682262 | 0 | 0.014388 | 0.314874 | 3,449 | 84 | 117 | 41.059524 | 0.808718 | 0.017686 | 0 | 0.457143 | 0 | 0 | 0.022404 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.014286 | false | 0.585714 | 0.028571 | 0 | 0.157143 | 0.014286 | 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 |
a8e89dc3ba0a767a8548b026ffc73127894e2e30 | 38,858 | py | Python | test/test_lca.py | MichaelTeti/lca-pytorch | 702ad3caba159390f4a031a3386587ff0cb79d12 | [
"MIT"
] | null | null | null | test/test_lca.py | MichaelTeti/lca-pytorch | 702ad3caba159390f4a031a3386587ff0cb79d12 | [
"MIT"
] | 7 | 2022-03-13T21:42:36.000Z | 2022-03-29T22:51:23.000Z | test/test_lca.py | MichaelTeti/lca-pytorch | 702ad3caba159390f4a031a3386587ff0cb79d12 | [
"MIT"
] | null | null | null | from tempfile import TemporaryDirectory
import unittest
import torch
from torch.testing import assert_close
from lcapt.lca import LCAConv1D, LCAConv2D, LCAConv3D
class TestLCA(unittest.TestCase):
def test_LCAConv1D_to_correct_input_shape_raises_ValueError(self):
with TemporaryDirectory() as tmp_dir:
... | 43.079823 | 88 | 0.557028 | 4,841 | 38,858 | 4.238381 | 0.03429 | 0.055853 | 0.120382 | 0.129642 | 0.95945 | 0.952091 | 0.932937 | 0.917828 | 0.891949 | 0.862024 | 0 | 0.069415 | 0.333419 | 38,858 | 901 | 89 | 43.127636 | 0.722724 | 0 | 0 | 0.664141 | 0 | 0 | 0.004658 | 0 | 0 | 0 | 0 | 0 | 0.132576 | 1 | 0.119949 | false | 0 | 0.006313 | 0 | 0.127525 | 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 |
d171185f8777ee35a4cf795f4714d8c65b368cdf | 2,156 | py | Python | backend/tests/serializers/test_media_asset.py | druzhynin-oleksii/model_garden | 3599f5d0c81bc79139ceabed5dd647c29ccadc31 | [
"MIT"
] | 8 | 2020-09-10T18:28:19.000Z | 2022-02-22T03:41:14.000Z | backend/tests/serializers/test_media_asset.py | druzhynin-oleksii/model_garden | 3599f5d0c81bc79139ceabed5dd647c29ccadc31 | [
"MIT"
] | 1 | 2020-09-15T21:20:29.000Z | 2020-09-15T21:20:29.000Z | backend/tests/serializers/test_media_asset.py | druzhynin-oleksii/model_garden | 3599f5d0c81bc79139ceabed5dd647c29ccadc31 | [
"MIT"
] | 8 | 2020-09-10T16:29:35.000Z | 2022-01-25T15:05:03.000Z | from tests import BaseTestCase
from model_garden.constants import LabelingTaskStatus
from model_garden.serializers import MediaAssetSerializer
class TestMediaAssetSerializer(BaseTestCase):
def test_serialize(self):
media_asset = self.test_factory.create_media_asset()
serializer = MediaAssetSerializer(med... | 33.6875 | 91 | 0.739332 | 246 | 2,156 | 6.065041 | 0.166667 | 0.19437 | 0.096515 | 0.070375 | 0.845845 | 0.835791 | 0.835791 | 0.788874 | 0.761394 | 0.761394 | 0 | 0 | 0.174861 | 2,156 | 63 | 92 | 34.222222 | 0.838673 | 0 | 0 | 0.607843 | 0 | 0 | 0.122449 | 0.021336 | 0 | 0 | 0 | 0 | 0.058824 | 1 | 0.058824 | false | 0 | 0.058824 | 0 | 0.137255 | 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 |
0f033b7fa016a99c7f5dcbea6ea31f3765c30612 | 42 | py | Python | zested/gui/__init__.py | Klafyvel/ZestEd | 4b508aa750c8acf6c592a9a725e260aeff0e43f0 | [
"BSD-2-Clause"
] | 1 | 2016-01-27T17:44:27.000Z | 2016-01-27T17:44:27.000Z | zested/gui/__init__.py | Klafyvel/ZestEd | 4b508aa750c8acf6c592a9a725e260aeff0e43f0 | [
"BSD-2-Clause"
] | 3 | 2017-12-06T13:23:32.000Z | 2017-12-06T13:23:43.000Z | zested/gui/__init__.py | Luthaf/Zested | 6731ddf50a44f94569528520395309037317f69b | [
"BSD-2-Clause"
] | null | null | null | from .editor import *
from .main import *
| 14 | 21 | 0.714286 | 6 | 42 | 5 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 42 | 2 | 22 | 21 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0f3aa1e8783ed9701524a08556722c5b189a3575 | 7,347 | py | Python | exercises/networking_selfpaced/networking-workshop/collections/ansible_collections/community/general/tests/unit/modules/messaging/rabbitmq/test_rabbitmq_user.py | tr3ck3r/linklight | 5060f624c235ecf46cb62cefcc6bddc6bf8ca3e7 | [
"MIT"
] | null | null | null | exercises/networking_selfpaced/networking-workshop/collections/ansible_collections/community/general/tests/unit/modules/messaging/rabbitmq/test_rabbitmq_user.py | tr3ck3r/linklight | 5060f624c235ecf46cb62cefcc6bddc6bf8ca3e7 | [
"MIT"
] | null | null | null | exercises/networking_selfpaced/networking-workshop/collections/ansible_collections/community/general/tests/unit/modules/messaging/rabbitmq/test_rabbitmq_user.py | tr3ck3r/linklight | 5060f624c235ecf46cb62cefcc6bddc6bf8ca3e7 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from ansible_collections.community.general.plugins.modules.messaging.rabbitmq import rabbitmq_user
from ansible_collections.community.general.tests.unit.compat.mock import patch
from ansible_collections.community.general.tests.unit.modules.utils import AnsibleExitJson, AnsibleFailJson, ModuleTe... | 54.422222 | 143 | 0.676058 | 765 | 7,347 | 6.194771 | 0.152941 | 0.050644 | 0.102553 | 0.129141 | 0.783921 | 0.768939 | 0.747837 | 0.726947 | 0.713231 | 0.702469 | 0 | 0.000681 | 0.200898 | 7,347 | 134 | 144 | 54.828358 | 0.806507 | 0.010072 | 0 | 0.68595 | 0 | 0 | 0.383239 | 0.274116 | 0 | 0 | 0 | 0 | 0.123967 | 1 | 0.07438 | false | 0.082645 | 0.024793 | 0 | 0.107438 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
7e3a338ef49f0143bb51b37cb7087fb1b187a54e | 17 | py | Python | mklaren/util/__init__.py | tkemps/mklaren | d9e7890aaa26cb3877e1a82114ab1e52df595d96 | [
"BSD-2-Clause"
] | 3 | 2019-10-28T17:20:37.000Z | 2020-08-20T22:59:18.000Z | mklaren/util/__init__.py | tkemps/mklaren | d9e7890aaa26cb3877e1a82114ab1e52df595d96 | [
"BSD-2-Clause"
] | null | null | null | mklaren/util/__init__.py | tkemps/mklaren | d9e7890aaa26cb3877e1a82114ab1e52df595d96 | [
"BSD-2-Clause"
] | 1 | 2019-10-28T17:20:35.000Z | 2019-10-28T17:20:35.000Z | from .la import * | 17 | 17 | 0.705882 | 3 | 17 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176471 | 17 | 1 | 17 | 17 | 0.857143 | 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.