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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
c0c25bf174c792a5020e871e033fa75eb62e7d96 | 194 | py | Python | questions/admin.py | Dev-Mehta/AskaDev | 4514383cb1f94178e8082f0b710c7efbdd3225a7 | [
"MIT"
] | 7 | 2020-08-26T12:32:50.000Z | 2020-09-20T09:17:12.000Z | questions/admin.py | Dev-Mehta/AskaDev | 4514383cb1f94178e8082f0b710c7efbdd3225a7 | [
"MIT"
] | null | null | null | questions/admin.py | Dev-Mehta/AskaDev | 4514383cb1f94178e8082f0b710c7efbdd3225a7 | [
"MIT"
] | 3 | 2020-08-27T06:06:43.000Z | 2020-10-10T15:53:26.000Z | from django.contrib import admin
from .models import Question, Tags, Answer, Liker
admin.site.register(Question)
admin.site.register(Tags)
admin.site.register(Answer)
admin.site.register(Liker) | 27.714286 | 49 | 0.814433 | 28 | 194 | 5.642857 | 0.428571 | 0.227848 | 0.43038 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.07732 | 194 | 7 | 50 | 27.714286 | 0.882682 | 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 |
c0c4625a595becfd84396d44a58b81b3795278c2 | 107 | py | Python | training/batch/collate/__init__.py | MoritzWillig/flowbias | d08e1d8cd250ed147060d374f648e39a23ef16f5 | [
"Apache-2.0"
] | null | null | null | training/batch/collate/__init__.py | MoritzWillig/flowbias | d08e1d8cd250ed147060d374f648e39a23ef16f5 | [
"Apache-2.0"
] | null | null | null | training/batch/collate/__init__.py | MoritzWillig/flowbias | d08e1d8cd250ed147060d374f648e39a23ef16f5 | [
"Apache-2.0"
] | null | null | null | from . import vbatch_collate
CombinedDatasetVBatchCollator = vbatch_collate.CombinedDatasetVBatchCollator
| 26.75 | 76 | 0.897196 | 8 | 107 | 11.75 | 0.625 | 0.276596 | 0.893617 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074766 | 107 | 3 | 77 | 35.666667 | 0.949495 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 1 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
c0c6d75fadc00a3cc07fa42fb8344736ace809a1 | 39 | py | Python | website_sale_add_to_cart/controllers/__init__.py | factorlibre/website-addons | 9a0c7a238e2b6030d57f7a08d48816b4f2431524 | [
"MIT"
] | 1 | 2020-03-01T03:04:21.000Z | 2020-03-01T03:04:21.000Z | website_sale_add_to_cart/controllers/__init__.py | factorlibre/website-addons | 9a0c7a238e2b6030d57f7a08d48816b4f2431524 | [
"MIT"
] | null | null | null | website_sale_add_to_cart/controllers/__init__.py | factorlibre/website-addons | 9a0c7a238e2b6030d57f7a08d48816b4f2431524 | [
"MIT"
] | 3 | 2019-07-29T20:23:16.000Z | 2021-01-07T20:51:24.000Z | from . import website_sale_add_to_cart
| 19.5 | 38 | 0.871795 | 7 | 39 | 4.285714 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 39 | 1 | 39 | 39 | 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 |
8d0481849953dab3f61b34727927fa5652a36f4b | 12,008 | py | Python | config/manifold_mixup/manifold_model.py | lx10077/optimpy | 8d3a4faa1e7291297497446fc77df5409acd73b9 | [
"MIT"
] | null | null | null | config/manifold_mixup/manifold_model.py | lx10077/optimpy | 8d3a4faa1e7291297497446fc77df5409acd73b9 | [
"MIT"
] | null | null | null | config/manifold_mixup/manifold_model.py | lx10077/optimpy | 8d3a4faa1e7291297497446fc77df5409acd73b9 | [
"MIT"
] | null | null | null | import torch
import torch.nn as nn
import torch.nn.functional as F
import numpy as np
__all__ = ["ResNet18", "ResNet34", "ResNet50", "ResNet101", "ResNet152",
"PreActResNet18", "PreActResNet34", "PreActResNet50", "PreActResNet101", "PreActResNet152"]
use_cuda = torch.cuda.is_available()
# ===============... | 37.525 | 107 | 0.614674 | 1,534 | 12,008 | 4.623859 | 0.08605 | 0.045115 | 0.042859 | 0.032567 | 0.860426 | 0.849147 | 0.808685 | 0.768504 | 0.754406 | 0.705907 | 0 | 0.033058 | 0.234177 | 12,008 | 319 | 108 | 37.642633 | 0.738256 | 0.049717 | 0 | 0.623377 | 0 | 0 | 0.012112 | 0 | 0 | 0 | 0 | 0 | 0.008658 | 1 | 0.121212 | false | 0 | 0.017316 | 0.04329 | 0.285714 | 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 |
23bf4cdc564b8677762fc0920ba51bac1ca584e9 | 277 | py | Python | repairing_genomic_gaps/utils/axis_softmax.py | LucaCappelletti94/repairing_genomic_gaps | 38d43c732cbd092b52c1eaf0b33a9bd47a14ebd4 | [
"MIT"
] | null | null | null | repairing_genomic_gaps/utils/axis_softmax.py | LucaCappelletti94/repairing_genomic_gaps | 38d43c732cbd092b52c1eaf0b33a9bd47a14ebd4 | [
"MIT"
] | null | null | null | repairing_genomic_gaps/utils/axis_softmax.py | LucaCappelletti94/repairing_genomic_gaps | 38d43c732cbd092b52c1eaf0b33a9bd47a14ebd4 | [
"MIT"
] | null | null | null | import tensorflow as tf
def axis_softmax(x: tf.Tensor) -> tf.Tensor:
"""Define a softmax that works on the one-hot encoded axis."""
# This import is required for storing this lambda
# with the model
import tensorflow as tf
return tf.nn.softmax(x, axis=2)
| 27.7 | 66 | 0.693141 | 45 | 277 | 4.244444 | 0.644444 | 0.167539 | 0.188482 | 0.209424 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00463 | 0.220217 | 277 | 9 | 67 | 30.777778 | 0.87963 | 0.433213 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 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 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
23d0d6fd5de88ac31bcb7e7a07f16915cbc44a3e | 6,997 | py | Python | tests/functional/sources/test_source_configs.py | tomasfarias/dbt-core | ed5df342ca5d99c5e6971ee6d11c8cf3e6e263b3 | [
"Apache-2.0"
] | 799 | 2021-10-13T21:40:33.000Z | 2022-03-31T16:19:31.000Z | tests/functional/sources/test_source_configs.py | tomasfarias/dbt-core | ed5df342ca5d99c5e6971ee6d11c8cf3e6e263b3 | [
"Apache-2.0"
] | 939 | 2021-10-13T17:45:24.000Z | 2022-03-31T22:09:58.000Z | tests/functional/sources/test_source_configs.py | tomasfarias/dbt-core | ed5df342ca5d99c5e6971ee6d11c8cf3e6e263b3 | [
"Apache-2.0"
] | 175 | 2021-10-14T18:59:06.000Z | 2022-03-31T16:17:32.000Z | import pytest
from dbt.contracts.graph.model_config import SourceConfig
from dbt.tests.util import run_dbt, update_config_file, get_manifest
class SourceConfigTests:
@pytest.fixture(scope="class", autouse=True)
def setUp(self):
pytest.expected_config = SourceConfig(
enabled=True,
... | 30.290043 | 110 | 0.671716 | 809 | 6,997 | 5.52534 | 0.096415 | 0.084564 | 0.056376 | 0.071588 | 0.819239 | 0.769799 | 0.748993 | 0.738479 | 0.71566 | 0.689262 | 0 | 0.001684 | 0.236387 | 6,997 | 230 | 111 | 30.421739 | 0.834924 | 0.073746 | 0 | 0.649425 | 0 | 0 | 0.280593 | 0.095952 | 0 | 0 | 0 | 0 | 0.12069 | 1 | 0.097701 | false | 0 | 0.017241 | 0.057471 | 0.212644 | 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 |
23d4fb5a28155ca087f950ee9bd1dff6d6962246 | 12,557 | py | Python | laserfiche_api/api/field_definitions_api.py | Layer8Err/laserfiche_api | 8c9030c8f5cc245b61858bd096a1ad3c58cdbfd2 | [
"BSD-2-Clause"
] | 1 | 2021-06-17T23:51:25.000Z | 2021-06-17T23:51:25.000Z | laserfiche_api/api/field_definitions_api.py | Layer8Err/laserfiche_api | 8c9030c8f5cc245b61858bd096a1ad3c58cdbfd2 | [
"BSD-2-Clause"
] | null | null | null | laserfiche_api/api/field_definitions_api.py | Layer8Err/laserfiche_api | 8c9030c8f5cc245b61858bd096a1ad3c58cdbfd2 | [
"BSD-2-Clause"
] | null | null | null | # coding: utf-8
"""
Laserfiche API
Welcome to the Laserfiche API Swagger Playground. You can try out any of our API calls against your live Laserfiche Cloud account. Visit the developer center for more details: <a href=\"https://developer.laserfiche.com\">https://developer.laserfiche.com</a><p><strong>Build# ... | 48.296154 | 356 | 0.653261 | 1,561 | 12,557 | 5.051249 | 0.153107 | 0.038554 | 0.036652 | 0.027901 | 0.866455 | 0.84591 | 0.830564 | 0.820926 | 0.816107 | 0.80241 | 0 | 0.014808 | 0.2632 | 12,557 | 259 | 357 | 48.482625 | 0.837441 | 0.454408 | 0 | 0.666667 | 0 | 0 | 0.21035 | 0.067721 | 0 | 0 | 0 | 0 | 0 | 1 | 0.037879 | false | 0 | 0.030303 | 0 | 0.121212 | 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 |
9b22cdc461579a0c11a3004554bfc17ba7d53431 | 100 | py | Python | pyloadlimiter/__init__.py | fabiofenoglio/py-load-limiter | 7032c5dd967f4f69df2e7bf15c7ad685f2c6ba9e | [
"MIT"
] | null | null | null | pyloadlimiter/__init__.py | fabiofenoglio/py-load-limiter | 7032c5dd967f4f69df2e7bf15c7ad685f2c6ba9e | [
"MIT"
] | null | null | null | pyloadlimiter/__init__.py | fabiofenoglio/py-load-limiter | 7032c5dd967f4f69df2e7bf15c7ad685f2c6ba9e | [
"MIT"
] | null | null | null | from .types import *
from .persistence import *
from .load_limiter import *
from .composite import * | 25 | 27 | 0.77 | 13 | 100 | 5.846154 | 0.538462 | 0.394737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 100 | 4 | 28 | 25 | 0.894118 | 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 |
f1d89609794720a0bbb916c9e3302988a05bcdae | 88 | py | Python | src/python/zensols/db/__init__.py | plandes/dbutil | 5ed1c99dcf9ced105d502d3c58d52e8d2726834d | [
"MIT"
] | null | null | null | src/python/zensols/db/__init__.py | plandes/dbutil | 5ed1c99dcf9ced105d502d3c58d52e8d2726834d | [
"MIT"
] | null | null | null | src/python/zensols/db/__init__.py | plandes/dbutil | 5ed1c99dcf9ced105d502d3c58d52e8d2726834d | [
"MIT"
] | null | null | null | from .parse import *
from .bean import *
from .sqlite import *
from .dataclass import *
| 17.6 | 24 | 0.727273 | 12 | 88 | 5.333333 | 0.5 | 0.46875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 88 | 4 | 25 | 22 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7b1137ccf7e5c40928be6442ee4558e1cb3072c4 | 177 | py | Python | backend/confnetti/tasks/models.py | pfroelke/Confne | bd7771fdd3c6e59ec0f327ba2b9d72d31cb8e582 | [
"MIT"
] | null | null | null | backend/confnetti/tasks/models.py | pfroelke/Confne | bd7771fdd3c6e59ec0f327ba2b9d72d31cb8e582 | [
"MIT"
] | 14 | 2021-03-30T14:26:53.000Z | 2022-03-02T10:40:40.000Z | backend/confnetti/tasks/models.py | pfroelke/Confnetti | bd7771fdd3c6e59ec0f327ba2b9d72d31cb8e582 | [
"MIT"
] | null | null | null | from django.db import models
# Create your models here.
class Task(models.Model):
name = models.CharField(max_length=32)
description = models.CharField(max_length=256)
| 25.285714 | 50 | 0.757062 | 25 | 177 | 5.28 | 0.72 | 0.227273 | 0.272727 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033113 | 0.146893 | 177 | 6 | 51 | 29.5 | 0.84106 | 0.135593 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
9e4d9d012b0faa06fb4a84305102c213c4a49ae9 | 147 | py | Python | server/model/tasks/__init__.py | 74th/vscode-book-python | a3a90ee57851bca9898c60e8fa74c92e53e9469b | [
"MIT"
] | 3 | 2020-04-26T15:35:01.000Z | 2020-08-15T07:02:58.000Z | server/model/tasks/__init__.py | 74th/vscode-book-python | a3a90ee57851bca9898c60e8fa74c92e53e9469b | [
"MIT"
] | null | null | null | server/model/tasks/__init__.py | 74th/vscode-book-python | a3a90ee57851bca9898c60e8fa74c92e53e9469b | [
"MIT"
] | 2 | 2021-08-20T06:39:40.000Z | 2022-03-07T12:24:42.000Z | from .tasks import Task
from .tasks import serialize_task, deserialize_task, serialize_tasks, deserialize_tasks
from .repository import Repository
| 36.75 | 87 | 0.857143 | 19 | 147 | 6.421053 | 0.368421 | 0.147541 | 0.245902 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102041 | 147 | 3 | 88 | 49 | 0.924242 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9e997f12ec118b757f6d3f16e26898c9802e135f | 105 | py | Python | oaff/app/oaff/app/requests/landing_page.py | JBurkinshaw/ogc-api-fast-features | 4fc6ba3cc4df1600450fe4c9f35320b00c69f158 | [
"MIT"
] | 19 | 2021-07-06T16:35:27.000Z | 2022-02-08T04:59:21.000Z | oaff/app/oaff/app/requests/landing_page.py | JBurkinshaw/ogc-api-fast-features | 4fc6ba3cc4df1600450fe4c9f35320b00c69f158 | [
"MIT"
] | 30 | 2021-07-14T04:13:11.000Z | 2021-11-22T20:45:15.000Z | oaff/app/oaff/app/requests/landing_page.py | JBurkinshaw/ogc-api-fast-features | 4fc6ba3cc4df1600450fe4c9f35320b00c69f158 | [
"MIT"
] | 6 | 2021-07-06T16:35:28.000Z | 2021-09-17T19:24:49.000Z | from oaff.app.requests.common.request_type import RequestType
class LandingPage(RequestType):
pass
| 17.5 | 61 | 0.809524 | 13 | 105 | 6.461538 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12381 | 105 | 5 | 62 | 21 | 0.913043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
9ea3b0e33aef285b39bd7ae3f3d633e466bd5d1f | 231 | py | Python | eip712_structs/__init__.py | curv85/py-eip712-structs | 4bca7b31d12e6b82b3449557a5a49ccdc98110e2 | [
"MIT"
] | null | null | null | eip712_structs/__init__.py | curv85/py-eip712-structs | 4bca7b31d12e6b82b3449557a5a49ccdc98110e2 | [
"MIT"
] | null | null | null | eip712_structs/__init__.py | curv85/py-eip712-structs | 4bca7b31d12e6b82b3449557a5a49ccdc98110e2 | [
"MIT"
] | null | null | null | from eip712_structs.domain_separator import make_domain # noqa: W0611
from eip712_structs.struct import EIP712Struct # noqa: W0611
from eip712_structs.types import Address, Array, Boolean, Bytes, Int, String, Uint # noqa: W0611
| 57.75 | 97 | 0.805195 | 32 | 231 | 5.65625 | 0.59375 | 0.165746 | 0.281768 | 0.209945 | 0.287293 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119403 | 0.12987 | 231 | 3 | 98 | 77 | 0.781095 | 0.151515 | 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 |
9ea8b90cc5c6f31756713e03478dc1afa3d71b14 | 84 | py | Python | crackrar/launchers/__init__.py | GDelevoye/sisters-rarcrack | 27580171615dd504f691462d67a1baa6fcff0c63 | [
"MIT"
] | 1 | 2021-02-28T23:27:19.000Z | 2021-02-28T23:27:19.000Z | crackrar/launchers/__init__.py | GDelevoye/codingsisters-crackrar | 27580171615dd504f691462d67a1baa6fcff0c63 | [
"MIT"
] | null | null | null | crackrar/launchers/__init__.py | GDelevoye/codingsisters-crackrar | 27580171615dd504f691462d67a1baa6fcff0c63 | [
"MIT"
] | null | null | null | from crackrar.launchers.crackrar import *
from crackrar.launchers.brutegen import *
| 28 | 41 | 0.833333 | 10 | 84 | 7 | 0.5 | 0.342857 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 84 | 2 | 42 | 42 | 0.921053 | 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 | 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 |
7b4061953d6dc4a64356baffcd6a0d9f2c3ac5cb | 196 | py | Python | learning_logs/admin.py | lincoco/learning_log | 980c4ae41cd4e34d3208057a77e7d232c389dec3 | [
"MIT"
] | 1 | 2019-06-03T03:41:26.000Z | 2019-06-03T03:41:26.000Z | learning_logs/admin.py | lincoco/learning_log | 980c4ae41cd4e34d3208057a77e7d232c389dec3 | [
"MIT"
] | null | null | null | learning_logs/admin.py | lincoco/learning_log | 980c4ae41cd4e34d3208057a77e7d232c389dec3 | [
"MIT"
] | null | null | null | from django.contrib import admin
from learning_logs.models import Topic
from learning_logs.models import Entry
admin.site.register(Topic)
admin.site.register(Entry)
# Register your models here.
| 21.777778 | 38 | 0.826531 | 29 | 196 | 5.517241 | 0.482759 | 0.15 | 0.2 | 0.275 | 0.35 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107143 | 196 | 8 | 39 | 24.5 | 0.914286 | 0.132653 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
c8dadaa8406bbd248d6f78e7e412c02fe690e17f | 45,410 | py | Python | timeboard/tests/test_intervals.py | yurj/timeboard | e11162687a114254116adb5663accfcc227350e3 | [
"BSD-3-Clause"
] | 120 | 2018-03-07T00:28:59.000Z | 2022-02-04T23:31:34.000Z | timeboard/tests/test_intervals.py | yurj/timeboard | e11162687a114254116adb5663accfcc227350e3 | [
"BSD-3-Clause"
] | 14 | 2018-02-12T08:15:04.000Z | 2021-03-06T22:03:28.000Z | timeboard/tests/test_intervals.py | yurj/timeboard | e11162687a114254116adb5663accfcc227350e3 | [
"BSD-3-Clause"
] | 23 | 2018-03-28T13:31:11.000Z | 2022-03-23T02:57:48.000Z | import timeboard as tb
from timeboard.interval import Interval, _VoidInterval
from timeboard.workshift import Workshift
from timeboard.exceptions import (OutOfBoundsError, PartialOutOfBoundsError,
VoidIntervalError)
from timeboard.timeboard import _Location, OOB_LEFT, OOB_RIGHT, LOC_WI... | 44.827246 | 83 | 0.593239 | 6,032 | 45,410 | 4.26807 | 0.054542 | 0.022373 | 0.038842 | 0.050845 | 0.853408 | 0.825675 | 0.788697 | 0.745154 | 0.720373 | 0.670616 | 0 | 0.092839 | 0.287448 | 45,410 | 1,012 | 84 | 44.871542 | 0.702815 | 0.071086 | 0 | 0.56 | 0 | 0 | 0.100795 | 0 | 0 | 0 | 0 | 0 | 0.236364 | 1 | 0.083636 | false | 0 | 0.010909 | 0.001212 | 0.109091 | 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 |
c8ddc0be023c5f82b0986be56e600aee985cd21e | 8,056 | py | Python | rnn_network.py | Wangsj18/ctcx_recognition | 726a4a91309f66a1e7abeac5b2a2bacb34da1a28 | [
"MIT"
] | null | null | null | rnn_network.py | Wangsj18/ctcx_recognition | 726a4a91309f66a1e7abeac5b2a2bacb34da1a28 | [
"MIT"
] | null | null | null | rnn_network.py | Wangsj18/ctcx_recognition | 726a4a91309f66a1e7abeac5b2a2bacb34da1a28 | [
"MIT"
] | null | null | null | import tensorflow as tf
from tensorflow.contrib import rnn
import parameters as pa
import numpy as np
import video_utils
def build_lstm_network(batch_time_input, n_unit, layer_num):
"""
build rnn network
:param batch_time_input: [batch, time_step, n_input]
:return:prediction_list
"""
keep_prob... | 49.121951 | 124 | 0.693024 | 1,186 | 8,056 | 4.311973 | 0.102867 | 0.089754 | 0.060227 | 0.042237 | 0.856668 | 0.838287 | 0.814822 | 0.811693 | 0.807196 | 0.800352 | 0 | 0.022928 | 0.198734 | 8,056 | 163 | 125 | 49.423313 | 0.769326 | 0.072244 | 0 | 0.64 | 0 | 0 | 0.016088 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.072 | false | 0 | 0.04 | 0 | 0.184 | 0.016 | 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 |
c8deeb4b5fc5f1cba7f00089172dfab0eb79e91e | 88 | py | Python | utils/plotter.py | cds-snc/gc_forms_load_testing | adb1217b36e10047e0470b4de2e47033517f91f8 | [
"MIT"
] | null | null | null | utils/plotter.py | cds-snc/gc_forms_load_testing | adb1217b36e10047e0470b4de2e47033517f91f8 | [
"MIT"
] | null | null | null | utils/plotter.py | cds-snc/gc_forms_load_testing | adb1217b36e10047e0470b4de2e47033517f91f8 | [
"MIT"
] | null | null | null | from bokeh.models import DatetimeTickFormatter
from bokeh.plotting import figure, show
| 22 | 46 | 0.852273 | 11 | 88 | 6.818182 | 0.727273 | 0.24 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113636 | 88 | 3 | 47 | 29.333333 | 0.961538 | 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 |
74032cb8f728c9878d5e089c5fe1bb9a93316ca7 | 1,127 | py | Python | tests/test_randcrack.py | levijskal/Python-random-module-cracker | 260241efaaed0132b05a46c25deccc4306ba965f | [
"MIT"
] | 201 | 2018-04-21T01:32:45.000Z | 2022-03-27T21:02:31.000Z | tests/test_randcrack.py | levijskal/Python-random-module-cracker | 260241efaaed0132b05a46c25deccc4306ba965f | [
"MIT"
] | 8 | 2019-04-09T22:39:58.000Z | 2022-02-28T17:13:17.000Z | tests/test_randcrack.py | levijskal/Python-random-module-cracker | 260241efaaed0132b05a46c25deccc4306ba965f | [
"MIT"
] | 21 | 2018-04-18T03:26:33.000Z | 2022-03-02T16:33:45.000Z | import random
import time
import pytest
from randcrack import RandCrack
def test_submit_not_enough():
random.seed(time.time())
cracker = RandCrack()
for i in range(623):
cracker.submit(random.randint(0, 4294967294))
with pytest.raises(ValueError):
cracker.predict_randint(0, 1)
d... | 21.264151 | 103 | 0.681455 | 146 | 1,127 | 5.136986 | 0.260274 | 0.056 | 0.126667 | 0.173333 | 0.761333 | 0.761333 | 0.721333 | 0.721333 | 0.721333 | 0.721333 | 0 | 0.108049 | 0.195209 | 1,127 | 52 | 104 | 21.673077 | 0.718853 | 0 | 0 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 1 | 0.133333 | false | 0 | 0.133333 | 0 | 0.266667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
cd9cac62255432fc8d554f7346e2353c7622bf29 | 7,720 | py | Python | tkoptiondialog.py | gd-codes/minecraft-pixel-art | f324e9d2381778a5ef3beb1b6807a3c8429b7c02 | [
"MIT"
] | 3 | 2020-10-16T11:35:02.000Z | 2021-08-11T18:16:59.000Z | tkoptiondialog.py | gd-codes/minecraft-pixel-art | f324e9d2381778a5ef3beb1b6807a3c8429b7c02 | [
"MIT"
] | null | null | null | tkoptiondialog.py | gd-codes/minecraft-pixel-art | f324e9d2381778a5ef3beb1b6807a3c8429b7c02 | [
"MIT"
] | null | null | null | """
tkoptiondialog.py
Module to use tkinter to create a window that shows multiple user-specified
RadioButtons or CheckButtons to select and returns values, like simpledialog
returns strings, integers or floats
To create a dialog with radiobuttons, use
>>> askradio(choicelist, title='', prompt="", parent=None... | 39.387755 | 84 | 0.585492 | 969 | 7,720 | 4.599587 | 0.188854 | 0.049361 | 0.014808 | 0.020193 | 0.787301 | 0.768454 | 0.757909 | 0.746242 | 0.733677 | 0.733677 | 0 | 0.012985 | 0.301684 | 7,720 | 195 | 85 | 39.589744 | 0.813764 | 0.178497 | 0 | 0.845588 | 0 | 0 | 0.013971 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.073529 | false | 0 | 0.014706 | 0 | 0.147059 | 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 |
cdd0b1f07ea6ec3122b22b379d9d93436a8df5b9 | 9,374 | py | Python | Template/ProcessMFT_voc.py | szegedai/hun_ner_checklist | d4aefc29b3d6966e71f1c47d469c2cbbf6dcf561 | [
"MIT"
] | null | null | null | Template/ProcessMFT_voc.py | szegedai/hun_ner_checklist | d4aefc29b3d6966e71f1c47d469c2cbbf6dcf561 | [
"MIT"
] | null | null | null | Template/ProcessMFT_voc.py | szegedai/hun_ner_checklist | d4aefc29b3d6966e71f1c47d469c2cbbf6dcf561 | [
"MIT"
] | null | null | null | import itertools
from TemplateReader import readLines
from TemplateWriter import *
def cartesianProduct(start, finish):
tagsDf = templateDf[start-1:start].dropna(axis=1, how='all').values.tolist()
tags = tagsDf[0]
persons1 = templateDf['Basic cases'][start] + ' ' + templateDf['Unnamed: 1'][start] + ' ' +... | 37.951417 | 245 | 0.657243 | 954 | 9,374 | 6.433962 | 0.119497 | 0.135712 | 0.096774 | 0.039589 | 0.838547 | 0.780873 | 0.745846 | 0.745846 | 0.710655 | 0.703975 | 0 | 0.028034 | 0.200875 | 9,374 | 246 | 246 | 38.105691 | 0.79135 | 0 | 0 | 0.626374 | 0 | 0 | 0.09345 | 0.006187 | 0 | 0 | 0 | 0 | 0 | 1 | 0.065934 | false | 0 | 0.016484 | 0 | 0.082418 | 0.005495 | 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 |
cdd4e3ffebc501932473d07ec9cf9656a1fa2671 | 33 | py | Python | rikerbot/proto/__init__.py | nickelpro/RikerBot | fdf8c96a3c13a4327afcefb650d1ad352ee6552b | [
"Zlib"
] | 45 | 2020-08-07T18:09:29.000Z | 2022-03-07T12:36:35.000Z | rikerbot/proto/__init__.py | nickelpro/RikerBot | fdf8c96a3c13a4327afcefb650d1ad352ee6552b | [
"Zlib"
] | 22 | 2020-08-11T07:34:59.000Z | 2022-02-16T16:51:25.000Z | rikerbot/proto/__init__.py | nickelpro/RikerBot | fdf8c96a3c13a4327afcefb650d1ad352ee6552b | [
"Zlib"
] | 10 | 2020-08-14T22:54:35.000Z | 2022-03-18T18:03:45.000Z | from .MinecraftProtocol import *
| 16.5 | 32 | 0.818182 | 3 | 33 | 9 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 33 | 1 | 33 | 33 | 0.931034 | 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 |
a81975f0a2a96cdd0b8417759af2d1e8fc0e7ee3 | 1,412 | py | Python | mindsdb/libs/data_types/transaction_output_row.py | claswh/mindsdb | 3222cd34eb45c6d8c3a8fa3e0d9ee1eb5e78068c | [
"MIT"
] | 1 | 2019-07-09T20:21:27.000Z | 2019-07-09T20:21:27.000Z | mindsdb/libs/data_types/transaction_output_row.py | claswh/mindsdb | 3222cd34eb45c6d8c3a8fa3e0d9ee1eb5e78068c | [
"MIT"
] | null | null | null | mindsdb/libs/data_types/transaction_output_row.py | claswh/mindsdb | 3222cd34eb45c6d8c3a8fa3e0d9ee1eb5e78068c | [
"MIT"
] | null | null | null | from mindsdb.libs.helpers.explain_prediction import explain_prediction
class TransactionOutputRow:
def __init__(self, transaction_output, row_index):
self.transaction_output = transaction_output
self.row_index = row_index
def __getitem__(self, item):
return self.transaction_output.dat... | 39.222222 | 155 | 0.737252 | 190 | 1,412 | 5.194737 | 0.252632 | 0.258359 | 0.297872 | 0.227964 | 0.272543 | 0.235056 | 0.199595 | 0.164134 | 0.164134 | 0.164134 | 0 | 0 | 0.165014 | 1,412 | 35 | 156 | 40.342857 | 0.83715 | 0.074363 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.409091 | false | 0 | 0.045455 | 0.318182 | 0.818182 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
a82e69fd315e2a76718218517a467436507cbb74 | 14,241 | py | Python | gems/gemsPlay.py | bastion-gaming/Get-Gems---Client-discord | ad84e3d00a0234e20c03c93caf0685ba3a944d4a | [
"MIT"
] | null | null | null | gems/gemsPlay.py | bastion-gaming/Get-Gems---Client-discord | ad84e3d00a0234e20c03c93caf0685ba3a944d4a | [
"MIT"
] | null | null | null | gems/gemsPlay.py | bastion-gaming/Get-Gems---Client-discord | ad84e3d00a0234e20c03c93caf0685ba3a944d4a | [
"MIT"
] | null | null | null | import discord
from discord.ext import commands
from discord.ext.commands import bot
from gems import gemsFonctions as GF
from core import gestion as ge
import gg_lib as gg
from languages import lang as lang_P
import datetime as dt
class GemsPlay(commands.Cog):
def __init__(self, ctx):
return(None)
... | 43.953704 | 171 | 0.544625 | 1,852 | 14,241 | 4.084233 | 0.105832 | 0.046404 | 0.067425 | 0.085405 | 0.801296 | 0.792834 | 0.78596 | 0.773797 | 0.746827 | 0.72303 | 0 | 0.028583 | 0.294923 | 14,241 | 323 | 172 | 44.089783 | 0.724729 | 0.034759 | 0 | 0.698182 | 0 | 0 | 0.035274 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.007273 | false | 0.047273 | 0.029091 | 0.003636 | 0.04 | 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 |
b56f45ae6a67176f0f9c9775d6432a6801d350f4 | 197 | py | Python | post/admin.py | abdukhashimov/django-rest-blog | 96c58fb49caa1222c77d1d58b0e13fd5710a82d1 | [
"MIT"
] | null | null | null | post/admin.py | abdukhashimov/django-rest-blog | 96c58fb49caa1222c77d1d58b0e13fd5710a82d1 | [
"MIT"
] | null | null | null | post/admin.py | abdukhashimov/django-rest-blog | 96c58fb49caa1222c77d1d58b0e13fd5710a82d1 | [
"MIT"
] | null | null | null | from django.contrib import admin
from post.models import Category, Tag, Post, Author
admin.site.register(Category)
admin.site.register(Tag)
admin.site.register(Post)
admin.site.register(Author)
| 19.7 | 51 | 0.80203 | 29 | 197 | 5.448276 | 0.413793 | 0.227848 | 0.43038 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.091371 | 197 | 9 | 52 | 21.888889 | 0.882682 | 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 |
b5862d945cc532617676eb30b257f501c4fd314a | 177 | py | Python | npbench/benchmarks/polybench/mvt/mvt_pythran.py | frahlg/npbench | 1bc4d9e2e22f3ca67fa2bc7f40e2e751a9c8dd26 | [
"BSD-3-Clause"
] | 27 | 2021-05-10T11:49:13.000Z | 2022-03-22T18:07:19.000Z | npbench/benchmarks/polybench/mvt/mvt_pythran.py | frahlg/npbench | 1bc4d9e2e22f3ca67fa2bc7f40e2e751a9c8dd26 | [
"BSD-3-Clause"
] | 3 | 2021-12-01T13:03:17.000Z | 2022-03-17T10:53:00.000Z | npbench/benchmarks/polybench/mvt/mvt_pythran.py | frahlg/npbench | 1bc4d9e2e22f3ca67fa2bc7f40e2e751a9c8dd26 | [
"BSD-3-Clause"
] | 7 | 2021-06-24T03:40:25.000Z | 2022-01-26T09:04:33.000Z | import numpy as np
# pythran export kernel(float64[:], float64[:], float64[:], float64[:], float64[:,:])
def kernel(x1, x2, y_1, y_2, A):
x1 += A @ y_1
x2 += y_2 @ A
| 19.666667 | 85 | 0.570621 | 29 | 177 | 3.344828 | 0.517241 | 0.57732 | 0.649485 | 0.57732 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 0.220339 | 177 | 8 | 86 | 22.125 | 0.572464 | 0.468927 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a90e385a6ddd6c0ff2916c66db7a530f71bc6278 | 487 | py | Python | tests/analysis/test_analysis__generate_tex_table.py | kamilazdybal/PCAfold | 251ca0dc8c8f98976266b94147504247ddd09bd2 | [
"MIT"
] | 1 | 2022-02-01T08:57:18.000Z | 2022-02-01T08:57:18.000Z | tests/analysis/test_analysis__generate_tex_table.py | kamilazdybal/PCAfold | 251ca0dc8c8f98976266b94147504247ddd09bd2 | [
"MIT"
] | null | null | null | tests/analysis/test_analysis__generate_tex_table.py | kamilazdybal/PCAfold | 251ca0dc8c8f98976266b94147504247ddd09bd2 | [
"MIT"
] | 1 | 2022-03-13T13:19:56.000Z | 2022-03-13T13:19:56.000Z | import unittest
import numpy as np
from PCAfold import preprocess
from PCAfold import reduction
from PCAfold import analysis
class Analysis(unittest.TestCase):
def test_analysis__generate_tex_table__allowed_calls(self):
pass
# -----------------------------------------------------------------------------... | 24.35 | 80 | 0.529774 | 43 | 487 | 5.604651 | 0.511628 | 0.136929 | 0.211618 | 0.190871 | 0.257261 | 0.257261 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125257 | 487 | 19 | 81 | 25.631579 | 0.565728 | 0.322382 | 0 | 0.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0.2 | 0.5 | 0 | 0.8 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
a94daf6073294a866c75c81e052f6507a9614c68 | 23 | py | Python | Lixur Protocol/source/shard.py | Nanra/Lixur-Protocol | f445cba0f1b647d3060514bb8b1e82c50ff8afbd | [
"Apache-2.0"
] | null | null | null | Lixur Protocol/source/shard.py | Nanra/Lixur-Protocol | f445cba0f1b647d3060514bb8b1e82c50ff8afbd | [
"Apache-2.0"
] | null | null | null | Lixur Protocol/source/shard.py | Nanra/Lixur-Protocol | f445cba0f1b647d3060514bb8b1e82c50ff8afbd | [
"Apache-2.0"
] | 1 | 2022-02-27T23:25:51.000Z | 2022-02-27T23:25:51.000Z | "I just test code here" | 23 | 23 | 0.73913 | 5 | 23 | 3.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 23 | 1 | 23 | 23 | 0.894737 | 0.913043 | 0 | 0 | 0 | 0 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
8d55024f22ebb981e1a774062bc65fd68e04f7b3 | 36 | py | Python | app/routes/__init__.py | fossabot/cssi-api | 6d666edfcccb9c08d5201fb0b5bfebfe5435ec1d | [
"MIT"
] | 2 | 2019-07-04T16:57:07.000Z | 2019-07-09T16:21:12.000Z | app/routes/__init__.py | fossabot/cssi-api | 6d666edfcccb9c08d5201fb0b5bfebfe5435ec1d | [
"MIT"
] | null | null | null | app/routes/__init__.py | fossabot/cssi-api | 6d666edfcccb9c08d5201fb0b5bfebfe5435ec1d | [
"MIT"
] | 3 | 2019-05-31T06:05:15.000Z | 2019-06-27T19:02:54.000Z | from app.routes.v1 import * # noqa
| 18 | 35 | 0.694444 | 6 | 36 | 4.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.034483 | 0.194444 | 36 | 1 | 36 | 36 | 0.827586 | 0.111111 | 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 |
8d6571b5673e8176ca2b0854633852aeda555816 | 122 | py | Python | trmf/__init__.py | ivannz/trmf | b486d5f00e525dc51c826685a1ae352cdd400f2e | [
"MIT"
] | 13 | 2018-08-30T15:03:45.000Z | 2021-12-04T14:05:28.000Z | trmf/__init__.py | ivannz/trmf | b486d5f00e525dc51c826685a1ae352cdd400f2e | [
"MIT"
] | null | null | null | trmf/__init__.py | ivannz/trmf | b486d5f00e525dc51c826685a1ae352cdd400f2e | [
"MIT"
] | 2 | 2019-07-03T17:41:28.000Z | 2021-04-11T10:04:47.000Z | from .base import trmf, trmf_forecast_factors
from .base import trmf_forecast_targets
from .classes import TRMFRegressor
| 24.4 | 45 | 0.852459 | 17 | 122 | 5.882353 | 0.529412 | 0.16 | 0.28 | 0.36 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114754 | 122 | 4 | 46 | 30.5 | 0.925926 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
5708c1b5882257ee75eefa9f88beabfd3dd98ea6 | 18,958 | py | Python | tests/test_pylic.py | rhtenhove/pylic | b2b57f5cc65aac8a09d242a8489ade8c59f6e4e0 | [
"MIT"
] | null | null | null | tests/test_pylic.py | rhtenhove/pylic | b2b57f5cc65aac8a09d242a8489ade8c59f6e4e0 | [
"MIT"
] | null | null | null | tests/test_pylic.py | rhtenhove/pylic | b2b57f5cc65aac8a09d242a8489ade8c59f6e4e0 | [
"MIT"
] | null | null | null | import random
import string
import pytest
from pytest_mock import MockerFixture
from toml import TomlDecodeError
from pylic.pylic import (
check_for_unnecessary_safe_licenses,
check_for_unnecessary_unsafe_packages,
check_licenses,
check_unsafe_packages,
main,
read_all_installed_licenses_metada... | 41.034632 | 119 | 0.727134 | 2,382 | 18,958 | 5.425693 | 0.06843 | 0.0684 | 0.030176 | 0.027855 | 0.827762 | 0.78242 | 0.75441 | 0.727871 | 0.701563 | 0.65065 | 0 | 0.010099 | 0.153866 | 18,958 | 461 | 120 | 41.123644 | 0.795586 | 0 | 0 | 0.516393 | 0 | 0 | 0.181296 | 0.040458 | 0 | 0 | 0 | 0 | 0.204918 | 1 | 0.112022 | false | 0 | 0.016393 | 0.010929 | 0.142077 | 0.155738 | 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 |
571bf205684b0ab6f5fef6035903aba9b35c4bec | 1,302 | py | Python | python/module/cqasm/v1/__init__.py | koffie/libqasm | 6e6c1f0ddb854b9a5c5238396cdbbb602530d9b1 | [
"Apache-2.0"
] | 9 | 2020-05-06T03:33:26.000Z | 2022-02-25T10:29:41.000Z | python/module/cqasm/v1/__init__.py | koffie/libqasm | 6e6c1f0ddb854b9a5c5238396cdbbb602530d9b1 | [
"Apache-2.0"
] | 29 | 2019-04-02T12:21:53.000Z | 2022-02-18T09:49:59.000Z | python/module/cqasm/v1/__init__.py | koffie/libqasm | 6e6c1f0ddb854b9a5c5238396cdbbb602530d9b1 | [
"Apache-2.0"
] | 14 | 2019-04-29T08:36:14.000Z | 2022-02-08T12:34:22.000Z | import libQasm;
class Analyzer(libQasm.V1Analyzer):
@staticmethod
def parse_file(*args):
retval = libQasm.V1Analyzer.parse_file(*args)
if len(retval) == 1:
import cqasm.v1.ast as ast
return ast.Root.deserialize(retval[0].encode("utf-8", errors="surrogateescape"))
... | 37.2 | 100 | 0.62212 | 156 | 1,302 | 5.141026 | 0.224359 | 0.069825 | 0.081047 | 0.099751 | 0.865337 | 0.720698 | 0.720698 | 0.720698 | 0.673317 | 0.648379 | 0 | 0.025329 | 0.241935 | 1,302 | 34 | 101 | 38.294118 | 0.787234 | 0 | 0 | 0.62069 | 0 | 0 | 0.076805 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.137931 | false | 0 | 0.172414 | 0 | 0.62069 | 0.034483 | 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 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
93b2a4a99fa0cb376fb6e4384960e5a52ec24656 | 8,863 | py | Python | tests/functional/test_concepts.py | ourresearch/openalex-elastic-api | 36bf5f8906aa4d009571ec2b7e9ab745fd13933c | [
"MIT"
] | 2 | 2022-03-15T10:50:35.000Z | 2022-03-24T11:03:20.000Z | tests/functional/test_concepts.py | ourresearch/openalex-elastic-api | 36bf5f8906aa4d009571ec2b7e9ab745fd13933c | [
"MIT"
] | null | null | null | tests/functional/test_concepts.py | ourresearch/openalex-elastic-api | 36bf5f8906aa4d009571ec2b7e9ab745fd13933c | [
"MIT"
] | null | null | null | class TestConceptsSearch:
def test_concepts_search(self, client):
res = client.get("/concepts?search=science")
json_data = res.get_json()
assert json_data["meta"]["count"] == 125
assert "science" in json_data["results"][0]["display_name"].lower()
for result in json_data["resu... | 41.415888 | 114 | 0.624958 | 1,115 | 8,863 | 4.73722 | 0.095067 | 0.115108 | 0.087467 | 0.089928 | 0.873343 | 0.814464 | 0.775653 | 0.769595 | 0.724347 | 0.612268 | 0 | 0.033284 | 0.237279 | 8,863 | 213 | 115 | 41.610329 | 0.748077 | 0 | 0 | 0.42623 | 0 | 0.010929 | 0.252623 | 0.076046 | 0 | 0 | 0 | 0 | 0.295082 | 1 | 0.136612 | false | 0 | 0 | 0 | 0.174863 | 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 |
93f8683863f04760d896442762153d03d93d18a0 | 2,334 | py | Python | light/tokens.py | abhaikollara/light | ec1f7adddccc4f9fd89e02cf0692c3fcf3ec9cc6 | [
"MIT"
] | 7 | 2020-03-13T16:27:10.000Z | 2020-11-01T16:03:52.000Z | light/tokens.py | abhaikollara/light | ec1f7adddccc4f9fd89e02cf0692c3fcf3ec9cc6 | [
"MIT"
] | null | null | null | light/tokens.py | abhaikollara/light | ec1f7adddccc4f9fd89e02cf0692c3fcf3ec9cc6 | [
"MIT"
] | null | null | null | class Token:
def __init__(self, literal):
self.literal = literal
def __repr__(self):
return f"{self.__class__.__qualname__}({self.literal})"
class ILLEGAL(Token):
def __init__(self, literal):
self.literal = literal
class EOF(Token):
def __init__(self):
self.literal = ... | 16.791367 | 63 | 0.587404 | 265 | 2,334 | 4.690566 | 0.169811 | 0.300885 | 0.279968 | 0.37329 | 0.73934 | 0.73934 | 0.500402 | 0.139984 | 0.074014 | 0 | 0 | 0.000586 | 0.269066 | 2,334 | 139 | 64 | 16.791367 | 0.728019 | 0.027421 | 0 | 0.370787 | 0 | 0 | 0.042572 | 0.019956 | 0 | 0 | 0 | 0 | 0 | 1 | 0.337079 | false | 0 | 0 | 0.011236 | 0.674157 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
f5586cfd59130b9c0a586d111f2f3317fe2ae0c8 | 76 | py | Python | server/tree/tests/__init__.py | alekseystryukov/treenet | ee55df4f2151219cd07fbc2035f7c9f87d288e08 | [
"Apache-2.0"
] | null | null | null | server/tree/tests/__init__.py | alekseystryukov/treenet | ee55df4f2151219cd07fbc2035f7c9f87d288e08 | [
"Apache-2.0"
] | 3 | 2020-06-05T20:00:51.000Z | 2022-03-02T02:22:12.000Z | server/tree/tests/__init__.py | alekseystryukov/treenet | ee55df4f2151219cd07fbc2035f7c9f87d288e08 | [
"Apache-2.0"
] | null | null | null | from .branch_list import *
from .branch import *
from .branch_post import *
| 19 | 26 | 0.763158 | 11 | 76 | 5.090909 | 0.454545 | 0.535714 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 76 | 3 | 27 | 25.333333 | 0.875 | 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 | 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 |
f58c115847f3d0e2109da87a3245c07b6f82922b | 26 | py | Python | terrascript/kubernetes/__init__.py | GarnerCorp/python-terrascript | ec6c2d9114dcd3cb955dd46069f8ba487e320a8c | [
"BSD-2-Clause"
] | null | null | null | terrascript/kubernetes/__init__.py | GarnerCorp/python-terrascript | ec6c2d9114dcd3cb955dd46069f8ba487e320a8c | [
"BSD-2-Clause"
] | null | null | null | terrascript/kubernetes/__init__.py | GarnerCorp/python-terrascript | ec6c2d9114dcd3cb955dd46069f8ba487e320a8c | [
"BSD-2-Clause"
] | 1 | 2018-11-15T16:23:05.000Z | 2018-11-15T16:23:05.000Z | """2019-05-28 10:49:51"""
| 13 | 25 | 0.538462 | 6 | 26 | 2.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.583333 | 0.076923 | 26 | 1 | 26 | 26 | 0 | 0.730769 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
1935adb33c7028aee8a669b035c9c7a70ff6fa98 | 327 | py | Python | strongr/restdomain/handler/oauth2/__init__.py | bigr-erasmusmc/StrongR | 48573e170771a251f629f2d13dba7173f010a38c | [
"Apache-2.0"
] | null | null | null | strongr/restdomain/handler/oauth2/__init__.py | bigr-erasmusmc/StrongR | 48573e170771a251f629f2d13dba7173f010a38c | [
"Apache-2.0"
] | null | null | null | strongr/restdomain/handler/oauth2/__init__.py | bigr-erasmusmc/StrongR | 48573e170771a251f629f2d13dba7173f010a38c | [
"Apache-2.0"
] | null | null | null | from .appendgranthandler import AppendGrantHandler
from .retrieveclienthandler import RetrieveClientHandler
from .retrievetokenbyaccesstokenhandler import RetrieveTokenByAccessTokenHandler
from .retrievetokenbyrefreshtokenhandler import RetrieveTokenByRefreshTokenHandler
from .retrievegranthandler import RetrieveGrantH... | 54.5 | 82 | 0.923547 | 20 | 327 | 15.1 | 0.35 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.061162 | 327 | 5 | 83 | 65.4 | 0.983713 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1949352372c0a7414cd758661686d91ac07ee21a | 25 | py | Python | deeppavlov/deprecated/skill/__init__.py | xbodx/DeepPavlov | 4b60bf162df4294b8b0db3b72786cdd699c674fa | [
"Apache-2.0"
] | 27 | 2021-12-15T12:10:06.000Z | 2022-03-31T13:59:47.000Z | deeppavlov/deprecated/skill/__init__.py | xbodx/DeepPavlov | 4b60bf162df4294b8b0db3b72786cdd699c674fa | [
"Apache-2.0"
] | 11 | 2020-09-25T22:32:27.000Z | 2022-02-10T00:39:45.000Z | deeppavlov/deprecated/skill/__init__.py | xbodx/DeepPavlov | 4b60bf162df4294b8b0db3b72786cdd699c674fa | [
"Apache-2.0"
] | 4 | 2021-12-23T16:05:49.000Z | 2022-03-22T01:54:30.000Z | from .skill import Skill
| 12.5 | 24 | 0.8 | 4 | 25 | 5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 25 | 1 | 25 | 25 | 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 |
5ff52cd47682aed96008b45d06c406948f1acea9 | 518 | py | Python | app/auth/__init__.py | cromulus/check-list | 5e6d7f657ac14688dae181839d1bf38cedf6a232 | [
"MIT"
] | null | null | null | app/auth/__init__.py | cromulus/check-list | 5e6d7f657ac14688dae181839d1bf38cedf6a232 | [
"MIT"
] | null | null | null | app/auth/__init__.py | cromulus/check-list | 5e6d7f657ac14688dae181839d1bf38cedf6a232 | [
"MIT"
] | null | null | null | #********************************************************************************
#--------------------------------------------------------------------------------
#
# Significance Labs
# Brooklyn, NYC
#
# Author: Alexandra Berke (aberke)
# Written: Summer 2014
#
#
# /auth/__init__.py
#
#----------------------------... | 25.9 | 82 | 0.254826 | 23 | 518 | 5.478261 | 0.826087 | 0.126984 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008368 | 0.07722 | 518 | 19 | 83 | 27.263158 | 0.25523 | 0.826255 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2764f15538c498e059ce4375c29b55a36e593688 | 1,774 | py | Python | python/graphscope/nx/algorithms/tests/forward/test_shortest_paths.py | lnfjpt/GraphScope | 917146f86d8387302a2e1de6963115e7568bf3ee | [
"Apache-2.0"
] | 1 | 2021-12-30T02:55:16.000Z | 2021-12-30T02:55:16.000Z | python/graphscope/nx/algorithms/tests/forward/test_shortest_paths.py | lnfjpt/GraphScope | 917146f86d8387302a2e1de6963115e7568bf3ee | [
"Apache-2.0"
] | null | null | null | python/graphscope/nx/algorithms/tests/forward/test_shortest_paths.py | lnfjpt/GraphScope | 917146f86d8387302a2e1de6963115e7568bf3ee | [
"Apache-2.0"
] | null | null | null | import networkx.algorithms.shortest_paths.tests.test_dense
import networkx.algorithms.shortest_paths.tests.test_dense_numpy
import networkx.algorithms.shortest_paths.tests.test_generic
import networkx.algorithms.shortest_paths.tests.test_unweighted
import networkx.algorithms.shortest_paths.tests.test_weighted
import py... | 37.744681 | 87 | 0.831454 | 216 | 1,774 | 6.537037 | 0.217593 | 0.140227 | 0.20255 | 0.241501 | 0.763456 | 0.763456 | 0.654391 | 0.521246 | 0.441926 | 0.355524 | 0 | 0 | 0.085118 | 1,774 | 46 | 88 | 38.565217 | 0.869994 | 0 | 0 | 0.388889 | 0 | 0 | 0.116122 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.055556 | true | 0.055556 | 0.388889 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 6 |
277cae19fa159a5b5afe9b17949d3882d19aca46 | 260,283 | py | Python | instances/passenger_demand/pas-20210422-1717-int18e/58.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/passenger_demand/pas-20210422-1717-int18e/58.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/passenger_demand/pas-20210422-1717-int18e/58.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null |
"""
PASSENGERS
"""
numPassengers = 34614
passenger_arriving = (
(6, 10, 10, 7, 12, 4, 2, 4, 7, 2, 1, 0, 0, 12, 12, 6, 6, 9, 3, 4, 1, 2, 1, 0, 0, 0), # 0
(8, 15, 5, 5, 10, 2, 8, 2, 3, 0, 3, 0, 0, 11, 8, 8, 6, 7, 3, 3, 0, 2, 4, 2, 0, 0), # 1
(8, 11, 5, 12, 12, 5, 5, 4, 4, 1, 4, 1, 0, 10, 8, 7, 5, 9, 11, 6, 0, 4, ... | 278.37754 | 490 | 0.77131 | 32,987 | 260,283 | 6.08567 | 0.234032 | 0.355072 | 0.340726 | 0.645586 | 0.366415 | 0.361438 | 0.360671 | 0.360601 | 0.360601 | 0.360601 | 0 | 0.851071 | 0.095027 | 260,283 | 934 | 491 | 278.675589 | 0.001184 | 0.01541 | 0 | 0.200873 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.005459 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
27acb9387d8910bee647ac96efff5f5021e9741e | 227 | py | Python | tests/dataset/simple/simple_formatted_name_match.py | hugovk/reiz.io | 26b93fc1e58097bcb97989e916f549a04eb14cae | [
"Apache-2.0"
] | 43 | 2020-09-20T09:37:06.000Z | 2021-11-12T11:56:27.000Z | tests/dataset/simple/simple_formatted_name_match.py | hugovk/reiz.io | 26b93fc1e58097bcb97989e916f549a04eb14cae | [
"Apache-2.0"
] | 37 | 2020-09-20T09:37:49.000Z | 2021-06-25T11:08:38.000Z | tests/dataset/simple/simple_formatted_name_match.py | hugovk/reiz.io | 26b93fc1e58097bcb97989e916f549a04eb14cae | [
"Apache-2.0"
] | 4 | 2020-10-04T13:47:06.000Z | 2022-01-02T19:35:13.000Z | def a1_foo(): # reiz: tp
...
def ___foo(): # reiz: tp
...
def a2_foo_bar(): # reiz: tp
...
def a__foo____(): # reiz: tp
...
def aa1_foo():
...
def aa1foo():
...
def __afoo_bar():
...
| 8.407407 | 29 | 0.440529 | 28 | 227 | 3 | 0.392857 | 0.285714 | 0.428571 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026667 | 0.339207 | 227 | 26 | 30 | 8.730769 | 0.533333 | 0.154185 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
27c2c31cdd3b127bd42fe09f25cd84ae163b1a40 | 3,061 | py | Python | features/steps/secret_steps.py | intirix/serverless-secrets-manager | 2c89b2c497f7078c38885125dfa79db944a214db | [
"Apache-2.0"
] | 2 | 2018-05-23T06:04:13.000Z | 2020-11-04T23:16:09.000Z | features/steps/secret_steps.py | intirix/serverless-secrets-manager | 2c89b2c497f7078c38885125dfa79db944a214db | [
"Apache-2.0"
] | null | null | null | features/steps/secret_steps.py | intirix/serverless-secrets-manager | 2c89b2c497f7078c38885125dfa79db944a214db | [
"Apache-2.0"
] | null | null | null | from behave import given
import json
@given(u"I will create a secret")
def step_impl(context):
context.secret = {}
@given(u'the secret field "{name}" is set to "{value}"')
def step_impl(context, name, value):
context.secret[name] = value
@given(u'user "{username}" encrypts the secret into the POST data')
d... | 33.271739 | 85 | 0.704998 | 370 | 3,061 | 5.816216 | 0.218919 | 0.108736 | 0.030669 | 0.050186 | 0.809944 | 0.789498 | 0.751859 | 0.751859 | 0.751859 | 0.751859 | 0 | 0.001182 | 0.170859 | 3,061 | 91 | 86 | 33.637363 | 0.84673 | 0.073505 | 0 | 0.688525 | 0 | 0 | 0.152351 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.098361 | false | 0 | 0.032787 | 0 | 0.131148 | 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 |
fd7b9cf16de2efab6d77b107748471c0ab76c214 | 3,790 | py | Python | ccpay/pay/utils.py | rahul08M/python3-ccavenue | cf5c3dfd7128529810f4a879b466a71ee92e5ed4 | [
"MIT"
] | 2 | 2021-01-02T09:17:22.000Z | 2021-01-18T11:36:18.000Z | ccpay/pay/utils.py | rahul08M/python3-ccavenue | cf5c3dfd7128529810f4a879b466a71ee92e5ed4 | [
"MIT"
] | null | null | null | ccpay/pay/utils.py | rahul08M/python3-ccavenue | cf5c3dfd7128529810f4a879b466a71ee92e5ed4 | [
"MIT"
] | null | null | null | from Crypto.Cipher import AES
import hashlib
from binascii import hexlify, unhexlify
def pad(data):
"""
ccavenue method to pad data.
:param data: plain text
:return: padded data.
"""
length = 16 - (len(data) % 16)
data += chr(length)*length
return data
def unpad(data):
"""
... | 46.219512 | 1,940 | 0.834301 | 269 | 3,790 | 11.557621 | 0.297398 | 0.032165 | 0.010614 | 0.012866 | 0.072049 | 0.032165 | 0.032165 | 0.032165 | 0.032165 | 0.032165 | 0 | 0.362327 | 0.102111 | 3,790 | 81 | 1,941 | 46.790123 | 0.551278 | 0.104222 | 0 | 0.0625 | 0 | 0.0625 | 0.625683 | 0.621736 | 0 | 1 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0.09375 | 0 | 0.34375 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
fd963f608d620e066ecae69e63c0662d14f05ccb | 108 | py | Python | bostaSDK/pickup/update/__init__.py | bostaapp/bosta-python | df3f48dafac49b2577669fd4d74a5e5e9d28f2c1 | [
"MIT"
] | null | null | null | bostaSDK/pickup/update/__init__.py | bostaapp/bosta-python | df3f48dafac49b2577669fd4d74a5e5e9d28f2c1 | [
"MIT"
] | 1 | 2020-11-18T11:01:32.000Z | 2020-11-18T11:10:52.000Z | bostaSDK/pickup/update/__init__.py | bostaapp/bosta-python | df3f48dafac49b2577669fd4d74a5e5e9d28f2c1 | [
"MIT"
] | null | null | null | from .UpdatePickupRequest import UpdatePickupRequest
from .UpdatePickupResponse import UpdatePickupResponse
| 36 | 54 | 0.907407 | 8 | 108 | 12.25 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074074 | 108 | 2 | 55 | 54 | 0.98 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
fda3f2e2a718fb1e910425152db6e766f493c583 | 4,731 | py | Python | api/users/tests/tests_exporter_super_user_permissions.py | django-doctor/lite-api | 1ba278ba22ebcbb977dd7c31dd3701151cd036bf | [
"MIT"
] | 3 | 2019-05-15T09:30:39.000Z | 2020-04-22T16:14:23.000Z | api/users/tests/tests_exporter_super_user_permissions.py | django-doctor/lite-api | 1ba278ba22ebcbb977dd7c31dd3701151cd036bf | [
"MIT"
] | 85 | 2019-04-24T10:39:35.000Z | 2022-03-21T14:52:12.000Z | api/users/tests/tests_exporter_super_user_permissions.py | django-doctor/lite-api | 1ba278ba22ebcbb977dd7c31dd3701151cd036bf | [
"MIT"
] | 1 | 2021-01-17T11:12:19.000Z | 2021-01-17T11:12:19.000Z | from django.urls import reverse
from rest_framework import status
from api.core.constants import GovPermissions, Roles
from test_helpers.clients import DataTestClient
from api.users.models import Permission
class SuperUserTests(DataTestClient):
def test_super_user_role_cannot_be_edited(self):
url = rever... | 49.8 | 118 | 0.740435 | 619 | 4,731 | 5.323102 | 0.127625 | 0.109256 | 0.082853 | 0.082853 | 0.862215 | 0.860091 | 0.84431 | 0.824279 | 0.824279 | 0.824279 | 0 | 0.005473 | 0.150285 | 4,731 | 94 | 119 | 50.329787 | 0.814179 | 0 | 0 | 0.661765 | 0 | 0 | 0.052632 | 0 | 0 | 0 | 0 | 0 | 0.235294 | 1 | 0.117647 | false | 0 | 0.073529 | 0 | 0.205882 | 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 |
fdecef428bdb192cd235b48cdcf20036536b28dd | 76 | py | Python | main/web_apps_examples/__init__.py | gwynethbradbury/itdb | 0664100b00ed8cf7d4565a0b2b90e089ad528733 | [
"BSD-3-Clause"
] | null | null | null | main/web_apps_examples/__init__.py | gwynethbradbury/itdb | 0664100b00ed8cf7d4565a0b2b90e089ad528733 | [
"BSD-3-Clause"
] | null | null | null | main/web_apps_examples/__init__.py | gwynethbradbury/itdb | 0664100b00ed8cf7d4565a0b2b90e089ad528733 | [
"BSD-3-Clause"
] | null | null | null | from map import *
from online_learning import *
from it_lending_log import * | 25.333333 | 29 | 0.815789 | 12 | 76 | 4.916667 | 0.666667 | 0.338983 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144737 | 76 | 3 | 30 | 25.333333 | 0.907692 | 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 |
e3023fe4eb058190246bc85712a265d7bdfaa9f9 | 35 | py | Python | auth0/v3/__init__.py | santiagoroman/auth0-python | b88b056d0c68eb26a1171f33273010faf8fefe63 | [
"MIT"
] | 2 | 2020-10-08T21:42:56.000Z | 2021-03-21T08:17:52.000Z | auth0/v3/__init__.py | santiagoroman/auth0-python | b88b056d0c68eb26a1171f33273010faf8fefe63 | [
"MIT"
] | null | null | null | auth0/v3/__init__.py | santiagoroman/auth0-python | b88b056d0c68eb26a1171f33273010faf8fefe63 | [
"MIT"
] | 1 | 2018-12-02T18:47:47.000Z | 2018-12-02T18:47:47.000Z | from .exceptions import Auth0Error
| 17.5 | 34 | 0.857143 | 4 | 35 | 7.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.032258 | 0.114286 | 35 | 1 | 35 | 35 | 0.935484 | 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 |
e3437d3aa51e1fae9c233d8a7c9b70cbbb1d4bff | 155 | py | Python | wrappers/python/src/python/readdy/util/platform_utils.py | readdy/readdy | ef400db60a29107672a7f2bc42f6c3db4de34eb0 | [
"BSD-3-Clause"
] | 51 | 2015-02-24T18:19:34.000Z | 2022-03-30T06:57:47.000Z | wrappers/python/src/python/readdy/util/platform_utils.py | readdy/readdy | ef400db60a29107672a7f2bc42f6c3db4de34eb0 | [
"BSD-3-Clause"
] | 81 | 2016-05-25T22:29:39.000Z | 2022-03-28T14:22:18.000Z | wrappers/python/src/python/readdy/util/platform_utils.py | readdy/readdy | ef400db60a29107672a7f2bc42f6c3db4de34eb0 | [
"BSD-3-Clause"
] | 15 | 2015-03-10T03:16:49.000Z | 2021-10-11T11:26:39.000Z | def get_readdy_plugin_dir():
import os
from pathlib import Path
return (Path(os.environ["CONDA_PREFIX"]) / 'lib' / 'readdy_plugins').resolve()
| 31 | 82 | 0.696774 | 21 | 155 | 4.904762 | 0.809524 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.167742 | 155 | 4 | 83 | 38.75 | 0.79845 | 0 | 0 | 0 | 0 | 0 | 0.187097 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 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 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8b518ab396a6f9cd05ac525a893ce466b44d751c | 47 | py | Python | test/test_plaform.py | CSD-AI/Integrated-detection-and-pedestrian-re-identification-system | 3e19e692f2d182e62d9881c78d0b612da1c39ce2 | [
"Apache-2.0"
] | 2 | 2021-08-05T06:20:50.000Z | 2021-09-14T02:03:08.000Z | test/test_plaform.py | lazyand/ccccAI | 2d279a0ef261d10ef051b3685e041223193f81b5 | [
"Apache-2.0"
] | 1 | 2021-12-22T02:00:50.000Z | 2021-12-22T02:00:50.000Z | test/test_plaform.py | lazyand/ccccAI | 2d279a0ef261d10ef051b3685e041223193f81b5 | [
"Apache-2.0"
] | 1 | 2021-12-21T12:55:44.000Z | 2021-12-21T12:55:44.000Z | import platform
print(platform.uname().system) | 15.666667 | 30 | 0.808511 | 6 | 47 | 6.333333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.06383 | 47 | 3 | 30 | 15.666667 | 0.863636 | 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 |
8ba60d619721c9365c112c8f447f8cd7a15ff529 | 139 | py | Python | Lab_5/Test Task_1.py | spencerperley/CPE_101 | 9ae3c5a0042780f824de5edee275b35cdb0bbaec | [
"MIT"
] | 1 | 2022-01-12T21:48:23.000Z | 2022-01-12T21:48:23.000Z | Lab_5/Test Task_1.py | spencerperley/CPE_101 | 9ae3c5a0042780f824de5edee275b35cdb0bbaec | [
"MIT"
] | null | null | null | Lab_5/Test Task_1.py | spencerperley/CPE_101 | 9ae3c5a0042780f824de5edee275b35cdb0bbaec | [
"MIT"
] | null | null | null | from Task_1 import *
def test_chop():
assert chop([1,2,3,4,5]) == [1,5]
assert chop([1,2]) == [1,2]
test_chop()
print("Pass") | 17.375 | 37 | 0.553957 | 26 | 139 | 2.846154 | 0.538462 | 0.081081 | 0.297297 | 0.324324 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.109091 | 0.208633 | 139 | 8 | 38 | 17.375 | 0.563636 | 0 | 0 | 0 | 0 | 0 | 0.028571 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.166667 | true | 0.166667 | 0.166667 | 0 | 0.333333 | 0.166667 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
47bde2cdc1475cf863e84b59d38e40392d27519b | 31 | py | Python | __init__.py | physicalit/pyindex_domains | 4e85cd012876054577aaa23799fdcb16ef6fc28a | [
"MIT"
] | null | null | null | __init__.py | physicalit/pyindex_domains | 4e85cd012876054577aaa23799fdcb16ef6fc28a | [
"MIT"
] | null | null | null | __init__.py | physicalit/pyindex_domains | 4e85cd012876054577aaa23799fdcb16ef6fc28a | [
"MIT"
] | null | null | null | from .pyindex_domains import *
| 15.5 | 30 | 0.806452 | 4 | 31 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 31 | 1 | 31 | 31 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
47f4b56857319c9f4f7dbd992af5f88b90193760 | 29 | py | Python | SAMPLE.py | Jeevananthamcse/Python-programs | b7847e25854b3ae95933edffcb141ef71185960a | [
"Unlicense"
] | 2 | 2021-08-30T08:04:15.000Z | 2022-02-27T12:47:25.000Z | SAMPLE.py | Jeevananthamcse/Python-programs | b7847e25854b3ae95933edffcb141ef71185960a | [
"Unlicense"
] | null | null | null | SAMPLE.py | Jeevananthamcse/Python-programs | b7847e25854b3ae95933edffcb141ef71185960a | [
"Unlicense"
] | null | null | null | print("ENTER THE NUMBER :")
| 14.5 | 28 | 0.655172 | 4 | 29 | 4.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172414 | 29 | 1 | 29 | 29 | 0.791667 | 0 | 0 | 0 | 0 | 0 | 0.642857 | 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 |
9a2e1dd058cc50fc91d538a1b61db036145a9e74 | 70 | py | Python | src/image/__init__.py | vmariiechko/python-image-processing | 5613440dc04140845600b8c37a2b28786d504815 | [
"MIT"
] | null | null | null | src/image/__init__.py | vmariiechko/python-image-processing | 5613440dc04140845600b8c37a2b28786d504815 | [
"MIT"
] | null | null | null | src/image/__init__.py | vmariiechko/python-image-processing | 5613440dc04140845600b8c37a2b28786d504815 | [
"MIT"
] | null | null | null | from .image import Image, ImageWindow
from .image_bmp import ImageBmp
| 23.333333 | 37 | 0.828571 | 10 | 70 | 5.7 | 0.6 | 0.315789 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128571 | 70 | 2 | 38 | 35 | 0.934426 | 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 |
9a4740e1c45a38dae91b9e9b903c57d331949f35 | 74 | py | Python | djpagan/czech/forms.py | carthage-college/django-djpagan | bdc6f07e6822fb982b96fd68ea6b69d897b29b09 | [
"MIT"
] | null | null | null | djpagan/czech/forms.py | carthage-college/django-djpagan | bdc6f07e6822fb982b96fd68ea6b69d897b29b09 | [
"MIT"
] | 8 | 2020-06-05T19:15:10.000Z | 2021-11-30T19:32:09.000Z | djpagan/czech/forms.py | carthage-college/django-djpagan | bdc6f07e6822fb982b96fd68ea6b69d897b29b09 | [
"MIT"
] | null | null | null | from django import forms
class ReimbursementForm(forms.Form):
pass
| 10.571429 | 36 | 0.756757 | 9 | 74 | 6.222222 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.189189 | 74 | 6 | 37 | 12.333333 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
9a55fafe2607f7ff219086d07082539c34f1dec8 | 6,973 | py | Python | office365/reports/report_root.py | theodoriss/Office365-REST-Python-Client | 3bd7a62dadcd3f0a0aceeaff7584fff3fd44886e | [
"MIT"
] | 544 | 2016-08-04T17:10:16.000Z | 2022-03-31T07:17:20.000Z | office365/reports/report_root.py | theodoriss/Office365-REST-Python-Client | 3bd7a62dadcd3f0a0aceeaff7584fff3fd44886e | [
"MIT"
] | 438 | 2016-10-11T12:24:22.000Z | 2022-03-31T19:30:35.000Z | office365/reports/report_root.py | theodoriss/Office365-REST-Python-Client | 3bd7a62dadcd3f0a0aceeaff7584fff3fd44886e | [
"MIT"
] | 202 | 2016-08-22T19:29:40.000Z | 2022-03-30T20:26:15.000Z | from office365.entity import Entity
from office365.reports.internal.queries.create_report_query import create_report_query
class ReportRoot(Entity):
"""The resource that represents an instance of History Reports."""
def get_email_activity_counts(self, period):
"""
Enables you to understand th... | 49.453901 | 113 | 0.691381 | 934 | 6,973 | 5.055675 | 0.159529 | 0.041931 | 0.050826 | 0.076239 | 0.758577 | 0.746506 | 0.738882 | 0.71008 | 0.69695 | 0.69695 | 0 | 0.018185 | 0.250825 | 6,973 | 140 | 114 | 49.807143 | 0.88572 | 0.568765 | 0 | 0.468085 | 0 | 0 | 0.123232 | 0.123232 | 0 | 0 | 0 | 0 | 0 | 1 | 0.234043 | false | 0 | 0.042553 | 0 | 0.531915 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
d00deec75eca97d0baf5e34cfc73cf72b03b1e79 | 1,292 | py | Python | tests/test_rhf_mp2.py | bzhang25/QM_2017_SSS_Team9_new- | 13af70caeadd75fc539523d04c8b7e5fa68cdc2f | [
"BSD-3-Clause"
] | null | null | null | tests/test_rhf_mp2.py | bzhang25/QM_2017_SSS_Team9_new- | 13af70caeadd75fc539523d04c8b7e5fa68cdc2f | [
"BSD-3-Clause"
] | null | null | null | tests/test_rhf_mp2.py | bzhang25/QM_2017_SSS_Team9_new- | 13af70caeadd75fc539523d04c8b7e5fa68cdc2f | [
"BSD-3-Clause"
] | null | null | null | """
Testing
"""
import rhf
import pytest
import psi4
import numpy as np
def test_rhf_mp2():
"""
This function tests the rhf module with MP2 correction
"""
mol = psi4.geometry("""
O
H 1 1.1
H 1 1.1 2 104
symmetry c1
"""
)
bas = 'cc-pvdz'
options = {'energy_conv' : 1.... | 21.533333 | 83 | 0.574303 | 190 | 1,292 | 3.794737 | 0.278947 | 0.022191 | 0.016644 | 0.022191 | 0.879334 | 0.879334 | 0.879334 | 0.879334 | 0.879334 | 0.879334 | 0 | 0.075212 | 0.26935 | 1,292 | 59 | 84 | 21.898305 | 0.688559 | 0.090557 | 0 | 0.666667 | 0 | 0 | 0.229754 | 0 | 0 | 0 | 0 | 0 | 0.055556 | 1 | 0.055556 | false | 0 | 0.111111 | 0 | 0.166667 | 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 |
d085c3a958591550fc45d3f1347b7295b4425b70 | 21 | py | Python | backend/config/__init__.py | uwer/coco-annotator | 03f33aee2f1bb00c3b5f93b299f7c45dd7ab36d4 | [
"MIT"
] | 1,584 | 2018-09-03T21:40:32.000Z | 2022-03-24T23:43:28.000Z | backend/config/__init__.py | uwer/coco-annotator | 03f33aee2f1bb00c3b5f93b299f7c45dd7ab36d4 | [
"MIT"
] | 458 | 2018-09-04T03:15:00.000Z | 2022-03-31T11:53:37.000Z | backend/config/__init__.py | uwer/coco-annotator | 03f33aee2f1bb00c3b5f93b299f7c45dd7ab36d4 | [
"MIT"
] | 415 | 2018-10-13T12:34:40.000Z | 2022-03-28T14:57:07.000Z | from .config import * | 21 | 21 | 0.761905 | 3 | 21 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 21 | 1 | 21 | 21 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d0a4dfa0228d2b5b154eef8d740c7e3d0964e876 | 243 | py | Python | core/api/permissions.py | martbln/django-service-boilerplate | 1e6e584e751a48f460edb6b6db0bb55c53a3c200 | [
"MIT"
] | 18 | 2018-03-07T09:27:38.000Z | 2022-01-06T18:44:29.000Z | core/api/permissions.py | martbln/django-service-boilerplate | 1e6e584e751a48f460edb6b6db0bb55c53a3c200 | [
"MIT"
] | 292 | 2018-02-09T12:27:53.000Z | 2022-03-11T23:11:58.000Z | core/api/permissions.py | martbln/django-service-boilerplate | 1e6e584e751a48f460edb6b6db0bb55c53a3c200 | [
"MIT"
] | 11 | 2018-01-30T00:01:51.000Z | 2020-12-28T12:07:47.000Z | from rest_framework import permissions
class DjangoModelViewPermission(permissions.DjangoModelPermissions):
perms_map = {**permissions.DjangoModelPermissions.perms_map,
**{'GET': ['%(app_label)s.view_%(model_name)s']}}
| 30.375 | 68 | 0.73251 | 23 | 243 | 7.478261 | 0.73913 | 0.383721 | 0.44186 | 0.476744 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144033 | 243 | 7 | 69 | 34.714286 | 0.826923 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 0.135802 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
d0f9c2a53c8c8cd0755867d1ca8e58ad5b50dab7 | 14,377 | py | Python | Motif_Mark.py | lnassar/motif-mark | c1570362ff19c5f7e428ab49e72e907d6bd948c4 | [
"MIT"
] | null | null | null | Motif_Mark.py | lnassar/motif-mark | c1570362ff19c5f7e428ab49e72e907d6bd948c4 | [
"MIT"
] | null | null | null | Motif_Mark.py | lnassar/motif-mark | c1570362ff19c5f7e428ab49e72e907d6bd948c4 | [
"MIT"
] | null | null | null | #!/usr/bin/python
import re
import cairo
import random
import argparse
parser = argparse.ArgumentParser(description='Given a Fasta file with uppercase exons and a text file with one motif per line, creates an svg image depicting each sequence intronic and exonic region with matching motif regions. NOTE: Uses random c... | 38.135279 | 335 | 0.646241 | 2,096 | 14,377 | 4.398855 | 0.160305 | 0.030369 | 0.040564 | 0.016486 | 0.861822 | 0.851844 | 0.847722 | 0.838829 | 0.838829 | 0.829501 | 0 | 0.014104 | 0.230646 | 14,377 | 376 | 336 | 38.236702 | 0.819456 | 0.627321 | 0 | 0.255814 | 0 | 0.007752 | 0.117344 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.023256 | false | 0 | 0.031008 | 0 | 0.062016 | 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 |
ef9295900b258183dbefc9f486667af692c1c716 | 27,795 | py | Python | code/python/FactSetPrices/v1/fds/sdk/FactSetPrices/api/database_rollover_api.py | factset/enterprise-sdk | 3fd4d1360756c515c9737a0c9a992c7451d7de7e | [
"Apache-2.0"
] | 6 | 2022-02-07T16:34:18.000Z | 2022-03-30T08:04:57.000Z | code/python/FactSetPrices/v1/fds/sdk/FactSetPrices/api/database_rollover_api.py | factset/enterprise-sdk | 3fd4d1360756c515c9737a0c9a992c7451d7de7e | [
"Apache-2.0"
] | 2 | 2022-02-07T05:25:57.000Z | 2022-03-07T14:18:04.000Z | code/python/FactSetPrices/v1/fds/sdk/FactSetPrices/api/database_rollover_api.py | factset/enterprise-sdk | 3fd4d1360756c515c9737a0c9a992c7451d7de7e | [
"Apache-2.0"
] | null | null | null | """
FactSet Prices API
Gain access to comprehensive global coverage for Equities & Fixed Income. Perform quick analytics by controlling the date ranges, currencies, and rolling periods, or simply request Open, High, Low, and Close prices. Easily connect pricing data with other core company data or alternative ... | 57.073922 | 856 | 0.639755 | 3,420 | 27,795 | 5.082749 | 0.095322 | 0.024852 | 0.017949 | 0.017488 | 0.899154 | 0.888052 | 0.888052 | 0.887649 | 0.883967 | 0.883967 | 0 | 0.006034 | 0.302393 | 27,795 | 486 | 857 | 57.191358 | 0.890459 | 0.672675 | 0 | 0.59887 | 0 | 0 | 0.150576 | 0.059292 | 0 | 0 | 0 | 0 | 0 | 1 | 0.056497 | false | 0 | 0.050847 | 0 | 0.158192 | 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 |
efa88fa24b2ca0d4e8b1227f03037e819e86c2d3 | 2,328 | py | Python | loss/losses.py | FFTYYY/RoR_relation_extraction | a099e98f3708a39debeed4dc522ff57c4f6b960d | [
"MIT"
] | 25 | 2020-06-09T01:25:14.000Z | 2021-12-22T10:47:18.000Z | loss/losses.py | FFTYYY/RoR_relation_extraction | a099e98f3708a39debeed4dc522ff57c4f6b960d | [
"MIT"
] | 7 | 2020-06-21T08:32:26.000Z | 2021-08-04T08:39:10.000Z | loss/losses.py | FFTYYY/RoR_relation_extraction | a099e98f3708a39debeed4dc522ff57c4f6b960d | [
"MIT"
] | 3 | 2020-06-18T16:47:31.000Z | 2021-08-10T01:04:16.000Z | import torch as tc
import torch.nn as nn
import torch.nn.functional as F
from transformers import BertModel , BertTokenizer
import pdb
import math
def loss_1(pred , anss , ents , no_rel , class_weight , pad_ix = -100):
'''
直接平均,按类别加权
and unweighted avg
'''
import numpy as np
bs , ne , _ , d = pred.size()
if... | 26.758621 | 88 | 0.637887 | 427 | 2,328 | 3.23185 | 0.185012 | 0.096377 | 0.092754 | 0.078261 | 0.815942 | 0.815942 | 0.815942 | 0.815942 | 0.815942 | 0.815942 | 0 | 0.028751 | 0.178265 | 2,328 | 86 | 89 | 27.069767 | 0.692629 | 0.195876 | 0 | 0.692308 | 0 | 0 | 0.008152 | 0 | 0 | 0 | 0 | 0 | 0.038462 | 1 | 0.057692 | false | 0 | 0.153846 | 0.019231 | 0.269231 | 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 |
ef11ee83859c2c73abbfa5c2057ad2a3c3344061 | 73 | py | Python | solution/data/data_collator.py | Amber-Chaeeunk/Open-Domain-Question-Answering | 725e369a4409c54bf11bcfb9db53865d8fc1f935 | [
"MIT"
] | 5 | 2021-11-10T09:44:42.000Z | 2022-03-20T06:14:42.000Z | solution/data/data_collator.py | boostcampaitech2/mrc-level2-nlp-14 | ea60d7a7b0f22c9e2e3b71d1d80cc2f00805e3fa | [
"MIT"
] | null | null | null | solution/data/data_collator.py | boostcampaitech2/mrc-level2-nlp-14 | ea60d7a7b0f22c9e2e3b71d1d80cc2f00805e3fa | [
"MIT"
] | 7 | 2021-11-10T23:54:03.000Z | 2022-01-03T02:55:50.000Z | from transformers import DataCollatorWithPadding, DataCollatorForSeq2Seq
| 36.5 | 72 | 0.917808 | 5 | 73 | 13.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014706 | 0.068493 | 73 | 1 | 73 | 73 | 0.970588 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ef1e1b2a6a1e4e905ddb0cea819429162d25088e | 8,339 | py | Python | tests/test_engine.py | Bakuriu/feanor-csv | e69929ae333d118771db4f3a91067d3b5ed84bf3 | [
"Apache-2.0"
] | 1 | 2018-10-05T02:03:35.000Z | 2018-10-05T02:03:35.000Z | tests/test_engine.py | Bakuriu/feanor-csv | e69929ae333d118771db4f3a91067d3b5ed84bf3 | [
"Apache-2.0"
] | 30 | 2018-07-09T20:37:53.000Z | 2018-10-05T07:04:55.000Z | tests/test_engine.py | Bakuriu/feanor-csv | e69929ae333d118771db4f3a91067d3b5ed84bf3 | [
"Apache-2.0"
] | null | null | null | import itertools as it
import random
import unittest
from io import StringIO
from unittest import mock
from feanor.builtin import BuiltInLibrary
from feanor.engine import *
from feanor.schema import Schema
class TestEngine(unittest.TestCase):
def setUp(self):
self.rand = random.Random(0)
self.ra... | 43.207254 | 112 | 0.660511 | 1,071 | 8,339 | 4.881419 | 0.124183 | 0.073451 | 0.110176 | 0.072686 | 0.841622 | 0.788064 | 0.765302 | 0.754017 | 0.734507 | 0.671576 | 0 | 0.024844 | 0.213215 | 8,339 | 192 | 113 | 43.432292 | 0.771986 | 0 | 0 | 0.613497 | 0 | 0 | 0.021226 | 0 | 0 | 0 | 0 | 0 | 0.171779 | 1 | 0.110429 | false | 0 | 0.04908 | 0 | 0.177914 | 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 |
ef5ae80d1be653ef3559db48e471435962525e9e | 7,556 | py | Python | sagemaker-pipelines/tabular/custom_callback_pipelines_step/setup_iam_roles.py | pollyrolly/amazon-sagemaker-examples | b1a56b4dc96201b769f7bbc1e207649423874586 | [
"Apache-2.0"
] | 2,610 | 2020-10-01T14:14:53.000Z | 2022-03-31T18:02:31.000Z | sagemaker-pipelines/tabular/custom_callback_pipelines_step/setup_iam_roles.py | pollyrolly/amazon-sagemaker-examples | b1a56b4dc96201b769f7bbc1e207649423874586 | [
"Apache-2.0"
] | 1,959 | 2020-09-30T20:22:42.000Z | 2022-03-31T23:58:37.000Z | sagemaker-pipelines/tabular/custom_callback_pipelines_step/setup_iam_roles.py | pollyrolly/amazon-sagemaker-examples | b1a56b4dc96201b769f7bbc1e207649423874586 | [
"Apache-2.0"
] | 2,052 | 2020-09-30T22:11:46.000Z | 2022-03-31T23:02:51.000Z | import json
import boto3
iam = boto3.client('iam')
def create_ecs_task_role(role_name):
try:
response = iam.create_role(
RoleName = role_name,
AssumeRolePolicyDocument = json.dumps({
"Version": "2012-10-17",
"Statement": [
{
... | 31.352697 | 130 | 0.442959 | 574 | 7,556 | 5.642857 | 0.139373 | 0.061747 | 0.083977 | 0.046311 | 0.870639 | 0.84841 | 0.822167 | 0.822167 | 0.765668 | 0.750232 | 0 | 0.020868 | 0.4419 | 7,556 | 241 | 131 | 31.352697 | 0.747214 | 0 | 0 | 0.607656 | 0 | 0.009569 | 0.222046 | 0.063517 | 0 | 0 | 0 | 0 | 0 | 1 | 0.019139 | false | 0.004785 | 0.009569 | 0 | 0.066986 | 0.019139 | 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 |
322dc08fba9da1472bf3d9bd2741f42cac0f20b4 | 242 | py | Python | tests/input/unused-import/same_name_decorator.py | DKorytkin/pylint-pytest | 097b7767e5f33ad512d421bea9ebb74a251f47bd | [
"MIT"
] | 37 | 2020-06-04T16:34:39.000Z | 2022-02-27T13:00:22.000Z | tests/input/unused-import/same_name_decorator.py | DKorytkin/pylint-pytest | 097b7767e5f33ad512d421bea9ebb74a251f47bd | [
"MIT"
] | 26 | 2020-07-10T15:53:19.000Z | 2022-03-28T23:56:03.000Z | tests/input/unused-import/same_name_decorator.py | DKorytkin/pylint-pytest | 097b7767e5f33ad512d421bea9ebb74a251f47bd | [
"MIT"
] | 6 | 2020-06-29T17:45:38.000Z | 2022-02-19T01:09:57.000Z | import pytest
# an actual unused import, just happened to have the same name as fixture
from _same_name_module import conftest_fixture_attr
@pytest.mark.usefixtures('conftest_fixture_attr')
def test_conftest_fixture_attr():
assert True
| 26.888889 | 73 | 0.822314 | 36 | 242 | 5.25 | 0.666667 | 0.238095 | 0.301587 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128099 | 242 | 8 | 74 | 30.25 | 0.895735 | 0.293388 | 0 | 0 | 0 | 0 | 0.12426 | 0.12426 | 0 | 0 | 0 | 0 | 0.2 | 1 | 0.2 | true | 0 | 0.4 | 0 | 0.6 | 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 |
329f42d57855cea4fef82bdd99313c46094b7cdc | 92 | py | Python | jalapeno/data/matrix.py | michael-a-hansen/jalapeno | 2f0d47467a78395e42854e11abebcf1b7721e0be | [
"MIT"
] | 1 | 2019-11-09T15:13:38.000Z | 2019-11-09T15:13:38.000Z | jalapeno/data/matrix.py | michael-a-hansen/jalapeno | 2f0d47467a78395e42854e11abebcf1b7721e0be | [
"MIT"
] | 3 | 2016-10-05T22:57:46.000Z | 2016-10-06T06:26:22.000Z | jalapeno/data/matrix.py | michael-a-hansen/jalapeno | 2f0d47467a78395e42854e11abebcf1b7721e0be | [
"MIT"
] | null | null | null | import scipy.io as scio
def read_matrix_market(filename):
return scio.mmread(filename) | 18.4 | 33 | 0.782609 | 14 | 92 | 5 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141304 | 92 | 5 | 34 | 18.4 | 0.886076 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
32a73f94166684d055e4d5040f882c19cd8e7b4b | 36 | py | Python | detex/explainers/shap/maskers/__init__.py | dentou/detex | 09c083c47fe41e607941dfa53219395d2ad89e1c | [
"BSD-3-Clause"
] | 1 | 2022-03-02T16:26:25.000Z | 2022-03-02T16:26:25.000Z | detex/explainers/shap/maskers/__init__.py | dentou/detex | 09c083c47fe41e607941dfa53219395d2ad89e1c | [
"BSD-3-Clause"
] | null | null | null | detex/explainers/shap/maskers/__init__.py | dentou/detex | 09c083c47fe41e607941dfa53219395d2ad89e1c | [
"BSD-3-Clause"
] | 2 | 2022-03-16T02:02:57.000Z | 2022-03-20T16:51:45.000Z | from .image import BetterImageMasker | 36 | 36 | 0.888889 | 4 | 36 | 8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 36 | 1 | 36 | 36 | 0.969697 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
086229b2e32810bda3270cb058c973863bb5a659 | 128 | py | Python | .ipynb_checkpoints/generate_benchmark-checkpoint.py | shubham0704/parallelGSO | 46e8b6f194d339b4f4512b463009e0671a16de81 | [
"MIT"
] | 16 | 2018-07-28T15:06:07.000Z | 2021-02-13T13:42:54.000Z | .ipynb_checkpoints/generate_benchmark-checkpoint.py | shubham0704/parallelGSO | 46e8b6f194d339b4f4512b463009e0671a16de81 | [
"MIT"
] | null | null | null | .ipynb_checkpoints/generate_benchmark-checkpoint.py | shubham0704/parallelGSO | 46e8b6f194d339b4f4512b463009e0671a16de81 | [
"MIT"
] | null | null | null | from cuda_code.final.benchmark import *
from cuda_code.final.monolithic import *
import psutil
def get_bench_marks():
| 18.285714 | 40 | 0.757813 | 18 | 128 | 5.166667 | 0.666667 | 0.172043 | 0.258065 | 0.365591 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.171875 | 128 | 7 | 41 | 18.285714 | 0.877358 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.75 | null | null | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
0871681ed19e71f80fb37364ed212391a477df7f | 36 | py | Python | atools/lib/chains/__init__.py | dubosese/atools | 9d6f9e08310f3abb62aa6ec9e6003dcf9b87b513 | [
"MIT"
] | null | null | null | atools/lib/chains/__init__.py | dubosese/atools | 9d6f9e08310f3abb62aa6ec9e6003dcf9b87b513 | [
"MIT"
] | null | null | null | atools/lib/chains/__init__.py | dubosese/atools | 9d6f9e08310f3abb62aa6ec9e6003dcf9b87b513 | [
"MIT"
] | null | null | null | from .alkylsilane import Alkylsilane | 36 | 36 | 0.888889 | 4 | 36 | 8 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 36 | 1 | 36 | 36 | 0.969697 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
088f72c0fab5a2c574fd8f3c51af6dc73b5c7205 | 87 | py | Python | utils/errors.py | MadWookie/Cloud-Bot | 475da41639bce41e2de58719c095e78a6a7df3db | [
"MIT"
] | null | null | null | utils/errors.py | MadWookie/Cloud-Bot | 475da41639bce41e2de58719c095e78a6a7df3db | [
"MIT"
] | null | null | null | utils/errors.py | MadWookie/Cloud-Bot | 475da41639bce41e2de58719c095e78a6a7df3db | [
"MIT"
] | null | null | null | from discord.ext import commands
class NotConnected(commands.CheckFailure):
pass
| 14.5 | 42 | 0.793103 | 10 | 87 | 6.9 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.149425 | 87 | 5 | 43 | 17.4 | 0.932432 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
08cb078f05c64abf6005074f165a07b8d71db3a0 | 28 | py | Python | python-datetime-helper/__init__.py | concordia-labs/python-datetime-helper | a0c06037bfdf23ebc8fd12fcc4ffe16031e0d5ef | [
"MIT"
] | 1 | 2021-03-22T22:34:23.000Z | 2021-03-22T22:34:23.000Z | python-datetime-helper/__init__.py | concordia-labs/python-datetime-helper | a0c06037bfdf23ebc8fd12fcc4ffe16031e0d5ef | [
"MIT"
] | null | null | null | python-datetime-helper/__init__.py | concordia-labs/python-datetime-helper | a0c06037bfdf23ebc8fd12fcc4ffe16031e0d5ef | [
"MIT"
] | null | null | null | from .main import TimeHelper | 28 | 28 | 0.857143 | 4 | 28 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107143 | 28 | 1 | 28 | 28 | 0.96 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3ed622fdbeb1106a0c28e94a5d4f372c84751fc5 | 36,175 | py | Python | tests/test_mapping_file_mapper_base.py | chadmcinnis/folio_migration_tools | 39ee044a713a34c323324a956e3e8b54ee05c194 | [
"MIT"
] | 1 | 2022-03-30T07:48:33.000Z | 2022-03-30T07:48:33.000Z | tests/test_mapping_file_mapper_base.py | chadmcinnis/folio_migration_tools | 39ee044a713a34c323324a956e3e8b54ee05c194 | [
"MIT"
] | 76 | 2022-02-04T16:36:49.000Z | 2022-03-31T11:20:29.000Z | tests/test_mapping_file_mapper_base.py | chadmcinnis/folio_migration_tools | 39ee044a713a34c323324a956e3e8b54ee05c194 | [
"MIT"
] | 1 | 2022-02-02T17:19:05.000Z | 2022-02-02T17:19:05.000Z | import itertools
from typing import List
from unittest.mock import MagicMock
from unittest.mock import Mock
from folio_uuid.folio_namespaces import FOLIONamespaces
from folioclient import FolioClient
from folio_migration_tools.library_configuration import LibraryConfiguration
from folio_migration_tools.mapping_file_t... | 35.816832 | 222 | 0.423856 | 2,607 | 36,175 | 5.700422 | 0.095512 | 0.043739 | 0.076307 | 0.062984 | 0.857277 | 0.828073 | 0.807146 | 0.803782 | 0.792881 | 0.786286 | 0 | 0.020347 | 0.438894 | 36,175 | 1,009 | 223 | 35.852329 | 0.711794 | 0.000332 | 0 | 0.637295 | 0 | 0.001025 | 0.33373 | 0.035812 | 0 | 0 | 0 | 0 | 0.034836 | 1 | 0.014344 | false | 0 | 0.009221 | 0 | 0.026639 | 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 |
3ef05b6b8f89efb91976aa3431bf6d0e224c314d | 171 | py | Python | core/util/__init__.py | hugoseabra/redmine-task-generator | b5ce1764f1c7588a7c82b25f7dd4bf07d1c105cf | [
"MIT"
] | null | null | null | core/util/__init__.py | hugoseabra/redmine-task-generator | b5ce1764f1c7588a7c82b25f7dd4bf07d1c105cf | [
"MIT"
] | 4 | 2021-03-30T14:04:56.000Z | 2021-06-10T19:40:52.000Z | core/util/__init__.py | hugoseabra/redmine-task-generator | b5ce1764f1c7588a7c82b25f7dd4bf07d1c105cf | [
"MIT"
] | null | null | null | from .model_field_slugify import model_field_slugify, ReservedSlugException # noqa
from .date import create_years_list # noqa
from .string import represents_int # noqa
| 42.75 | 83 | 0.830409 | 23 | 171 | 5.869565 | 0.608696 | 0.148148 | 0.251852 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128655 | 171 | 3 | 84 | 57 | 0.90604 | 0.081871 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f5ad525ba4f9029768a6068ba94f5fabd17f93bd | 11,244 | py | Python | python/src/opendp/meas.py | souravrhythm/opendp | 2c576dbf98389c349ca3a3be928f0e600cd0c10b | [
"MIT"
] | 95 | 2021-02-17T19:50:28.000Z | 2022-03-31T16:50:59.000Z | python/src/opendp/meas.py | souravrhythm/opendp | 2c576dbf98389c349ca3a3be928f0e600cd0c10b | [
"MIT"
] | 299 | 2021-02-10T00:14:41.000Z | 2022-03-31T16:17:33.000Z | python/src/opendp/meas.py | souravrhythm/opendp | 2c576dbf98389c349ca3a3be928f0e600cd0c10b | [
"MIT"
] | 13 | 2021-04-01T14:40:56.000Z | 2022-03-27T08:52:46.000Z | # Auto-generated. Do not edit.
from opendp._convert import *
from opendp._lib import *
from opendp.mod import *
from opendp.typing import *
__all__ = [
"make_base_laplace",
"make_base_gaussian",
"make_base_analytic_gaussian",
"make_base_geometric",
"make_randomized_response_bool",
"make_randomi... | 39.1777 | 115 | 0.719495 | 1,585 | 11,244 | 4.908517 | 0.108517 | 0.03599 | 0.014139 | 0.030848 | 0.793573 | 0.767738 | 0.747815 | 0.737404 | 0.730206 | 0.720437 | 0 | 0.000774 | 0.196016 | 11,244 | 286 | 116 | 39.314685 | 0.859845 | 0.458556 | 0 | 0.524194 | 1 | 0 | 0.056321 | 0.014124 | 0 | 0 | 0 | 0 | 0.056452 | 1 | 0.056452 | false | 0 | 0.032258 | 0 | 0.145161 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f5befc9990e8ce3af7ca500aecf635f360c84bea | 45 | py | Python | cupy_alias/manipulation/kind.py | fixstars/clpy | 693485f85397cc110fa45803c36c30c24c297df0 | [
"BSD-3-Clause"
] | 142 | 2018-06-07T07:43:10.000Z | 2021-10-30T21:06:32.000Z | cupy_alias/manipulation/kind.py | fixstars/clpy | 693485f85397cc110fa45803c36c30c24c297df0 | [
"BSD-3-Clause"
] | 282 | 2018-06-07T08:35:03.000Z | 2021-03-31T03:14:32.000Z | cupy_alias/manipulation/kind.py | fixstars/clpy | 693485f85397cc110fa45803c36c30c24c297df0 | [
"BSD-3-Clause"
] | 19 | 2018-06-19T11:07:53.000Z | 2021-05-13T20:57:04.000Z | from clpy.manipulation.kind import * # NOQA
| 22.5 | 44 | 0.755556 | 6 | 45 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.155556 | 45 | 1 | 45 | 45 | 0.894737 | 0.088889 | 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 |
f5e92664f76df86f97cea58bcb94be68ba7c7b2c | 11,572 | py | Python | otcextensions/osclient/cts/v1/tracker.py | zsoltn/python-otcextensions | 4c0fa22f095ebd5f9636ae72acbae5048096822c | [
"Apache-2.0"
] | 10 | 2018-03-03T17:59:59.000Z | 2020-01-08T10:03:00.000Z | otcextensions/osclient/cts/v1/tracker.py | zsoltn/python-otcextensions | 4c0fa22f095ebd5f9636ae72acbae5048096822c | [
"Apache-2.0"
] | 208 | 2020-02-10T08:27:46.000Z | 2022-03-29T15:24:21.000Z | otcextensions/osclient/cts/v1/tracker.py | zsoltn/python-otcextensions | 4c0fa22f095ebd5f9636ae72acbae5048096822c | [
"Apache-2.0"
] | 15 | 2020-04-01T20:45:54.000Z | 2022-03-23T12:45:43.000Z | # Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distrib... | 38.065789 | 78 | 0.560145 | 1,302 | 11,572 | 4.797235 | 0.176651 | 0.057637 | 0.04627 | 0.018252 | 0.758085 | 0.740154 | 0.728947 | 0.728947 | 0.713737 | 0.713737 | 0 | 0.007433 | 0.33728 | 11,572 | 303 | 79 | 38.191419 | 0.807015 | 0.050035 | 0 | 0.733068 | 0 | 0 | 0.344661 | 0.008929 | 0.007968 | 0 | 0 | 0 | 0 | 1 | 0.035857 | false | 0 | 0.01992 | 0 | 0.119522 | 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 |
f5f8382e01578e5c6a0b86e0cf5fddba035a15c0 | 38 | py | Python | electrumsv_sdk/builtin_components/electrumsv_server/__init__.py | electrumsv/electrumsv-sdk | 2d4b9474b2e2fc5518bba10684c5d5130ffb6328 | [
"OML"
] | 4 | 2020-07-06T12:13:14.000Z | 2021-07-29T12:45:27.000Z | electrumsv_sdk/builtin_components/electrumsv_server/__init__.py | electrumsv/electrumsv-sdk | 2d4b9474b2e2fc5518bba10684c5d5130ffb6328 | [
"OML"
] | 62 | 2020-07-04T04:50:27.000Z | 2021-08-19T21:06:10.000Z | electrumsv_sdk/builtin_components/electrumsv_server/__init__.py | electrumsv/electrumsv-sdk | 2d4b9474b2e2fc5518bba10684c5d5130ffb6328 | [
"OML"
] | 3 | 2021-01-21T09:22:45.000Z | 2021-06-12T10:16:03.000Z | from .electrumsv_server import Plugin
| 19 | 37 | 0.868421 | 5 | 38 | 6.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 38 | 1 | 38 | 38 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
de58825a5ca6a45789c6c24c2d84813bcd1c1fc2 | 13,268 | py | Python | tests/_console/test_assertion.py | ynsnf/apysc | b10ffaf76ec6beb187477d0a744fca00e3efc3fb | [
"MIT"
] | 16 | 2021-04-16T02:01:29.000Z | 2022-01-01T08:53:49.000Z | tests/_console/test_assertion.py | ynsnf/apysc | b10ffaf76ec6beb187477d0a744fca00e3efc3fb | [
"MIT"
] | 613 | 2021-03-24T03:37:38.000Z | 2022-03-26T10:58:37.000Z | tests/_console/test_assertion.py | simon-ritchie/apyscript | c319f8ab2f1f5f7fad8d2a8b4fc06e7195476279 | [
"MIT"
] | 2 | 2021-06-20T07:32:58.000Z | 2021-12-26T08:22:11.000Z | from random import randint
from retrying import retry
import apysc as ap
from apysc._console import assertion
from apysc._expression import expression_data_util
@retry(stop_max_attempt_number=15, wait_fixed=randint(10, 3000))
def test_assert_equal() -> None:
expression_data_util.empty_expression()
... | 37.80057 | 79 | 0.680509 | 1,748 | 13,268 | 4.840961 | 0.052632 | 0.077759 | 0.099976 | 0.062515 | 0.900615 | 0.874852 | 0.828409 | 0.790357 | 0.756913 | 0.741905 | 0 | 0.033324 | 0.201613 | 13,268 | 350 | 80 | 37.908571 | 0.765506 | 0 | 0 | 0.566102 | 0 | 0 | 0.162486 | 0.069515 | 0 | 0 | 0 | 0 | 0.386441 | 1 | 0.057627 | false | 0 | 0.016949 | 0 | 0.074576 | 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 |
de7a5eb224c58788dfc0e32fd726d66aa9a545d9 | 95 | py | Python | src/lib/Calculator.py | shayansm2/metaalgolib | 354e0d215d61b893b7069f5379222cb2df7561fe | [
"MIT"
] | null | null | null | src/lib/Calculator.py | shayansm2/metaalgolib | 354e0d215d61b893b7069f5379222cb2df7561fe | [
"MIT"
] | null | null | null | src/lib/Calculator.py | shayansm2/metaalgolib | 354e0d215d61b893b7069f5379222cb2df7561fe | [
"MIT"
] | null | null | null | from src.lib.FunctionObject import FunctionObject
class Calculator(FunctionObject):
pass
| 15.833333 | 49 | 0.810526 | 10 | 95 | 7.7 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136842 | 95 | 5 | 50 | 19 | 0.939024 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
deabe147f29f801e60355802355c88af31bd863f | 262 | py | Python | aqueduct/services/__init__.py | smk51/aqueduct-analysis-microservice | 5bf0ac21c18957affcd8364fc8fbaab0345f1049 | [
"MIT"
] | 1 | 2017-05-31T14:55:14.000Z | 2017-05-31T14:55:14.000Z | aqueduct/services/__init__.py | smk51/aqueduct-analysis-microservice | 5bf0ac21c18957affcd8364fc8fbaab0345f1049 | [
"MIT"
] | 2 | 2021-12-03T20:37:13.000Z | 2021-12-13T19:48:38.000Z | aqueduct/services/__init__.py | smk51/aqueduct-analysis-microservice | 5bf0ac21c18957affcd8364fc8fbaab0345f1049 | [
"MIT"
] | 2 | 2021-04-06T19:25:25.000Z | 2022-01-31T22:23:52.000Z | """aqueduct SERVICES MODULE"""
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from aqueduct.services.carto_service import CartoService
from aqueduct.services.geostore_service import GeostoreService
| 29.111111 | 62 | 0.866412 | 31 | 262 | 6.806452 | 0.483871 | 0.227488 | 0.227488 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09542 | 262 | 8 | 63 | 32.75 | 0.890295 | 0.091603 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.2 | 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 |
deee61d5eb06adfe0d8e6e0c8c64d302d6fabae8 | 3,106 | py | Python | tests/functional/test_edit_profile.py | taranjeet/wye | ac4cc23d38cf2e72f87a0c1d26fff0316645c1ea | [
"MIT"
] | null | null | null | tests/functional/test_edit_profile.py | taranjeet/wye | ac4cc23d38cf2e72f87a0c1d26fff0316645c1ea | [
"MIT"
] | 2 | 2018-08-06T18:58:05.000Z | 2018-08-06T18:58:34.000Z | tests/functional/test_edit_profile.py | taranjeet/wye | ac4cc23d38cf2e72f87a0c1d26fff0316645c1ea | [
"MIT"
] | null | null | null | import re
import pytest
from .. import factories as f
pytestmark = pytest.mark.django_db
def test_signup_flow(base_url, browser, outbox):
user = f.create_user()
user.set_password('123123')
user.save()
url = base_url + '/workshop/'
browser.visit(url)
browser.fill('login', user.email)
br... | 34.898876 | 74 | 0.691887 | 398 | 3,106 | 5.246231 | 0.211055 | 0.099617 | 0.079023 | 0.061303 | 0.760057 | 0.752874 | 0.752874 | 0.752874 | 0.752874 | 0.69636 | 0 | 0.024724 | 0.153574 | 3,106 | 88 | 75 | 35.295455 | 0.769494 | 0.032196 | 0 | 0.705882 | 0 | 0 | 0.23 | 0 | 0 | 0 | 0 | 0 | 0.147059 | 1 | 0.014706 | false | 0.044118 | 0.044118 | 0 | 0.058824 | 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 |
def717305debdb332e57f0716f8d270307068e94 | 269 | py | Python | convlab/modules/policy/__init__.py | ngduyanhece/ConvLab | a04582a77537c1a706fbf64715baa9ad0be1301a | [
"MIT"
] | 405 | 2019-06-17T05:38:47.000Z | 2022-03-29T15:16:51.000Z | convlab/modules/policy/__init__.py | ngduyanhece/ConvLab | a04582a77537c1a706fbf64715baa9ad0be1301a | [
"MIT"
] | 69 | 2019-06-20T22:57:41.000Z | 2022-03-04T12:12:07.000Z | convlab/modules/policy/__init__.py | ngduyanhece/ConvLab | a04582a77537c1a706fbf64715baa9ad0be1301a | [
"MIT"
] | 124 | 2019-06-17T05:11:23.000Z | 2021-12-31T05:58:18.000Z | # Copyright (c) Microsoft Corporation.
# Licensed under the MIT license.
from convlab.modules.policy.system.multiwoz import RuleBasedMultiwozBot, RuleInformBot, VanillaMLEPolicy
from convlab.modules.policy.user.multiwoz import UserPolicyAgendaMultiWoz, UserPolicyVHUS
| 44.833333 | 104 | 0.851301 | 28 | 269 | 8.178571 | 0.785714 | 0.09607 | 0.157205 | 0.209607 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085502 | 269 | 5 | 105 | 53.8 | 0.930894 | 0.252788 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 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 |
defbd89918cf8fe18a04afddda2a4d6e2b1ed77a | 89 | py | Python | app/taotu/__init__.py | lcgameszero/lcgames_blog | 43df3685f1c826f2a8f236a33e1f183bef5e4b70 | [
"MIT"
] | 1 | 2017-05-27T02:10:28.000Z | 2017-05-27T02:10:28.000Z | app/taotu/__init__.py | lcgameszero/lcgames_blog | 43df3685f1c826f2a8f236a33e1f183bef5e4b70 | [
"MIT"
] | null | null | null | app/taotu/__init__.py | lcgameszero/lcgames_blog | 43df3685f1c826f2a8f236a33e1f183bef5e4b70 | [
"MIT"
] | null | null | null | from flask import Blueprint
taotu = Blueprint('taotu', __name__)
from . import views
| 11.125 | 36 | 0.741573 | 11 | 89 | 5.636364 | 0.636364 | 0.451613 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.179775 | 89 | 7 | 37 | 12.714286 | 0.849315 | 0 | 0 | 0 | 0 | 0 | 0.057471 | 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 |
a0c8c7a363ad22b0f5865d9998087a4cbec36368 | 168 | py | Python | IMC/venv/lib/python3.8/site-packages/cx_Freeze/__main__.py | AdrianaViabL/cursosAlura | 356237fd1b77d32c9ffef128012b07edeebd14ef | [
"Apache-2.0"
] | null | null | null | IMC/venv/lib/python3.8/site-packages/cx_Freeze/__main__.py | AdrianaViabL/cursosAlura | 356237fd1b77d32c9ffef128012b07edeebd14ef | [
"Apache-2.0"
] | null | null | null | IMC/venv/lib/python3.8/site-packages/cx_Freeze/__main__.py | AdrianaViabL/cursosAlura | 356237fd1b77d32c9ffef128012b07edeebd14ef | [
"Apache-2.0"
] | null | null | null | """
cx_Freeze command line tool (enable python -m cx_Freeze syntax)
"""
import sys
import cx_Freeze.cli
if __name__ == "__main__":
sys.exit(cx_Freeze.cli.main())
| 16.8 | 63 | 0.714286 | 26 | 168 | 4.153846 | 0.615385 | 0.296296 | 0.203704 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.154762 | 168 | 9 | 64 | 18.666667 | 0.760563 | 0.375 | 0 | 0 | 0 | 0 | 0.082474 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
a0ca79fd4c043e5234cff863f5eb616fb0876dfd | 19,433 | py | Python | pymapillary/pymapillary.py | khmurakami/pymapillary | 01412fc4470b0fd0fd9c4eb7540ed6d44fbd0877 | [
"MIT"
] | 3 | 2019-05-02T21:16:55.000Z | 2020-10-30T05:07:27.000Z | pymapillary/pymapillary.py | khmurakami/pymapillary | 01412fc4470b0fd0fd9c4eb7540ed6d44fbd0877 | [
"MIT"
] | null | null | null | pymapillary/pymapillary.py | khmurakami/pymapillary | 01412fc4470b0fd0fd9c4eb7540ed6d44fbd0877 | [
"MIT"
] | 1 | 2020-01-15T08:43:30.000Z | 2020-01-15T08:43:30.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from .error_handling import *
import requests
import wget
class Mapillary():
def __init__(self, client_id):
if client_id is None:
raise Exception("No Client id inserted")
self.root_url = "https://a.mapillary.com/v3"
self.client_... | 36.391386 | 81 | 0.524314 | 2,083 | 19,433 | 4.759962 | 0.087374 | 0.02824 | 0.040948 | 0.067272 | 0.822693 | 0.786384 | 0.766616 | 0.719617 | 0.705497 | 0.693091 | 0 | 0.008186 | 0.40282 | 19,433 | 533 | 82 | 36.459662 | 0.846187 | 0.49596 | 0 | 0.64 | 0 | 0 | 0.098619 | 0.005866 | 0 | 0 | 0 | 0 | 0 | 1 | 0.07 | false | 0 | 0.015 | 0 | 0.155 | 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 |
a0f729db45561294cdf44422c5f560f802cb4f26 | 151 | py | Python | answers/admin.py | gradut/cardboard | b3bb585f287506934a7016408dbce0d3fbe84e62 | [
"MIT"
] | 21 | 2019-11-19T21:50:50.000Z | 2021-01-24T05:51:23.000Z | answers/admin.py | gradut/cardboard | b3bb585f287506934a7016408dbce0d3fbe84e62 | [
"MIT"
] | 404 | 2019-11-25T01:15:44.000Z | 2021-11-22T15:06:53.000Z | answers/admin.py | gradut/cardboard | b3bb585f287506934a7016408dbce0d3fbe84e62 | [
"MIT"
] | 8 | 2019-12-02T03:00:11.000Z | 2021-05-28T16:41:33.000Z | from django.contrib import admin
from .models import Answer
class AnswerAdmin(admin.ModelAdmin):
pass
admin.site.register(Answer, AnswerAdmin)
| 15.1 | 40 | 0.788079 | 19 | 151 | 6.263158 | 0.684211 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.139073 | 151 | 9 | 41 | 16.777778 | 0.915385 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.4 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
9d04e098ac3654fc0062fe5d964bfd25d9d26647 | 1,788 | py | Python | examples/method_examples/plot_best_validation_curve.py | c60evaporator/param-tuning-utility | 80625f875428badac37d8439195a9327a565b040 | [
"BSD-3-Clause"
] | null | null | null | examples/method_examples/plot_best_validation_curve.py | c60evaporator/param-tuning-utility | 80625f875428badac37d8439195a9327a565b040 | [
"BSD-3-Clause"
] | null | null | null | examples/method_examples/plot_best_validation_curve.py | c60evaporator/param-tuning-utility | 80625f875428badac37d8439195a9327a565b040 | [
"BSD-3-Clause"
] | 1 | 2022-01-06T05:13:07.000Z | 2022-01-06T05:13:07.000Z | # %% plot_best_validation_curve(), no argument
import parent_import
from tune_easy import LGBMRegressorTuning
import pandas as pd
# Load dataset
df_reg = pd.read_csv(f'../sample_data/osaka_metropolis_english.csv')
TARGET_VARIABLE = 'approval_rate' # Target variable
USE_EXPLANATORY = ['2_between_30to60', '3_male_ratio'... | 45.846154 | 113 | 0.709172 | 245 | 1,788 | 4.844898 | 0.326531 | 0.139006 | 0.090986 | 0.116259 | 0.764954 | 0.764954 | 0.764954 | 0.764954 | 0.764954 | 0.677338 | 0 | 0.04698 | 0.166667 | 1,788 | 38 | 114 | 47.052632 | 0.749664 | 0.191834 | 0 | 0.714286 | 0 | 0 | 0.2 | 0.060993 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.214286 | 0 | 0.214286 | 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 |
9d1700eac651f0eeae050784dd78a586ea1e7ad9 | 2,159 | py | Python | cbf/cbf.py | asokraju/RL-buildings | 116e6d93caffca40df5ca0bee83a5e11ae28a237 | [
"MIT"
] | null | null | null | cbf/cbf.py | asokraju/RL-buildings | 116e6d93caffca40df5ca0bee83a5e11ae28a237 | [
"MIT"
] | 1 | 2020-09-01T05:41:39.000Z | 2020-09-01T05:41:39.000Z | cbf/cbf.py | asokraju/RL-buildings | 116e6d93caffca40df5ca0bee83a5e11ae28a237 | [
"MIT"
] | null | null | null | import numpy as np
from cvxopt import matrix
from cvxopt import solvers
#Build barrier function model
def CBF(env, T_min, T_max, eta_1 = 0.5, eta_2 = 0.5):
P = matrix(np.diag([0.0, 1e24,1e24]), tc='d')
q = matrix(np.zeros(3))
T = env.state[0]
Q = env.state[1]
a = np.delete(env.A[0], [1,2])
... | 26.654321 | 98 | 0.508106 | 395 | 2,159 | 2.635443 | 0.172152 | 0.024976 | 0.019212 | 0.03074 | 0.834774 | 0.834774 | 0.822286 | 0.822286 | 0.822286 | 0.822286 | 0 | 0.061623 | 0.240852 | 2,159 | 80 | 99 | 26.9875 | 0.57352 | 0.183418 | 0 | 0.697674 | 0 | 0 | 0.019473 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.046512 | false | 0 | 0.069767 | 0 | 0.162791 | 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 |
9d479df953b018b79ecd40721e3826a418feda5d | 24 | py | Python | pystandlogger/__init__.py | howaboutudance/pyloggerkinesis | ef27a2d29f259ac114143c9afb50d4ff985abd96 | [
"Apache-2.0"
] | null | null | null | pystandlogger/__init__.py | howaboutudance/pyloggerkinesis | ef27a2d29f259ac114143c9afb50d4ff985abd96 | [
"Apache-2.0"
] | null | null | null | pystandlogger/__init__.py | howaboutudance/pyloggerkinesis | ef27a2d29f259ac114143c9afb50d4ff985abd96 | [
"Apache-2.0"
] | null | null | null | from . import stand_dist | 24 | 24 | 0.833333 | 4 | 24 | 4.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 24 | 1 | 24 | 24 | 0.904762 | 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 |
c23da64261de67a230e554f532029617663fd7b6 | 106 | py | Python | auto_blob_saver/__main__.py | Helloyunho/auto-blob-saver- | 0095d9654ad7f54c01d233927137890573e2c4e5 | [
"MIT"
] | 4 | 2020-02-16T08:32:18.000Z | 2021-07-17T07:58:06.000Z | auto_blob_saver/__main__.py | Helloyunho/auto-blob-saver | 0095d9654ad7f54c01d233927137890573e2c4e5 | [
"MIT"
] | null | null | null | auto_blob_saver/__main__.py | Helloyunho/auto-blob-saver | 0095d9654ad7f54c01d233927137890573e2c4e5 | [
"MIT"
] | null | null | null | import auto_blob_saver
import asyncio
if __name__ == "__main__":
asyncio.run(auto_blob_saver.main())
| 17.666667 | 39 | 0.764151 | 15 | 106 | 4.6 | 0.6 | 0.231884 | 0.376812 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.132075 | 106 | 5 | 40 | 21.2 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0.075472 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
c2443b29594f2a6197a36e9fd75f7a6f8870e906 | 97 | py | Python | gym_microrts/envs/__init__.py | Agents-Bar/gym-microrts | 69267b05f0fff557f6318ab15182758d6d8889f4 | [
"Apache-2.0"
] | null | null | null | gym_microrts/envs/__init__.py | Agents-Bar/gym-microrts | 69267b05f0fff557f6318ab15182758d6d8889f4 | [
"Apache-2.0"
] | null | null | null | gym_microrts/envs/__init__.py | Agents-Bar/gym-microrts | 69267b05f0fff557f6318ab15182758d6d8889f4 | [
"Apache-2.0"
] | null | null | null | from .grid_mode_vec_env import MicroRTSGridModeVecEnv
from .bot_vec_env import MicroRTSBotVecEnv
| 32.333333 | 53 | 0.896907 | 13 | 97 | 6.307692 | 0.692308 | 0.146341 | 0.292683 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.082474 | 97 | 2 | 54 | 48.5 | 0.921348 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
dfb3fd80f39f383220271b2fabe4fbd203be8750 | 250 | py | Python | snmpagent_unity/unity_impl/DiskName.py | factioninc/snmp-unity-agent | 3525dc0fac60d1c784dcdd7c41693544bcbef843 | [
"Apache-2.0"
] | 2 | 2019-03-01T11:14:59.000Z | 2019-10-02T17:47:59.000Z | snmpagent_unity/unity_impl/DiskName.py | factioninc/snmp-unity-agent | 3525dc0fac60d1c784dcdd7c41693544bcbef843 | [
"Apache-2.0"
] | 2 | 2019-03-01T11:26:29.000Z | 2019-10-11T18:56:54.000Z | snmpagent_unity/unity_impl/DiskName.py | factioninc/snmp-unity-agent | 3525dc0fac60d1c784dcdd7c41693544bcbef843 | [
"Apache-2.0"
] | 1 | 2019-10-03T21:09:17.000Z | 2019-10-03T21:09:17.000Z | class DiskName(object):
def read_get(self, name, idx_name, unity_client):
return unity_client.get_disk_name(idx_name)
class DiskNameColumn(object):
def get_idx(self, name, idx, unity_client):
return unity_client.get_disks()
| 27.777778 | 53 | 0.728 | 36 | 250 | 4.75 | 0.416667 | 0.25731 | 0.128655 | 0.25731 | 0.362573 | 0.362573 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176 | 250 | 8 | 54 | 31.25 | 0.830097 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
dfe8bc39963dccadf1d922be5b001ea8879e693d | 120,857 | py | Python | venv/lib/python3.8/site-packages/aws_cdk/aws_globalaccelerator/__init__.py | harun-vit/aws-cdk-pipelines-demo | 7e7faeee112c3dca718613fa8a1fba80d2116bac | [
"MIT-0"
] | null | null | null | venv/lib/python3.8/site-packages/aws_cdk/aws_globalaccelerator/__init__.py | harun-vit/aws-cdk-pipelines-demo | 7e7faeee112c3dca718613fa8a1fba80d2116bac | [
"MIT-0"
] | null | null | null | venv/lib/python3.8/site-packages/aws_cdk/aws_globalaccelerator/__init__.py | harun-vit/aws-cdk-pipelines-demo | 7e7faeee112c3dca718613fa8a1fba80d2116bac | [
"MIT-0"
] | null | null | null | '''
# AWS::GlobalAccelerator Construct Library
<!--BEGIN STABILITY BANNER-->---


---
<!--END STA... | 43.788768 | 426 | 0.687987 | 13,729 | 120,857 | 5.914706 | 0.041299 | 0.038964 | 0.02463 | 0.020049 | 0.850474 | 0.832457 | 0.817728 | 0.807741 | 0.773851 | 0.755822 | 0 | 0.002013 | 0.202769 | 120,857 | 2,759 | 427 | 43.804639 | 0.84077 | 0.374922 | 0 | 0.679359 | 0 | 0 | 0.137727 | 0.055116 | 0 | 0 | 0 | 0 | 0.014028 | 1 | 0.144289 | false | 0 | 0.008016 | 0.032064 | 0.295257 | 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 |
dffb666cc060d5da4efa5e1686d4cff404c86ee4 | 211 | py | Python | note5/test2_v2.py | icexmoon/python-learning-notes | 838c91d896404290b89992b6517be1b6a79df41f | [
"MIT"
] | null | null | null | note5/test2_v2.py | icexmoon/python-learning-notes | 838c91d896404290b89992b6517be1b6a79df41f | [
"MIT"
] | null | null | null | note5/test2_v2.py | icexmoon/python-learning-notes | 838c91d896404290b89992b6517be1b6a79df41f | [
"MIT"
] | null | null | null | #test2.py
if __name__=="__main__":
print("this is module test2")
def test2Function():
print("this is a function in module test2")
if __name__=="__main__":
print("this is test2 module name:"+__name__) | 30.142857 | 48 | 0.701422 | 30 | 211 | 4.266667 | 0.466667 | 0.210938 | 0.257813 | 0.234375 | 0.328125 | 0.328125 | 0 | 0 | 0 | 0 | 0 | 0.028249 | 0.161137 | 211 | 7 | 48 | 30.142857 | 0.694915 | 0.037915 | 0 | 0.333333 | 0 | 0 | 0.472906 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | true | 0 | 0 | 0 | 0.166667 | 0.5 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
5f01354a8c8a542e86a052ada9ee6fc5d9aab01c | 2,154 | py | Python | epytope/Data/pssms/smm/mat/C_12_03_9.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 7 | 2021-02-01T18:11:28.000Z | 2022-01-31T19:14:07.000Z | epytope/Data/pssms/smm/mat/C_12_03_9.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 22 | 2021-01-02T15:25:23.000Z | 2022-03-14T11:32:53.000Z | epytope/Data/pssms/smm/mat/C_12_03_9.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 4 | 2021-05-28T08:50:38.000Z | 2022-03-14T11:45:32.000Z | C_12_03_9 = {0: {'A': 0.001, 'C': 0.0, 'E': 0.004, 'D': -0.002, 'G': 0.0, 'F': -0.012, 'I': 0.001, 'H': -0.0, 'K': -0.006, 'M': 0.004, 'L': 0.003, 'N': -0.003, 'Q': 0.0, 'P': 0.0, 'S': 0.009, 'R': 0.008, 'T': -0.001, 'W': 0.001, 'V': 0.009, 'Y': -0.015}, 1: {'A': -0.405, 'C': 0.0, 'E': 0.0, 'D': 0.0, 'G': 0.0, 'F': 0.0... | 2,154 | 2,154 | 0.357939 | 557 | 2,154 | 1.378815 | 0.177738 | 0.192708 | 0.023438 | 0.03125 | 0.359375 | 0.239583 | 0.239583 | 0.239583 | 0.21875 | 0.21875 | 0 | 0.327906 | 0.173166 | 2,154 | 1 | 2,154 | 2,154 | 0.103313 | 0 | 0 | 0 | 0 | 0 | 0.084919 | 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 |
5f125fd9b53fe0c36d31f168c7d05b34a636489e | 100 | py | Python | footle/__init__.py | SupImDos/footle | ff9178e52d1577c96a8b6ec00883ead9317f8b46 | [
"MIT"
] | 1 | 2022-03-25T15:28:57.000Z | 2022-03-25T15:28:57.000Z | footle/__init__.py | SupImDos/footle | ff9178e52d1577c96a8b6ec00883ead9317f8b46 | [
"MIT"
] | null | null | null | footle/__init__.py | SupImDos/footle | ff9178e52d1577c96a8b6ec00883ead9317f8b46 | [
"MIT"
] | null | null | null | """Exports Package Interface"""
# Local
from . import data
from . import game
from . import models
| 14.285714 | 31 | 0.72 | 13 | 100 | 5.538462 | 0.692308 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.18 | 100 | 6 | 32 | 16.666667 | 0.878049 | 0.32 | 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 |
5f13c8910cd2964e73c470ff40cdae8091c02ce6 | 34 | py | Python | lib/artkit/shapes/__init__.py | dave-nachman/artkit | 5d7e1f1c4ca771c53bbece3872e0ca4544d8ac85 | [
"MIT"
] | null | null | null | lib/artkit/shapes/__init__.py | dave-nachman/artkit | 5d7e1f1c4ca771c53bbece3872e0ca4544d8ac85 | [
"MIT"
] | 5 | 2021-09-02T13:03:23.000Z | 2022-02-27T07:07:38.000Z | lib/artkit/shapes/__init__.py | dave-nachman/artkit | 5d7e1f1c4ca771c53bbece3872e0ca4544d8ac85 | [
"MIT"
] | null | null | null |
from artkit.shapes.shape import * | 17 | 33 | 0.794118 | 5 | 34 | 5.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 34 | 2 | 33 | 17 | 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 |
5f15af643654f895e146454cf3290ef5c7837206 | 298 | py | Python | stable_baselines/gail/__init__.py | marctuscher/stable-baselines | d6b2c857fc12915aa8de545a3e14a9f76607703b | [
"MIT"
] | null | null | null | stable_baselines/gail/__init__.py | marctuscher/stable-baselines | d6b2c857fc12915aa8de545a3e14a9f76607703b | [
"MIT"
] | null | null | null | stable_baselines/gail/__init__.py | marctuscher/stable-baselines | d6b2c857fc12915aa8de545a3e14a9f76607703b | [
"MIT"
] | null | null | null | from stable_baselines.gail.model import GAIL
from stable_baselines.gail.dataset.dataset import ExpertDataset, ExpertDatasetLSTM, DataLoader
from stable_baselines.gail.dataset.record_expert import generate_expert_traj
from stable_baselines.gail.dataset.record_expert import generate_expert_traj_HER
| 59.6 | 94 | 0.895973 | 40 | 298 | 6.4 | 0.375 | 0.15625 | 0.296875 | 0.359375 | 0.632813 | 0.515625 | 0.515625 | 0.515625 | 0.515625 | 0.515625 | 0 | 0 | 0.060403 | 298 | 4 | 95 | 74.5 | 0.914286 | 0 | 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 |
a02643b18f4852bde78d349779ccaa51bfd43de7 | 168 | py | Python | lib/models/parsers/__init__.py | wanghm92/Singlish_parser_tf0.12 | 06e28922ab54f57ade7fb8518ab4d3132286cd01 | [
"MIT"
] | 18 | 2017-05-17T13:51:08.000Z | 2021-06-13T14:34:42.000Z | lib/models/parsers/__init__.py | wanghm92/Singlish_parser_tf0.12 | 06e28922ab54f57ade7fb8518ab4d3132286cd01 | [
"MIT"
] | 1 | 2018-12-10T04:06:06.000Z | 2018-12-10T04:06:06.000Z | lib/models/parsers/__init__.py | wanghm92/Singlish_parser_tf0.12 | 06e28922ab54f57ade7fb8518ab4d3132286cd01 | [
"MIT"
] | 7 | 2018-04-24T11:25:03.000Z | 2021-03-21T16:41:42.000Z | from parser import Parser
from stupid_parser import StupidParser
from diag_parser import DiagParser
from notag_parser import NoTagParser
from kg_parser import KGParser
| 28 | 38 | 0.880952 | 24 | 168 | 6 | 0.458333 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119048 | 168 | 5 | 39 | 33.6 | 0.972973 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.