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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
3d944c526977c961500124b5b555f2a9016560a1 | 14,812 | py | Python | tests/test_caltrack_hourly.py | Morilor/eemeter | 312525bb89119b877d0d905d45c167052b7275f5 | [
"Apache-2.0"
] | 161 | 2016-08-22T22:38:38.000Z | 2022-03-24T10:04:05.000Z | tests/test_caltrack_hourly.py | Morilor/eemeter | 312525bb89119b877d0d905d45c167052b7275f5 | [
"Apache-2.0"
] | 313 | 2016-09-12T05:36:28.000Z | 2022-01-07T21:20:11.000Z | tests/test_caltrack_hourly.py | Morilor/eemeter | 312525bb89119b877d0d905d45c167052b7275f5 | [
"Apache-2.0"
] | 58 | 2016-08-22T22:49:53.000Z | 2022-01-18T12:18:07.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
Copyright 2014-2019 OpenEEmeter contributors
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/LIC... | 31.052411 | 88 | 0.690049 | 1,817 | 14,812 | 5.267474 | 0.10732 | 0.081496 | 0.035106 | 0.046808 | 0.883189 | 0.842754 | 0.805872 | 0.786125 | 0.777035 | 0.761362 | 0 | 0.021962 | 0.216109 | 14,812 | 476 | 89 | 31.117647 | 0.802343 | 0.041318 | 0 | 0.663317 | 0 | 0 | 0.114839 | 0.001836 | 0 | 0 | 0 | 0 | 0.082915 | 1 | 0.067839 | false | 0 | 0.015075 | 0.012563 | 0.128141 | 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 |
3daddab9450165a26aaa1dfd0d06224e21bc8e0a | 16,481 | py | Python | test/programytest/extensions/scheduler/test_scheduler.py | cdoebler1/AIML2 | ee692ec5ea3794cd1bc4cc8ec2a6b5e5c20a0d6a | [
"MIT"
] | 345 | 2016-11-23T22:37:04.000Z | 2022-03-30T20:44:44.000Z | test/programytest/extensions/scheduler/test_scheduler.py | MikeyBeez/program-y | 00d7a0c7d50062f18f0ab6f4a041068e119ef7f0 | [
"MIT"
] | 275 | 2016-12-07T10:30:28.000Z | 2022-02-08T21:28:33.000Z | test/programytest/extensions/scheduler/test_scheduler.py | VProgramMist/modified-program-y | f32efcafafd773683b3fe30054d5485fe9002b7d | [
"MIT"
] | 159 | 2016-11-28T18:59:30.000Z | 2022-03-20T18:02:44.000Z | import unittest
from programy.extensions.scheduler.scheduler import SchedulerExtension
from programytest.client import TestClient
class SchedulerExtensionClient(TestClient):
def __init__(self, mock_scheduler=None):
self._mock_scheduler = mock_scheduler
TestClient.__init__(self)
def load_con... | 40.493857 | 127 | 0.696802 | 1,726 | 16,481 | 6.409618 | 0.052144 | 0.176263 | 0.121938 | 0.117961 | 0.911597 | 0.897135 | 0.888999 | 0.876797 | 0.869656 | 0.835578 | 0 | 0.007617 | 0.203446 | 16,481 | 406 | 128 | 40.593596 | 0.835085 | 0.009647 | 0 | 0.652459 | 0 | 0 | 0.093055 | 0.004414 | 0 | 0 | 0 | 0 | 0.147541 | 1 | 0.183607 | false | 0.045902 | 0.009836 | 0.006557 | 0.213115 | 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 |
9a8e7b31fad144ec998819e21cb8e9f6c82d9a34 | 2,449 | py | Python | util/score_ctc.py | trinhtuanvubk/KWS-based-ASR | 56ca095a903637ba92527fa3230bccd3357afa91 | [
"MIT"
] | 1 | 2022-03-16T07:01:00.000Z | 2022-03-16T07:01:00.000Z | util/score_ctc.py | trinhtuanvubk/KWS-based-ASR | 56ca095a903637ba92527fa3230bccd3357afa91 | [
"MIT"
] | null | null | null | util/score_ctc.py | trinhtuanvubk/KWS-based-ASR | 56ca095a903637ba92527fa3230bccd3357afa91 | [
"MIT"
] | null | null | null | # import nemo
import nemo.collections.asr as nemo_asr
import torch
import numpy as np
import torch.tensor
# import math
import util
def score_stream(data,matrix_learned_phoneme,matrix_w):
model_path = "./lightning_logs/version_7/checkpoints/epoch=2-step=21404.ckpt"
asr_model = nemo_asr.models.EncDecCTCMode... | 35.492754 | 99 | 0.670478 | 336 | 2,449 | 4.6875 | 0.193452 | 0.160635 | 0.050794 | 0.040635 | 0.892063 | 0.892063 | 0.892063 | 0.892063 | 0.892063 | 0.892063 | 0 | 0.0129 | 0.208657 | 2,449 | 68 | 100 | 36.014706 | 0.799794 | 0.336056 | 0 | 0.62069 | 0 | 0 | 0.077597 | 0.077597 | 0 | 0 | 0 | 0 | 0 | 1 | 0.068966 | false | 0 | 0.172414 | 0 | 0.310345 | 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 |
9aa3d99b8bf882af4f0e3614935b5995fa917b51 | 88 | py | Python | autograd_cupy/sparse/sparse_jvps.py | ericmjl/autograd-cupy | 493a90cabae42f9e0fdbea77cef758aff659604f | [
"MIT"
] | 3 | 2018-08-03T00:11:17.000Z | 2018-12-27T17:47:54.000Z | autograd_cupy/sparse/sparse_jvps.py | ericmjl/autograd-cupy | 493a90cabae42f9e0fdbea77cef758aff659604f | [
"MIT"
] | null | null | null | autograd_cupy/sparse/sparse_jvps.py | ericmjl/autograd-cupy | 493a90cabae42f9e0fdbea77cef758aff659604f | [
"MIT"
] | null | null | null | from autograd.extend import def_linear
from .sparse_wrapper import dot
def_linear(dot)
| 17.6 | 38 | 0.840909 | 14 | 88 | 5.071429 | 0.642857 | 0.253521 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113636 | 88 | 4 | 39 | 22 | 0.910256 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9ab9435ec1f02262afd4f4bb84c025bded364f6d | 75 | py | Python | scpl/parser/__init__.py | jesopo/scpl | 1fa5acfb468ab212276781fa1760bb5eda438c23 | [
"MIT"
] | null | null | null | scpl/parser/__init__.py | jesopo/scpl | 1fa5acfb468ab212276781fa1760bb5eda438c23 | [
"MIT"
] | 2 | 2021-11-15T11:12:14.000Z | 2021-11-15T17:35:27.000Z | scpl/parser/__init__.py | jesopo/scpl | 1fa5acfb468ab212276781fa1760bb5eda438c23 | [
"MIT"
] | null | null | null | from .parser import *
from .operands import *
from .operators import *
| 18.75 | 24 | 0.706667 | 9 | 75 | 5.888889 | 0.555556 | 0.377358 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.213333 | 75 | 3 | 25 | 25 | 0.898305 | 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 |
9af9ff9ce17f38cb0bb39d7de4c3f27e10cfab06 | 41 | py | Python | TOPSIS_Prakhar_101803126/__init__.py | PrakharJindal/Topsis-Pypi-Package | 43a484d20aae5f4c8052295f432fafb6ba47aed4 | [
"MIT"
] | null | null | null | TOPSIS_Prakhar_101803126/__init__.py | PrakharJindal/Topsis-Pypi-Package | 43a484d20aae5f4c8052295f432fafb6ba47aed4 | [
"MIT"
] | null | null | null | TOPSIS_Prakhar_101803126/__init__.py | PrakharJindal/Topsis-Pypi-Package | 43a484d20aae5f4c8052295f432fafb6ba47aed4 | [
"MIT"
] | null | null | null | from .topsis import CalculateTopsisScore
| 20.5 | 40 | 0.878049 | 4 | 41 | 9 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097561 | 41 | 1 | 41 | 41 | 0.972973 | 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 |
b127ef316f1dd9b3d78f019706fc00e7bcca2096 | 67 | py | Python | amocrm_asterisk_ng/telephony/impl/instances/asterisk_16/cdr_provider/query_handlers/__init__.py | iqtek/amocrn_asterisk_ng | 429a8d0823b951c855a49c1d44ab0e05263c54dc | [
"MIT"
] | null | null | null | amocrm_asterisk_ng/telephony/impl/instances/asterisk_16/cdr_provider/query_handlers/__init__.py | iqtek/amocrn_asterisk_ng | 429a8d0823b951c855a49c1d44ab0e05263c54dc | [
"MIT"
] | null | null | null | amocrm_asterisk_ng/telephony/impl/instances/asterisk_16/cdr_provider/query_handlers/__init__.py | iqtek/amocrn_asterisk_ng | 429a8d0823b951c855a49c1d44ab0e05263c54dc | [
"MIT"
] | null | null | null | from .GetRecordFileUniqueIdQuery import GetRecordFileUniqueIdQuery
| 33.5 | 66 | 0.925373 | 4 | 67 | 15.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.059701 | 67 | 1 | 67 | 67 | 0.984127 | 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 |
b180c4c0a84ab038cab49981ad98faeffc5b12cb | 106 | py | Python | reqherd/webservice/crud/__init__.py | zthurman/reqherd | 6b35c4f22d4e28c363f82a5f3331657f8244a589 | [
"Apache-2.0"
] | null | null | null | reqherd/webservice/crud/__init__.py | zthurman/reqherd | 6b35c4f22d4e28c363f82a5f3331657f8244a589 | [
"Apache-2.0"
] | null | null | null | reqherd/webservice/crud/__init__.py | zthurman/reqherd | 6b35c4f22d4e28c363f82a5f3331657f8244a589 | [
"Apache-2.0"
] | null | null | null | from ..crud.sysreqs import sysreq
from ..crud.softreqs import softreq
from ..crud.hardreqs import hardreq
| 26.5 | 35 | 0.801887 | 15 | 106 | 5.666667 | 0.6 | 0.282353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113208 | 106 | 3 | 36 | 35.333333 | 0.904255 | 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 |
b184e119b4b603b4d9b7b4ce01a81fb46c2c80ea | 2,534 | py | Python | Zhangjiashan_vmd/projects/generate_samples.py | UnIcOrn7618/MonthlyRunoffForecastByAutoReg | 2d66c628141f001e4ffb3dc3b7520a0f0f0ff239 | [
"MIT"
] | 2 | 2020-09-24T13:31:06.000Z | 2020-11-11T09:08:16.000Z | Zhangjiashan_vmd/projects/generate_samples.py | UnIcOrn7618/MonthlyRunoffForecastByAutoReg | 2d66c628141f001e4ffb3dc3b7520a0f0f0ff239 | [
"MIT"
] | null | null | null | Zhangjiashan_vmd/projects/generate_samples.py | UnIcOrn7618/MonthlyRunoffForecastByAutoReg | 2d66c628141f001e4ffb3dc3b7520a0f0f0ff239 | [
"MIT"
] | 1 | 2020-12-16T07:29:32.000Z | 2020-12-16T07:29:32.000Z | import os
root_path = os.path.dirname(os.path.abspath("__file__"))
from variables import variables
import sys
sys.path.append(root_path)
from tools.samples_generator import gen_one_step_forecast_samples_triandev_test
from tools.samples_generator import gen_multi_step_forecast_samples
from tools.samples_generator import... | 27.543478 | 79 | 0.624704 | 317 | 2,534 | 4.690852 | 0.208202 | 0.069939 | 0.114997 | 0.084734 | 0.829859 | 0.796907 | 0.774042 | 0.724277 | 0.70074 | 0.70074 | 0 | 0.055781 | 0.221784 | 2,534 | 91 | 80 | 27.846154 | 0.698276 | 0 | 0 | 0.679012 | 0 | 0 | 0.146409 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.074074 | 0 | 0.074074 | 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 |
49351ddfde6e63ce6aa8591deb6001db57407d0c | 24 | py | Python | vk/types/events/__init__.py | Inzilkin/vk.py | 969f01e666c877c1761c3629a100768f93de27eb | [
"MIT"
] | 24 | 2019-09-13T15:30:09.000Z | 2022-03-09T06:35:59.000Z | vk/types/events/__init__.py | Inzilkin/vk.py | 969f01e666c877c1761c3629a100768f93de27eb | [
"MIT"
] | null | null | null | vk/types/events/__init__.py | Inzilkin/vk.py | 969f01e666c877c1761c3629a100768f93de27eb | [
"MIT"
] | 12 | 2019-09-13T15:30:31.000Z | 2022-03-01T10:13:32.000Z | from . import community
| 12 | 23 | 0.791667 | 3 | 24 | 6.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 24 | 1 | 24 | 24 | 0.95 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
49734e2713a3c200dc972855cc36eeeba9ed7369 | 99 | py | Python | src/textdata.py | little-quokka/py-quokka-block | d6593087c1f027af80c8968ac113c1ccb2cf7f55 | [
"MIT"
] | null | null | null | src/textdata.py | little-quokka/py-quokka-block | d6593087c1f027af80c8968ac113c1ccb2cf7f55 | [
"MIT"
] | 8 | 2018-01-03T01:27:06.000Z | 2018-01-03T01:32:33.000Z | src/textdata.py | little-quokka/py-quokka-block | d6593087c1f027af80c8968ac113c1ccb2cf7f55 | [
"MIT"
] | null | null | null | from abstractdatapackage import AbstractDataPackage
class TextData(AbstractDataPackage):
pass | 19.8 | 51 | 0.848485 | 8 | 99 | 10.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 99 | 5 | 52 | 19.8 | 0.965517 | 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 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 6 |
497863b677cf4c4a60dc3b9419cf1a3b4b6583bc | 9,835 | py | Python | migrations/versions/9ff331ab950b_v0_1_0.py | BoostryJP/ibet-Prime | 924e7f8da4f8feea0a572e8b5532e09bcdf2dc99 | [
"Apache-2.0"
] | 2 | 2021-08-19T12:35:25.000Z | 2022-02-16T04:13:38.000Z | migrations/versions/9ff331ab950b_v0_1_0.py | BoostryJP/ibet-Prime | 924e7f8da4f8feea0a572e8b5532e09bcdf2dc99 | [
"Apache-2.0"
] | 46 | 2021-09-02T03:22:05.000Z | 2022-03-31T09:20:00.000Z | migrations/versions/9ff331ab950b_v0_1_0.py | BoostryJP/ibet-Prime | 924e7f8da4f8feea0a572e8b5532e09bcdf2dc99 | [
"Apache-2.0"
] | 1 | 2021-11-17T23:18:27.000Z | 2021-11-17T23:18:27.000Z | """v0.1.0
Revision ID: 9ff331ab950b
Revises:
Create Date: 2021-03-19 21:03:52.102757
"""
from alembic import op
import sqlalchemy as sa
from app.database import get_db_schema
# revision identifiers, used by Alembic.
revision = '9ff331ab950b'
down_revision = None
branch_labels = None
depends_on = None
def upgrade()... | 61.086957 | 149 | 0.726894 | 1,396 | 9,835 | 4.846705 | 0.07808 | 0.081584 | 0.076411 | 0.115578 | 0.894177 | 0.874963 | 0.864617 | 0.843778 | 0.796482 | 0.72347 | 0 | 0.012815 | 0.103406 | 9,835 | 161 | 150 | 61.086957 | 0.754479 | 0.02786 | 0 | 0.451389 | 0 | 0 | 0.246588 | 0.094688 | 0 | 0 | 0 | 0 | 0 | 1 | 0.013889 | false | 0.020833 | 0.020833 | 0 | 0.034722 | 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 |
772092ec6765810376e1feab85f3837c4d1bcc80 | 1,681 | py | Python | random-images/WallpaperGenerator/test.py | dominicschaff/random | 14a19b976a09c768ab8844b7cda237c17a92c9ae | [
"MIT"
] | null | null | null | random-images/WallpaperGenerator/test.py | dominicschaff/random | 14a19b976a09c768ab8844b7cda237c17a92c9ae | [
"MIT"
] | null | null | null | random-images/WallpaperGenerator/test.py | dominicschaff/random | 14a19b976a09c768ab8844b7cda237c17a92c9ae | [
"MIT"
] | null | null | null | from __future__ import division
from math import radians as rad, pi, e
from constants import *
import functions
import sys
dr = DrawImage()
dr.create()
dr.plotRadians(functions.butterfly,
start = 0,
end = 10000,
offset = (dr.width/2, dr.height/4),
steps = 0.1,
scale = 20,
colo... | 23.676056 | 48 | 0.54075 | 221 | 1,681 | 4.095023 | 0.262443 | 0.086188 | 0.145856 | 0.092818 | 0.770166 | 0.770166 | 0.770166 | 0.770166 | 0.770166 | 0.770166 | 0 | 0.130245 | 0.319453 | 1,681 | 71 | 49 | 23.676056 | 0.660839 | 0 | 0 | 0.692308 | 0 | 0 | 0.054102 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.076923 | null | null | 0.076923 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
772d89f1141a86458c1f48806e1b7d511a4d7d59 | 30,179 | py | Python | python/trezorlib/tests/device_tests/test_msg_signtx_bcash.py | Kayuii/trezor-crypto | 6556616681a4e2d7e18817e8692d4f6e041dee01 | [
"MIT"
] | null | null | null | python/trezorlib/tests/device_tests/test_msg_signtx_bcash.py | Kayuii/trezor-crypto | 6556616681a4e2d7e18817e8692d4f6e041dee01 | [
"MIT"
] | 1 | 2019-02-08T00:22:42.000Z | 2019-02-13T09:41:54.000Z | python/trezorlib/tests/device_tests/test_msg_signtx_bcash.py | Kayuii/trezor-crypto | 6556616681a4e2d7e18817e8692d4f6e041dee01 | [
"MIT"
] | 2 | 2019-02-07T23:57:09.000Z | 2020-10-21T07:07:27.000Z | # This file is part of the Trezor project.
#
# Copyright (C) 2012-2018 SatoshiLabs and contributors
#
# This library is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License version 3
# as published by the Free Software Foundation.
#
# This library is distrib... | 46.716718 | 761 | 0.591371 | 2,084 | 30,179 | 8.414107 | 0.1262 | 0.039521 | 0.067066 | 0.07984 | 0.742344 | 0.7355 | 0.715369 | 0.714457 | 0.705218 | 0.689649 | 0 | 0.183846 | 0.33583 | 30,179 | 645 | 762 | 46.789147 | 0.69098 | 0.043971 | 0 | 0.756477 | 0 | 0 | 0.182326 | 0.170564 | 0 | 0 | 0 | 0 | 0.017271 | 1 | 0.018998 | false | 0 | 0.010363 | 0.003454 | 0.037997 | 0.001727 | 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 |
7755d62a8cddeb6b7c4563e1d0784e854d4481ed | 34 | py | Python | src/certipy/__init__.py | rlongio/certipy | 901c3aa8f52814108b73ea000d91aec5fa8eca8d | [
"MIT"
] | null | null | null | src/certipy/__init__.py | rlongio/certipy | 901c3aa8f52814108b73ea000d91aec5fa8eca8d | [
"MIT"
] | 2 | 2021-01-06T06:47:01.000Z | 2021-06-25T15:47:26.000Z | src/certipy/__init__.py | rlongio/certipy | 901c3aa8f52814108b73ea000d91aec5fa8eca8d | [
"MIT"
] | null | null | null | from certipy.descriptors import *
| 17 | 33 | 0.823529 | 4 | 34 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 34 | 1 | 34 | 34 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
624f5aadc27db776c78bd621727274f49c1aaee6 | 18,611 | py | Python | tests/asgard/workers/autoscaler/test_autoscaler.py | rockerbacon/asgard-api | 1c1eb19225ace4bbecb06b65b1b9c4ab131eb24a | [
"MIT"
] | 3 | 2020-01-10T02:16:09.000Z | 2020-02-19T18:42:37.000Z | tests/asgard/workers/autoscaler/test_autoscaler.py | b2wdigital/asgard-api | 5444d81be33bf4af3c9cf5a2185c16ff10357034 | [
"MIT"
] | 13 | 2020-01-15T18:22:35.000Z | 2021-03-31T19:21:54.000Z | tests/asgard/workers/autoscaler/test_autoscaler.py | rockerbacon/asgard-api | 1c1eb19225ace4bbecb06b65b1b9c4ab131eb24a | [
"MIT"
] | 6 | 2020-03-07T09:49:19.000Z | 2021-07-25T03:14:10.000Z | from aioresponses import aioresponses
from asynctest import TestCase
from yarl import URL
from asgard.conf import settings
from asgard.workers.autoscaler.app import scale_all_apps
from asgard.workers.autoscaler.asgard_cloudinterface import (
AsgardInterface as AsgardCloudInterface,
)
from asgard.workers.autoscaler... | 35.048964 | 84 | 0.433453 | 1,576 | 18,611 | 4.909264 | 0.086294 | 0.075611 | 0.054285 | 0.065142 | 0.874111 | 0.873853 | 0.866227 | 0.851881 | 0.841799 | 0.821636 | 0 | 0.032912 | 0.456343 | 18,611 | 530 | 85 | 35.115094 | 0.731765 | 0 | 0 | 0.665236 | 0 | 0 | 0.176885 | 0.07963 | 0 | 0 | 0 | 0 | 0.075107 | 1 | 0 | false | 0 | 0.017167 | 0 | 0.019313 | 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 |
62741ad09bb3e37ce9a5eed2a49e42a74de368ef | 183 | py | Python | app/cmuxovik/admin.py | artem343/cmuxovik | 6f923f66ba47d0c513659c332fd8c89d21ea4abf | [
"MIT"
] | 2 | 2020-03-31T18:01:55.000Z | 2020-03-31T18:45:02.000Z | app/cmuxovik/admin.py | artem343/cmuxovik | 6f923f66ba47d0c513659c332fd8c89d21ea4abf | [
"MIT"
] | 35 | 2020-03-31T17:47:09.000Z | 2022-03-12T00:22:54.000Z | app/cmuxovik/admin.py | artem343/cmuxovik | 6f923f66ba47d0c513659c332fd8c89d21ea4abf | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Cmux, Tag, Author, Vote
admin.site.register(Cmux)
admin.site.register(Tag)
admin.site.register(Author)
admin.site.register(Vote)
| 22.875 | 43 | 0.797814 | 28 | 183 | 5.214286 | 0.428571 | 0.246575 | 0.465753 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.087432 | 183 | 7 | 44 | 26.142857 | 0.874252 | 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 |
65905bfd4a48dc294e4630aaf88b314b42c4ecb4 | 98 | py | Python | misago/misago/users/permissions/__init__.py | vascoalramos/misago-deployment | 20226072138403108046c0afad9d99eb4163cedc | [
"MIT"
] | 2 | 2021-03-06T21:06:13.000Z | 2021-03-09T15:05:12.000Z | misago/users/permissions/__init__.py | HenryChenV/iJiangNan | 68f156d264014939f0302222e16e3125119dd3e3 | [
"MIT"
] | null | null | null | misago/users/permissions/__init__.py | HenryChenV/iJiangNan | 68f156d264014939f0302222e16e3125119dd3e3 | [
"MIT"
] | null | null | null | from .decorators import *
from .delete import *
from .moderation import *
from .profiles import *
| 19.6 | 25 | 0.755102 | 12 | 98 | 6.166667 | 0.5 | 0.405405 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163265 | 98 | 4 | 26 | 24.5 | 0.902439 | 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 |
02ec18dfc864d0a6c899ca80eaaffcc894cdf0dd | 92 | py | Python | test_ex1.py | assafine/IML.HUJI | b81b8beff05b5f120aa21a2f7fe90b4db95174f4 | [
"MIT"
] | null | null | null | test_ex1.py | assafine/IML.HUJI | b81b8beff05b5f120aa21a2f7fe90b4db95174f4 | [
"MIT"
] | null | null | null | test_ex1.py | assafine/IML.HUJI | b81b8beff05b5f120aa21a2f7fe90b4db95174f4 | [
"MIT"
] | null | null | null | from IMLearn.learners import gaussian_estimators as ge
def test_check():
assert 1==1
| 13.142857 | 54 | 0.75 | 14 | 92 | 4.785714 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026667 | 0.184783 | 92 | 6 | 55 | 15.333333 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f321e74e9db7a140ac368343c50ee96a580c20f5 | 158 | py | Python | tlssecondopinion/views.py | MiWCryptAnalytics/tlssecondopinion | f1eebf753cc898ba546bf1371f3ce1ea848d17d6 | [
"BSD-2-Clause"
] | null | null | null | tlssecondopinion/views.py | MiWCryptAnalytics/tlssecondopinion | f1eebf753cc898ba546bf1371f3ce1ea848d17d6 | [
"BSD-2-Clause"
] | 4 | 2017-04-13T02:51:42.000Z | 2017-04-13T02:53:12.000Z | tlssecondopinion/views.py | MiWCryptAnalytics/tlssecondopinion | f1eebf753cc898ba546bf1371f3ce1ea848d17d6 | [
"BSD-2-Clause"
] | null | null | null | from django.http import HttpResponseRedirect, HttpResponse
from django.views.generic import View
def index(request):
return HttpResponseRedirect('scan')
| 26.333333 | 58 | 0.816456 | 18 | 158 | 7.166667 | 0.777778 | 0.155039 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113924 | 158 | 5 | 59 | 31.6 | 0.921429 | 0 | 0 | 0 | 0 | 0 | 0.025316 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
b84f811945d499d61f4cfa2c6c97c0f2b2f59b90 | 159 | py | Python | web/forum/admin.py | borzunov/django-forum | 37ee43327575e59a4f7e1fcaa9f3a1c0de08d2b3 | [
"MIT"
] | null | null | null | web/forum/admin.py | borzunov/django-forum | 37ee43327575e59a4f7e1fcaa9f3a1c0de08d2b3 | [
"MIT"
] | null | null | null | web/forum/admin.py | borzunov/django-forum | 37ee43327575e59a4f7e1fcaa9f3a1c0de08d2b3 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Section, Topic, Post
admin.site.register(Section)
admin.site.register(Topic)
admin.site.register(Post)
| 17.666667 | 40 | 0.798742 | 23 | 159 | 5.521739 | 0.478261 | 0.212598 | 0.401575 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.100629 | 159 | 8 | 41 | 19.875 | 0.888112 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
b86ac4a334151f71615d89701a5a23ee8fa3e500 | 46 | py | Python | olivenodes/__init__.py | GordStephen/olivenodes | 52fc2a1cc538da665c026f8c574db24add2d2b1b | [
"MIT"
] | null | null | null | olivenodes/__init__.py | GordStephen/olivenodes | 52fc2a1cc538da665c026f8c574db24add2d2b1b | [
"MIT"
] | null | null | null | olivenodes/__init__.py | GordStephen/olivenodes | 52fc2a1cc538da665c026f8c574db24add2d2b1b | [
"MIT"
] | null | null | null | from .graph import Graph
from .nodes import *
| 15.333333 | 24 | 0.76087 | 7 | 46 | 5 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 46 | 2 | 25 | 23 | 0.921053 | 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 |
b86fbf8d8db90190972c4e419cdd67cbb59838e6 | 30 | py | Python | mlps/core/apeflow/interface/utils/__init__.py | seculayer/automl-mlps | 80569909ec1c25db1ceafbb85b27d069d1a66aa3 | [
"Apache-2.0"
] | null | null | null | mlps/core/apeflow/interface/utils/__init__.py | seculayer/automl-mlps | 80569909ec1c25db1ceafbb85b27d069d1a66aa3 | [
"Apache-2.0"
] | 2 | 2022-03-31T07:39:59.000Z | 2022-03-31T07:40:18.000Z | mlps/core/apeflow/interface/utils/__init__.py | seculayer/AutoAPE-mlps | 80569909ec1c25db1ceafbb85b27d069d1a66aa3 | [
"Apache-2.0"
] | 1 | 2021-11-03T09:09:07.000Z | 2021-11-03T09:09:07.000Z | from . import gs, pytorch, tf
| 15 | 29 | 0.7 | 5 | 30 | 4.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 30 | 1 | 30 | 30 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b87439f8973b5e5d18727fc97759c6de6a5e3b66 | 35,743 | py | Python | test/dataset_test.py | cs6ting/pytorch_geometric_temporal | c854cd6fb0998c528c3c564703f05eba7953ea65 | [
"MIT"
] | 1 | 2020-06-27T01:48:33.000Z | 2020-06-27T01:48:33.000Z | test/dataset_test.py | cs6ting/pytorch_geometric_temporal | c854cd6fb0998c528c3c564703f05eba7953ea65 | [
"MIT"
] | null | null | null | test/dataset_test.py | cs6ting/pytorch_geometric_temporal | c854cd6fb0998c528c3c564703f05eba7953ea65 | [
"MIT"
] | null | null | null | import numpy as np
import networkx as nx
from torch_geometric_temporal.signal import temporal_signal_split
from torch_geometric_temporal.signal import StaticGraphTemporalSignal
from torch_geometric_temporal.signal import DynamicGraphTemporalSignal
from torch_geometric_temporal.signal import DynamicGraphStaticSignal
... | 35.958753 | 127 | 0.595893 | 4,156 | 35,743 | 4.923003 | 0.087825 | 0.145064 | 0.07478 | 0.056305 | 0.850684 | 0.826882 | 0.75391 | 0.740371 | 0.718328 | 0.714809 | 0 | 0.062839 | 0.283188 | 35,743 | 993 | 128 | 35.994965 | 0.735725 | 0 | 0 | 0.549464 | 0 | 0 | 0.034636 | 0 | 0 | 0 | 0 | 0 | 0.309893 | 1 | 0.054827 | false | 0 | 0.015495 | 0.001192 | 0.076281 | 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 |
b8babb922debcc53d4eff231c9a6594f89d4ae65 | 111 | py | Python | basic_examples/test_2_const.py | yurioliveira3/Python | 02a3ea3bd44f93e51d5fc8b9cc017cf53e68266d | [
"MIT"
] | null | null | null | basic_examples/test_2_const.py | yurioliveira3/Python | 02a3ea3bd44f93e51d5fc8b9cc017cf53e68266d | [
"MIT"
] | null | null | null | basic_examples/test_2_const.py | yurioliveira3/Python | 02a3ea3bd44f93e51d5fc8b9cc017cf53e68266d | [
"MIT"
] | null | null | null | class A:
def __init__(self):
print("1")
def __init__(self):
print("2")
a= A() | 13.875 | 23 | 0.45045 | 14 | 111 | 3 | 0.571429 | 0.333333 | 0.52381 | 0.761905 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.029412 | 0.387387 | 111 | 8 | 24 | 13.875 | 0.588235 | 0 | 0 | 0.333333 | 0 | 0 | 0.017857 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.5 | 0.333333 | 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 |
b21d202ec481227d6aa61310ac31e8d5203dbd9e | 157 | py | Python | src/infrastructure/clients/provider/xchange_api/exceptions.py | sdediego/forex-django-clean-architecture | 915a8d844a8db5a40c726fe4cf9f6d50f7c95275 | [
"MIT"
] | 8 | 2021-11-09T16:43:38.000Z | 2022-03-25T16:04:26.000Z | src/infrastructure/clients/provider/xchange_api/exceptions.py | sdediego/forex-django-clean-architecture | 915a8d844a8db5a40c726fe4cf9f6d50f7c95275 | [
"MIT"
] | null | null | null | src/infrastructure/clients/provider/xchange_api/exceptions.py | sdediego/forex-django-clean-architecture | 915a8d844a8db5a40c726fe4cf9f6d50f7c95275 | [
"MIT"
] | 2 | 2021-11-16T21:17:31.000Z | 2022-02-11T11:15:29.000Z | # coding: utf-8
from src.infrastructure.clients.provider.exceptions import ProviderDriverError
class XChangeAPIDriverError(ProviderDriverError):
pass
| 19.625 | 78 | 0.828025 | 15 | 157 | 8.666667 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007143 | 0.10828 | 157 | 7 | 79 | 22.428571 | 0.921429 | 0.082803 | 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 |
b2588fcc26158f6f11a505faab691ec793b0b8ed | 14,232 | py | Python | polaris/polaris/tests/sep12/test_customer.py | Zagan202/django-polaris | 62802ec1585b57cd34e99e3993f2ddff662b9aaf | [
"Apache-2.0"
] | null | null | null | polaris/polaris/tests/sep12/test_customer.py | Zagan202/django-polaris | 62802ec1585b57cd34e99e3993f2ddff662b9aaf | [
"Apache-2.0"
] | null | null | null | polaris/polaris/tests/sep12/test_customer.py | Zagan202/django-polaris | 62802ec1585b57cd34e99e3993f2ddff662b9aaf | [
"Apache-2.0"
] | null | null | null | from django.core.exceptions import ObjectDoesNotExist
from unittest.mock import Mock, patch
from urllib.parse import urlencode
from polaris.tests.helpers import (
mock_check_auth_success,
mock_check_auth_success_with_memo,
)
from stellar_sdk.keypair import Keypair
endpoint = "/kyc/customer"
mock_success_inte... | 29.526971 | 88 | 0.612634 | 1,600 | 14,232 | 5.21625 | 0.069375 | 0.062545 | 0.046729 | 0.071891 | 0.89492 | 0.87503 | 0.870717 | 0.864965 | 0.849629 | 0.840163 | 0 | 0.020812 | 0.247119 | 14,232 | 481 | 89 | 29.588358 | 0.758096 | 0 | 0 | 0.64878 | 0 | 0 | 0.274452 | 0.091976 | 0 | 0 | 0 | 0 | 0.131707 | 1 | 0.073171 | false | 0 | 0.012195 | 0 | 0.085366 | 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 |
b2637cfb0bf86764434a09bf9a4440835ecbd6fe | 24 | py | Python | speaksee/evaluation/spice/__init__.py | aimagelab/speaksee | 63700a4062e2ae00132a5c77007604fdaf4bd00b | [
"BSD-3-Clause"
] | 29 | 2019-02-28T05:29:53.000Z | 2021-01-25T06:55:48.000Z | speaksee/evaluation/spice/__init__.py | aimagelab/speaksee | 63700a4062e2ae00132a5c77007604fdaf4bd00b | [
"BSD-3-Clause"
] | 2 | 2019-10-26T02:29:59.000Z | 2021-01-15T13:58:53.000Z | speaksee/evaluation/spice/__init__.py | aimagelab/speaksee | 63700a4062e2ae00132a5c77007604fdaf4bd00b | [
"BSD-3-Clause"
] | 11 | 2019-03-12T08:43:09.000Z | 2021-03-15T03:20:43.000Z | from .spice import Spice | 24 | 24 | 0.833333 | 4 | 24 | 5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 24 | 1 | 24 | 24 | 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 |
b2a29ee706126390fba24b52eeaceb6a50f97b1f | 142 | py | Python | info.py | NuCOS/nucosMQ | a66d25bb71eaaa176710ab8da820de90421760b3 | [
"MIT"
] | 1 | 2017-10-10T17:56:57.000Z | 2017-10-10T17:56:57.000Z | info.py | NuCOS/nucosObs | ff75a78efb7709cb57dfc91dab96d94c2c1d491b | [
"MIT"
] | 1 | 2021-01-15T12:38:15.000Z | 2021-01-15T12:38:15.000Z | info.py | NuCOS/nucosCR | 2fac4932603e00a615c73c73c58a156704ff4fa1 | [
"MIT"
] | 1 | 2018-04-08T07:56:22.000Z | 2018-04-08T07:56:22.000Z | from __future__ import print_function
import sys
import setuptools
print ("VERSION: ",sys.version_info)
print ("PATH: ", setuptools.__file__)
| 23.666667 | 37 | 0.795775 | 18 | 142 | 5.722222 | 0.611111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105634 | 142 | 5 | 38 | 28.4 | 0.811024 | 0 | 0 | 0 | 0 | 0 | 0.105634 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 0.6 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
a2592c3096510a48b7429c4a82edae9de7d5fe13 | 7,170 | py | Python | quadpy/quadrilateral/__init__.py | whzup/quadpy | ca8bd2f9c5a4ae30dc85d8fb79217602bd42525e | [
"MIT"
] | null | null | null | quadpy/quadrilateral/__init__.py | whzup/quadpy | ca8bd2f9c5a4ae30dc85d8fb79217602bd42525e | [
"MIT"
] | null | null | null | quadpy/quadrilateral/__init__.py | whzup/quadpy | ca8bd2f9c5a4ae30dc85d8fb79217602bd42525e | [
"MIT"
] | null | null | null | from ..ncube import ncube_points as rectangle_points
from ..ncube import transform
from ._albrecht_collatz import (
albrecht_collatz_1,
albrecht_collatz_2,
albrecht_collatz_3,
albrecht_collatz_4,
)
from ._burnside import burnside
from ._cohen_gismalla import cohen_gismalla_1, cohen_gismalla_2
from ._coo... | 21.596386 | 83 | 0.683682 | 936 | 7,170 | 4.637821 | 0.11859 | 0.09583 | 0.033172 | 0.009214 | 0.822852 | 0.822852 | 0.760654 | 0.760654 | 0.743147 | 0.743147 | 0 | 0.113722 | 0.222455 | 7,170 | 331 | 84 | 21.661631 | 0.664933 | 0 | 0 | 0 | 0 | 0 | 0.299623 | 0.015344 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.082067 | 0 | 0.082067 | 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 |
a2c07088af39cefb7cf0fa1759368002e597cf65 | 797 | py | Python | trash/server/queue/main.py | josmejia2401/face_recognition_python | 6155bfcb6e0dcb5cc3441ff3192ecf83fd1dcf1b | [
"MIT"
] | null | null | null | trash/server/queue/main.py | josmejia2401/face_recognition_python | 6155bfcb6e0dcb5cc3441ff3192ecf83fd1dcf1b | [
"MIT"
] | null | null | null | trash/server/queue/main.py | josmejia2401/face_recognition_python | 6155bfcb6e0dcb5cc3441ff3192ecf83fd1dcf1b | [
"MIT"
] | null | null | null | from multiprocessing.managers import BaseManager
import queue
queue = queue.Queue()
class QueueManager(BaseManager):
pass
QueueManager.register('get_queue', callable=lambda:queue)
m = QueueManager(address=('', 50000), authkey=b'abracadabra')
s = m.get_server()
s.serve_forever()
#put
from multiprocessing.managers... | 25.709677 | 72 | 0.764115 | 100 | 797 | 6.02 | 0.29 | 0.083056 | 0.134552 | 0.164452 | 0.784053 | 0.710963 | 0.710963 | 0.710963 | 0.611296 | 0.611296 | 0 | 0.020921 | 0.100376 | 797 | 31 | 73 | 25.709677 | 0.818689 | 0.008783 | 0 | 0.68 | 0 | 0 | 0.110266 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.12 | 0.16 | 0 | 0.28 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
a2d2b6c753772ad021e6eccc8b19f61d6d25d1ed | 40 | py | Python | brainframe_qt/ui/main_window/activities/identity_configuration/encoding_list/__init__.py | aotuai/brainframe-qt | 082cfd0694e569122ff7c63e56dd0ec4b62d5bac | [
"BSD-3-Clause"
] | 17 | 2021-02-11T18:19:22.000Z | 2022-02-08T06:12:50.000Z | brainframe_qt/ui/main_window/activities/identity_configuration/encoding_list/__init__.py | aotuai/brainframe-qt | 082cfd0694e569122ff7c63e56dd0ec4b62d5bac | [
"BSD-3-Clause"
] | 80 | 2021-02-11T08:27:31.000Z | 2021-10-13T21:33:22.000Z | brainframe_qt/ui/main_window/activities/identity_configuration/encoding_list/__init__.py | aotuai/brainframe-qt | 082cfd0694e569122ff7c63e56dd0ec4b62d5bac | [
"BSD-3-Clause"
] | 5 | 2021-02-12T09:51:34.000Z | 2022-02-08T09:25:15.000Z | from .encoding_list import EncodingList
| 20 | 39 | 0.875 | 5 | 40 | 6.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 40 | 1 | 40 | 40 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a75c625f0f2c3a2e3fe73fcf1c0dea8612223cb4 | 141 | py | Python | src/simprocedure/UnConstraintRetValue.py | alikmli/HeapOverFlow-Detection | 609082881af9788c4ef351754aecbb1e31eff475 | [
"MIT"
] | null | null | null | src/simprocedure/UnConstraintRetValue.py | alikmli/HeapOverFlow-Detection | 609082881af9788c4ef351754aecbb1e31eff475 | [
"MIT"
] | null | null | null | src/simprocedure/UnConstraintRetValue.py | alikmli/HeapOverFlow-Detection | 609082881af9788c4ef351754aecbb1e31eff475 | [
"MIT"
] | null | null | null | import angr,claripy
class ExeFunc(angr.SimProcedure):
def run(*argv):
pass
#return claripy.BVS('UNConstrainRetValue',8)
| 20.142857 | 52 | 0.673759 | 16 | 141 | 5.9375 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009009 | 0.212766 | 141 | 6 | 53 | 23.5 | 0.846847 | 0.304965 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0.25 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
a7bd6015290d947a1d8319b1cfe598a6b20a95cd | 76 | py | Python | src/ipynta/packaging/__init__.py | allanchua101/ipynta | 861c36b1c2d675611fcd5ed478d658f8180d03af | [
"MIT"
] | null | null | null | src/ipynta/packaging/__init__.py | allanchua101/ipynta | 861c36b1c2d675611fcd5ed478d658f8180d03af | [
"MIT"
] | null | null | null | src/ipynta/packaging/__init__.py | allanchua101/ipynta | 861c36b1c2d675611fcd5ed478d658f8180d03af | [
"MIT"
] | null | null | null | from .tar_packager import TarPackager
from .zip_packager import ZipPackager
| 25.333333 | 37 | 0.868421 | 10 | 76 | 6.4 | 0.7 | 0.4375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 76 | 2 | 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 | 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 |
a7cf0b21d2e981e8094886ebb46e37b5c00b54fb | 12,394 | py | Python | tests/unit/states/test_win_network.py | byteskeptical/salt | 637fe0b04f38b2274191b005d73b3c6707d7f400 | [
"Apache-2.0"
] | 5 | 2018-05-01T20:51:14.000Z | 2021-11-09T05:43:00.000Z | tests/unit/states/test_win_network.py | byteskeptical/salt | 637fe0b04f38b2274191b005d73b3c6707d7f400 | [
"Apache-2.0"
] | 86 | 2017-01-27T11:54:46.000Z | 2020-05-20T06:25:26.000Z | tests/unit/states/test_win_network.py | byteskeptical/salt | 637fe0b04f38b2274191b005d73b3c6707d7f400 | [
"Apache-2.0"
] | 11 | 2017-01-26T19:36:29.000Z | 2021-12-11T07:54:16.000Z | # -*- coding: utf-8 -*-
'''
:codeauthor: Rahul Handay <rahulha@saltstack.com>
'''
# Import Python Libs
from __future__ import absolute_import, unicode_literals, print_function
# Import Salt Testing Libs
from tests.support.mixins import LoaderModuleMockMixin
from tests.support.unit import TestCase, skipIf
from tes... | 45.903704 | 91 | 0.516944 | 1,213 | 12,394 | 4.988458 | 0.111294 | 0.072715 | 0.082631 | 0.05966 | 0.839531 | 0.806809 | 0.785159 | 0.755412 | 0.741696 | 0.713601 | 0 | 0.014937 | 0.362595 | 12,394 | 269 | 92 | 46.074349 | 0.751013 | 0.021785 | 0 | 0.689362 | 0 | 0 | 0.210278 | 0 | 0 | 0 | 0 | 0 | 0.055319 | 1 | 0.055319 | false | 0 | 0.021277 | 0.004255 | 0.085106 | 0.004255 | 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 |
ac7037a0268860ccf3d9124c95e8246d6841d2d0 | 129 | py | Python | my_script.py | antauren/test_pip | 593d64bddc479ce7c29d0dbabc89db2cabc7975c | [
"MIT"
] | null | null | null | my_script.py | antauren/test_pip | 593d64bddc479ce7c29d0dbabc89db2cabc7975c | [
"MIT"
] | null | null | null | my_script.py | antauren/test_pip | 593d64bddc479ce7c29d0dbabc89db2cabc7975c | [
"MIT"
] | null | null | null | import utils2.math as math
import utils2.strings.str_utils as str_utils
print(math.add(10, 20))
print(str_utils.reverse("ABC"))
| 21.5 | 44 | 0.782946 | 23 | 129 | 4.26087 | 0.565217 | 0.244898 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.051282 | 0.093023 | 129 | 5 | 45 | 25.8 | 0.786325 | 0 | 0 | 0 | 0 | 0 | 0.023256 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
3bb5a9ab6a42ef01d97c72735ae4c897c39f3056 | 221 | py | Python | exercises/level_0/list_min_max.py | eliranM98/python_course | d9431dd6c0f27fca8ca052cc2a821ed0b883136c | [
"MIT"
] | 6 | 2019-03-29T06:14:53.000Z | 2021-10-15T23:42:36.000Z | exercises/level_0/list_min_max.py | eliranM98/python_course | d9431dd6c0f27fca8ca052cc2a821ed0b883136c | [
"MIT"
] | 4 | 2019-09-06T10:03:40.000Z | 2022-03-11T23:30:55.000Z | exercises/level_0/list_min_max.py | eliranM98/python_course | d9431dd6c0f27fca8ca052cc2a821ed0b883136c | [
"MIT"
] | 12 | 2019-06-20T19:34:52.000Z | 2021-10-15T23:42:39.000Z | list1, list2 = [123, 567, 343, 611], [456, 700, 200]
print("Max value element : ", max(list1))
print("Max value element : ", max(list2))
print("min value element : ", min(list1))
print("min value element : ", min(list2))
| 36.833333 | 52 | 0.647059 | 33 | 221 | 4.333333 | 0.424242 | 0.335664 | 0.181818 | 0.27972 | 0.643357 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144385 | 0.153846 | 221 | 5 | 53 | 44.2 | 0.620321 | 0 | 0 | 0 | 0 | 0 | 0.361991 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.8 | 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 |
3bd4a5db1b22eab7389c8b3efdd005c7f0a915fb | 187 | py | Python | barbearia/agendamento/__init__.py | FabioMarquesArao/OPE_BARBEARIA | 867e7d4b67d9d70b6056b2d817cd3d2561ca7131 | [
"MIT"
] | null | null | null | barbearia/agendamento/__init__.py | FabioMarquesArao/OPE_BARBEARIA | 867e7d4b67d9d70b6056b2d817cd3d2561ca7131 | [
"MIT"
] | null | null | null | barbearia/agendamento/__init__.py | FabioMarquesArao/OPE_BARBEARIA | 867e7d4b67d9d70b6056b2d817cd3d2561ca7131 | [
"MIT"
] | null | null | null | from flask import Blueprint
agendamento_bp = Blueprint("agendamento", __name__, static_folder="agendamento_static", template_folder="templates")
from barbearia.agendamento import routes | 37.4 | 116 | 0.839572 | 21 | 187 | 7.095238 | 0.619048 | 0.268456 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.080214 | 187 | 5 | 117 | 37.4 | 0.866279 | 0 | 0 | 0 | 0 | 0 | 0.202128 | 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 |
0233a17a70529d16664c718ccbbf7b91a46eb37a | 31 | py | Python | src/try.py | alelallele/learn_python_st | 55b06efdf63135f3fff2c93508d25c5f4ae0db7e | [
"Apache-2.0"
] | null | null | null | src/try.py | alelallele/learn_python_st | 55b06efdf63135f3fff2c93508d25c5f4ae0db7e | [
"Apache-2.0"
] | null | null | null | src/try.py | alelallele/learn_python_st | 55b06efdf63135f3fff2c93508d25c5f4ae0db7e | [
"Apache-2.0"
] | null | null | null | print("Assalamualaikum Dunia")
| 15.5 | 30 | 0.806452 | 3 | 31 | 8.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.064516 | 31 | 1 | 31 | 31 | 0.862069 | 0 | 0 | 0 | 0 | 0 | 0.677419 | 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 |
023cdccb156d5fe6eae8793ecbcb561d8a091508 | 75 | py | Python | amocrm_asterisk_ng/telephony/impl/redirect_to_responsible/__init__.py | iqtek/amocrn_asterisk_ng | 429a8d0823b951c855a49c1d44ab0e05263c54dc | [
"MIT"
] | null | null | null | amocrm_asterisk_ng/telephony/impl/redirect_to_responsible/__init__.py | iqtek/amocrn_asterisk_ng | 429a8d0823b951c855a49c1d44ab0e05263c54dc | [
"MIT"
] | null | null | null | amocrm_asterisk_ng/telephony/impl/redirect_to_responsible/__init__.py | iqtek/amocrn_asterisk_ng | 429a8d0823b951c855a49c1d44ab0e05263c54dc | [
"MIT"
] | null | null | null | from .RedirectToResponsibleComponent import RedirectToResponsibleComponent
| 37.5 | 74 | 0.933333 | 4 | 75 | 17.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.053333 | 75 | 1 | 75 | 75 | 0.985915 | 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 |
5a1d28b26acb95a59f3028a6c346dab08548f699 | 898 | py | Python | src/python/pants/backend/codegen/protobuf/java/register.py | stuhood/pants | 107b8335a03482516f64aefa98aadf9f5278b2ee | [
"Apache-2.0"
] | null | null | null | src/python/pants/backend/codegen/protobuf/java/register.py | stuhood/pants | 107b8335a03482516f64aefa98aadf9f5278b2ee | [
"Apache-2.0"
] | null | null | null | src/python/pants/backend/codegen/protobuf/java/register.py | stuhood/pants | 107b8335a03482516f64aefa98aadf9f5278b2ee | [
"Apache-2.0"
] | null | null | null | # Copyright 2016 Pants project contributors (see CONTRIBUTORS.md).
# Licensed under the Apache License, Version 2.0 (see LICENSE).
"""Generate Java targets from Protocol Buffers (Protobufs).
See https://developers.google.com/protocol-buffers/.
"""
from pants.backend.codegen.protobuf.java.java_protobuf_library import... | 32.071429 | 85 | 0.806236 | 107 | 898 | 6.654206 | 0.504673 | 0.063202 | 0.067416 | 0.09691 | 0.147472 | 0.147472 | 0 | 0 | 0 | 0 | 0 | 0.011166 | 0.10245 | 898 | 27 | 86 | 33.259259 | 0.872208 | 0.265033 | 0 | 0 | 1 | 0 | 0.046012 | 0.032209 | 0 | 0 | 0 | 0 | 0 | 1 | 0.230769 | true | 0 | 0.384615 | 0.153846 | 0.769231 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 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 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
5a24642f5b7f32770c30b4c5d77704c6677f3f49 | 242 | py | Python | app/codemirror/__init__.py | sappachok/django-anaconda | 1ffd33ded759f622b6db23a3550a898b62350403 | [
"MIT"
] | 39 | 2015-03-22T21:57:28.000Z | 2021-11-04T08:17:15.000Z | app/codemirror/__init__.py | sappachok/django-anaconda | 1ffd33ded759f622b6db23a3550a898b62350403 | [
"MIT"
] | 67 | 2019-09-27T17:04:52.000Z | 2022-03-21T22:16:23.000Z | app/codemirror/__init__.py | sappachok/django-datasci | 1ffd33ded759f622b6db23a3550a898b62350403 | [
"MIT"
] | 17 | 2015-09-08T15:52:15.000Z | 2020-02-28T03:20:02.000Z | # -*- coding: utf-8 -*-
u"""
Library for using `CodeMirror` in Django.
"""
from codemirror.fields import CodeMirrorField, CodeMirrorFormField
from codemirror.utils import CodeMirrorJavascript
from codemirror.widgets import CodeMirrorTextarea
| 30.25 | 66 | 0.801653 | 26 | 242 | 7.461538 | 0.730769 | 0.216495 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00463 | 0.107438 | 242 | 7 | 67 | 34.571429 | 0.893519 | 0.264463 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ce9f2ba1d839fbcf833b655e68da46871ddbf896 | 3,389 | py | Python | tests/functional/test_config.py | koneksys/aras-oslc | 92adb87b884014df5b82a1c5402592aabc916bc0 | [
"MIT"
] | 3 | 2021-03-19T22:25:51.000Z | 2021-03-20T19:34:28.000Z | tests/functional/test_config.py | koneksys/aras-oslc | 92adb87b884014df5b82a1c5402592aabc916bc0 | [
"MIT"
] | null | null | null | tests/functional/test_config.py | koneksys/aras-oslc | 92adb87b884014df5b82a1c5402592aabc916bc0 | [
"MIT"
] | null | null | null | import logging
from oslc_api.auth import login
from oslc_api.auth.models import User
log = logging.getLogger(__name__)
def test_components(oslc_api, source_base_uri, access_token, item_values,
mocker, load_item_types_test, load_items_test):
@login.request_loader
def load_user_from_reques... | 32.902913 | 98 | 0.678961 | 451 | 3,389 | 4.751663 | 0.157428 | 0.05553 | 0.054596 | 0.075595 | 0.870742 | 0.864676 | 0.864676 | 0.864676 | 0.846477 | 0.846477 | 0 | 0.005864 | 0.245205 | 3,389 | 102 | 99 | 33.22549 | 0.8319 | 0 | 0 | 0.658228 | 0 | 0 | 0.192387 | 0.107701 | 0 | 0 | 0 | 0 | 0.139241 | 1 | 0.075949 | false | 0 | 0.037975 | 0.037975 | 0.151899 | 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 |
ceaacb2b94e8999fac50a224bbdd3dea062d7950 | 177 | py | Python | app/main/error.py | IsaiahKe/Personal-Blog | 5ec76513bb8710ba3c92c515fddf00f0b3dc8975 | [
"MIT"
] | null | null | null | app/main/error.py | IsaiahKe/Personal-Blog | 5ec76513bb8710ba3c92c515fddf00f0b3dc8975 | [
"MIT"
] | null | null | null | app/main/error.py | IsaiahKe/Personal-Blog | 5ec76513bb8710ba3c92c515fddf00f0b3dc8975 | [
"MIT"
] | null | null | null | from flask import render_template
from . import main
@main.errorhandler(404)
def notfound():
'''
error function
'''
return render_template('notfound.html'),404
| 17.7 | 47 | 0.694915 | 21 | 177 | 5.761905 | 0.666667 | 0.231405 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.041958 | 0.19209 | 177 | 9 | 48 | 19.666667 | 0.804196 | 0.079096 | 0 | 0 | 0 | 0 | 0.088435 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.4 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ceb1c880c1797da773391c2d5e7e2c5fe9d4761c | 9,567 | py | Python | idl2py/wcs/xyad.py | RapidLzj/idl2py | 193051cd8d01db0d125b8975713b885ad521a992 | [
"MIT"
] | null | null | null | idl2py/wcs/xyad.py | RapidLzj/idl2py | 193051cd8d01db0d125b8975713b885ad521a992 | [
"MIT"
] | null | null | null | idl2py/wcs/xyad.py | RapidLzj/idl2py | 193051cd8d01db0d125b8975713b885ad521a992 | [
"MIT"
] | null | null | null | """
By Dr Jie Zheng -Q, NAOC
v1 2019-04-27
"""
import numpy as np
from..util import *
def xyad():
pass
#pro xyad, hdr, x, y, a, d, PRINT = print, GALACTIC = galactic, ALT = alt, $
# CELESTIAL = celestial, ECLIPTIC = ecliptic, PRECISION = precision
#;+
#; NAME:
#; XYAD
#; PURPOSE:
#... | 43.486364 | 84 | 0.56005 | 1,247 | 9,567 | 4.281476 | 0.281476 | 0.004495 | 0.005619 | 0.014609 | 0.16239 | 0.121933 | 0.085971 | 0.06593 | 0.06593 | 0.06593 | 0 | 0.039435 | 0.326748 | 9,567 | 219 | 85 | 43.684932 | 0.789474 | 0.906554 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0.25 | 0.5 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
0c93cb6dd6cf4703a13978a52dea32a70d350517 | 784 | py | Python | py_client/aidm/__init__.py | sma-software/openviriato.algorithm-platform.py-client | 73d4cf89aa6f4d02ab15b5504d92107848742325 | [
"Apache-2.0"
] | 2 | 2021-06-21T06:50:29.000Z | 2021-06-30T15:58:02.000Z | py_client/aidm/__init__.py | sma-software/openviriato.algorithm-platform.py-client | 73d4cf89aa6f4d02ab15b5504d92107848742325 | [
"Apache-2.0"
] | null | null | null | py_client/aidm/__init__.py | sma-software/openviriato.algorithm-platform.py-client | 73d4cf89aa6f4d02ab15b5504d92107848742325 | [
"Apache-2.0"
] | null | null | null | from py_client.aidm.aidm_algorithm_classes import *
from py_client.aidm.aidm_enum_classes import *
from py_client.aidm.aidm_floating_point import *
from py_client.aidm.aidm_link_classes import *
from py_client.aidm.aidm_routing_edge_classes import *
from py_client.aidm.aidm_routing_point_classes import *
from py_... | 52.266667 | 83 | 0.855867 | 122 | 784 | 5.090164 | 0.229508 | 0.135266 | 0.270531 | 0.360709 | 0.766506 | 0.7343 | 0.692432 | 0.373591 | 0 | 0 | 0 | 0 | 0.090561 | 784 | 14 | 84 | 56 | 0.870968 | 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 | 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 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0cc2ef44ee606f3da56e31f6712a9da0b3ce9b60 | 5,712 | py | Python | tests/test_engine/test_queries/test_queryop_comparsion_nin.py | jqueguiner/montydb | 55bb3099fe110dbcd1ee24a71479fb0861d993a4 | [
"BSD-3-Clause"
] | null | null | null | tests/test_engine/test_queries/test_queryop_comparsion_nin.py | jqueguiner/montydb | 55bb3099fe110dbcd1ee24a71479fb0861d993a4 | [
"BSD-3-Clause"
] | null | null | null | tests/test_engine/test_queries/test_queryop_comparsion_nin.py | jqueguiner/montydb | 55bb3099fe110dbcd1ee24a71479fb0861d993a4 | [
"BSD-3-Clause"
] | null | null | null |
import pytest
import re
from montydb.errors import OperationFailure
from montydb.types import bson_ as bson
from ...conftest import skip_if_no_bson
def count_documents(cursor, spec=None):
return cursor.collection.count_documents(spec or {})
def test_qop_nin_1(monty_find, mongo_find):
docs = [
{"a... | 24.834783 | 75 | 0.58666 | 831 | 5,712 | 3.747292 | 0.090253 | 0.100193 | 0.104367 | 0.141297 | 0.874438 | 0.860951 | 0.817598 | 0.773282 | 0.757225 | 0.757225 | 0 | 0.018332 | 0.235994 | 5,712 | 229 | 76 | 24.943231 | 0.695234 | 0.012955 | 0 | 0.581818 | 0 | 0 | 0.030002 | 0 | 0 | 0 | 0 | 0 | 0.218182 | 1 | 0.090909 | false | 0 | 0.030303 | 0.006061 | 0.127273 | 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 |
0cca5d410b4e9598e7d598f136cddba5ed364266 | 29 | py | Python | pyBSE/pybse/__init__.py | GSavathrakis/dart_board | 9430d97675d69e381b701499587a02fd71b02990 | [
"MIT"
] | 8 | 2017-12-04T22:32:25.000Z | 2021-10-01T11:45:09.000Z | pyBSE/pybse/__init__.py | GSavathrakis/dart_board | 9430d97675d69e381b701499587a02fd71b02990 | [
"MIT"
] | 2 | 2018-03-14T00:10:43.000Z | 2021-05-02T18:51:11.000Z | pyBSE/pybse/__init__.py | GSavathrakis/dart_board | 9430d97675d69e381b701499587a02fd71b02990 | [
"MIT"
] | 2 | 2018-07-17T23:00:01.000Z | 2021-08-25T15:46:38.000Z |
from .bse_wrapper import *
| 7.25 | 26 | 0.724138 | 4 | 29 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.206897 | 29 | 3 | 27 | 9.666667 | 0.869565 | 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 |
0cf0d29356f6aef890c987c670ac1b99d8fdb784 | 139 | py | Python | tests/clazz/packageA/packageB/module_b1.py | hiroki0525/autoload_module | f3e10dc02d0fd24b8caa872f8c71f8902dc44f83 | [
"MIT"
] | 10 | 2020-08-28T13:08:06.000Z | 2021-12-21T12:03:05.000Z | tests/clazz/packageA/packageB/module_b1.py | hiroki0525/autoload_module | f3e10dc02d0fd24b8caa872f8c71f8902dc44f83 | [
"MIT"
] | null | null | null | tests/clazz/packageA/packageB/module_b1.py | hiroki0525/autoload_module | f3e10dc02d0fd24b8caa872f8c71f8902dc44f83 | [
"MIT"
] | null | null | null | from autoload import load_config
from tests.clazz.testmodule import TestModule
@load_config()
class CustomModuleB1(TestModule):
pass
| 17.375 | 45 | 0.81295 | 17 | 139 | 6.529412 | 0.647059 | 0.18018 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008264 | 0.129496 | 139 | 7 | 46 | 19.857143 | 0.909091 | 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 |
0b4cc238797c30d4f040ede4fb4bda698aa414be | 28 | py | Python | src/asttrs/__init__.py | ryanchao2012/asttrs | b5e30ae6094f6b9d0504ca6b9c9a887df05a91c1 | [
"MIT"
] | null | null | null | src/asttrs/__init__.py | ryanchao2012/asttrs | b5e30ae6094f6b9d0504ca6b9c9a887df05a91c1 | [
"MIT"
] | null | null | null | src/asttrs/__init__.py | ryanchao2012/asttrs | b5e30ae6094f6b9d0504ca6b9c9a887df05a91c1 | [
"MIT"
] | null | null | null | from ._ast import * # noqa
| 14 | 27 | 0.642857 | 4 | 28 | 4.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 28 | 1 | 28 | 28 | 0.809524 | 0.142857 | 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 |
0b828080493ab6a7a8f3b77302742b1202604f7b | 25,545 | py | Python | jaseci_core/jaseci/jac/jac_parse/jacLexer.py | panikingginoo12/jaseci | 6659ab3a3edde865e2ff9a8dc6f2c0f98588d05b | [
"MIT"
] | null | null | null | jaseci_core/jaseci/jac/jac_parse/jacLexer.py | panikingginoo12/jaseci | 6659ab3a3edde865e2ff9a8dc6f2c0f98588d05b | [
"MIT"
] | null | null | null | jaseci_core/jaseci/jac/jac_parse/jacLexer.py | panikingginoo12/jaseci | 6659ab3a3edde865e2ff9a8dc6f2c0f98588d05b | [
"MIT"
] | null | null | null | # Generated from jac.g4 by ANTLR 4.9.2
from antlr4 import *
from io import StringIO
import sys
if sys.version_info[1] > 5:
from typing import TextIO
else:
from typing.io import TextIO
def serializedATN():
with StringIO() as buf:
buf.write("\3\u608b\ua72a\u8133\ub9ed\u417c\u3be7\u7786\u5964\2Z")
... | 58.859447 | 103 | 0.558857 | 5,660 | 25,545 | 2.490636 | 0.168198 | 0.139179 | 0.074271 | 0.078882 | 0.319359 | 0.198127 | 0.13705 | 0.117968 | 0.116195 | 0.103426 | 0 | 0.335783 | 0.158505 | 25,545 | 433 | 104 | 58.995381 | 0.320013 | 0.001409 | 0 | 0 | 1 | 0.46988 | 0.619447 | 0.554597 | 0 | 0 | 0 | 0 | 0 | 1 | 0.004819 | false | 0 | 0.012048 | 0 | 0.253012 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e7eb1cc9b94fe8f97ab365303db26104068e08ec | 26 | py | Python | duplicates/__init__.py | akcarsten/duplicates | b61b6f4bb562b21b3daf239cb0284b9c131f97c3 | [
"MIT"
] | 10 | 2021-01-11T14:53:28.000Z | 2022-03-09T00:57:02.000Z | duplicates/__init__.py | akcarsten/duplicates | b61b6f4bb562b21b3daf239cb0284b9c131f97c3 | [
"MIT"
] | 1 | 2021-05-05T05:49:02.000Z | 2021-05-10T03:25:41.000Z | duplicates/__init__.py | akcarsten/duplicates | b61b6f4bb562b21b3daf239cb0284b9c131f97c3 | [
"MIT"
] | 5 | 2021-06-05T05:30:17.000Z | 2022-03-20T22:38:53.000Z | from .duplicates import *
| 13 | 25 | 0.769231 | 3 | 26 | 6.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 26 | 1 | 26 | 26 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e7fdf24b5ee3c3cbfcf5aa79439f710a5d2929e6 | 41 | py | Python | ScanningTools/__init__.py | fincardona/ScanningTools.py | ecbd07b2535b3388bd66c7f9c738ec5367d1d05a | [
"MIT"
] | 1 | 2018-10-09T10:31:56.000Z | 2018-10-09T10:31:56.000Z | ScanningTools/__init__.py | fincardona/ScanningTools.py | ecbd07b2535b3388bd66c7f9c738ec5367d1d05a | [
"MIT"
] | null | null | null | ScanningTools/__init__.py | fincardona/ScanningTools.py | ecbd07b2535b3388bd66c7f9c738ec5367d1d05a | [
"MIT"
] | null | null | null | from . import ScanningTools, Quaternions
| 20.5 | 40 | 0.829268 | 4 | 41 | 8.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121951 | 41 | 1 | 41 | 41 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b2b357070580aea5bfdf8d64e159d7282fb3c089 | 23,038 | py | Python | src/dataset.py | atzberg/gmls-nets | d78e5b513b7dda8491f68e11dab730f106f86385 | [
"BSD-3-Clause"
] | 18 | 2019-09-17T18:58:26.000Z | 2021-08-05T06:02:16.000Z | src/dataset.py | atzberg/gmls-nets | d78e5b513b7dda8491f68e11dab730f106f86385 | [
"BSD-3-Clause"
] | null | null | null | src/dataset.py | atzberg/gmls-nets | d78e5b513b7dda8491f68e11dab730f106f86385 | [
"BSD-3-Clause"
] | 4 | 2019-11-16T04:02:07.000Z | 2021-03-06T11:43:04.000Z | """
Collection of codes for generating some training data sets.
"""
# Authors: B.J. Gross and P.J. Atzberger
# Website: http://atzberger.org/
import torch;
import numpy as np;
import pdb;
class diffOp1(torch.utils.data.Dataset):
r"""
Generates samples of the form :math:`(u^{[i]},f^{[i]})` where :math:`f^{[i]} ... | 36.510301 | 113 | 0.625358 | 3,883 | 23,038 | 3.465619 | 0.084213 | 0.0162 | 0.016497 | 0.010701 | 0.911124 | 0.876644 | 0.843056 | 0.80865 | 0.790072 | 0.771717 | 0 | 0.021344 | 0.249588 | 23,038 | 630 | 114 | 36.568254 | 0.757057 | 0.298203 | 0 | 0.604113 | 0 | 0 | 0.078749 | 0.002709 | 0 | 0 | 0 | 0 | 0 | 1 | 0.056555 | false | 0 | 0.007712 | 0.010283 | 0.120823 | 0.015424 | 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 |
6534aa15fe9e54affb901ef2b18a9190fe51c44f | 224 | py | Python | blurr/data/all.py | HenryDashwood/blurr | dececd4e706129694b25ee80c15dfb61ffadf9a9 | [
"Apache-2.0"
] | null | null | null | blurr/data/all.py | HenryDashwood/blurr | dececd4e706129694b25ee80c15dfb61ffadf9a9 | [
"Apache-2.0"
] | null | null | null | blurr/data/all.py | HenryDashwood/blurr | dececd4e706129694b25ee80c15dfb61ffadf9a9 | [
"Apache-2.0"
] | null | null | null | from ..utils import *
from .core import *
from .question_answering import *
from .token_classification import *
from .text2text.core import *
from .text2text.language_modeling import *
from .text2text.summarization import *
| 28 | 42 | 0.794643 | 27 | 224 | 6.481481 | 0.444444 | 0.342857 | 0.325714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015306 | 0.125 | 224 | 7 | 43 | 32 | 0.877551 | 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 |
6545f00275d150f756fbd1778003e8a75c79ccd9 | 6,497 | py | Python | tests/test_inventory_set.py | qhyou11/bridgy | 887ff2b41d0d04ad469fb4838191a4a578597bdd | [
"MIT"
] | 402 | 2017-08-09T19:27:49.000Z | 2022-03-22T10:24:00.000Z | tests/test_inventory_set.py | qhyou11/bridgy | 887ff2b41d0d04ad469fb4838191a4a578597bdd | [
"MIT"
] | 33 | 2017-08-03T23:10:44.000Z | 2020-12-16T03:29:33.000Z | tests/test_inventory_set.py | qhyou11/bridgy | 887ff2b41d0d04ad469fb4838191a4a578597bdd | [
"MIT"
] | 58 | 2017-11-19T21:22:45.000Z | 2022-03-22T09:25:04.000Z | import os
import mock
import pytest
import bridgy.inventory
from bridgy.inventory import InventorySet, Instance
from bridgy.inventory.aws import AwsInventory
from bridgy.config import Config
def get_aws_inventory(name):
test_dir = os.path.dirname(os.path.abspath(__file__))
cache_dir = os.path.join(test_dir, '... | 75.546512 | 199 | 0.68447 | 951 | 6,497 | 4.570978 | 0.092534 | 0.066253 | 0.038647 | 0.077295 | 0.851392 | 0.830688 | 0.79135 | 0.764205 | 0.757074 | 0.757074 | 0 | 0.068737 | 0.117747 | 6,497 | 86 | 200 | 75.546512 | 0.689637 | 0.232415 | 0 | 0.172414 | 0 | 0 | 0.314848 | 0.134217 | 0 | 0 | 0 | 0 | 0.086207 | 1 | 0.051724 | false | 0 | 0.12069 | 0 | 0.189655 | 0.034483 | 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 |
e8dae38169e57058281461b6150c04aef43d8d21 | 1,285 | py | Python | challenge-20/test_solver.py | mauricioklein/algorithm-exercises | 1be95762d000102795059255a0a0d2d21d4b67fc | [
"MIT"
] | 3 | 2019-12-03T11:40:36.000Z | 2020-06-28T19:39:51.000Z | challenge-20/test_solver.py | mauricioklein/algorithm-exercises | 1be95762d000102795059255a0a0d2d21d4b67fc | [
"MIT"
] | null | null | null | challenge-20/test_solver.py | mauricioklein/algorithm-exercises | 1be95762d000102795059255a0a0d2d21d4b67fc | [
"MIT"
] | null | null | null | import unittest
from solver import ListNode
class TestSolver(unittest.TestCase):
def test_solver_iteratively(self):
# Create nodes
nodes = [
ListNode(4),
ListNode(3),
ListNode(2),
ListNode(1)
]
# Chain the nodes
for i in range... | 23.363636 | 41 | 0.506615 | 149 | 1,285 | 4.288591 | 0.281879 | 0.075117 | 0.084507 | 0.068858 | 0.726135 | 0.726135 | 0.726135 | 0.726135 | 0.726135 | 0.726135 | 0 | 0.027813 | 0.384436 | 1,285 | 54 | 42 | 23.796296 | 0.780025 | 0.081712 | 0 | 0.702703 | 0 | 0 | 0.006832 | 0 | 0 | 0 | 0 | 0 | 0.054054 | 1 | 0.054054 | false | 0 | 0.054054 | 0 | 0.135135 | 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 |
3358dbdb86f277d5e708f3ec2c05b724de337198 | 19,413 | py | Python | pyvkfft/fft.py | isuruf/pyvkfft | 1cb234c55b9af6b5fd85fc2082572d428819779b | [
"MIT"
] | null | null | null | pyvkfft/fft.py | isuruf/pyvkfft | 1cb234c55b9af6b5fd85fc2082572d428819779b | [
"MIT"
] | null | null | null | pyvkfft/fft.py | isuruf/pyvkfft | 1cb234c55b9af6b5fd85fc2082572d428819779b | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# PyVkFFT
# (c) 2021- : ESRF-European Synchrotron Radiation Facility
# authors:
# Vincent Favre-Nicolin, favre@esrf.fr
__all__ = ['fftn', 'ifftn', 'rfftn', 'irfftn', 'vkfft_version', 'clear_vkfftapp_cache',
'has_pycuda', 'has_opencl', 'has_cupy']
from enum import En... | 47.34878 | 103 | 0.660897 | 2,967 | 19,413 | 4.248399 | 0.085608 | 0.023879 | 0.013963 | 0.010472 | 0.835462 | 0.82618 | 0.801269 | 0.792067 | 0.77858 | 0.766283 | 0 | 0.010573 | 0.264359 | 19,413 | 409 | 104 | 47.464548 | 0.872068 | 0.57446 | 0 | 0.463855 | 0 | 0 | 0.031246 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.066265 | false | 0 | 0.066265 | 0 | 0.271084 | 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 |
335f058bccdc187671e284b665d0a36b6d5cf372 | 8,060 | py | Python | models/normalization.py | pkulwj1994/AdversarialConsistentScoreMatching | f439f242f004ce06382ed72f2aa7daf9c262abfa | [
"MIT"
] | 119 | 2020-09-09T13:59:28.000Z | 2022-03-17T17:04:10.000Z | models/normalization.py | pkulwj1994/AdversarialConsistentScoreMatching | f439f242f004ce06382ed72f2aa7daf9c262abfa | [
"MIT"
] | 2 | 2020-11-13T03:26:22.000Z | 2021-03-19T23:04:33.000Z | models/normalization.py | pkulwj1994/AdversarialConsistentScoreMatching | f439f242f004ce06382ed72f2aa7daf9c262abfa | [
"MIT"
] | 19 | 2020-09-14T05:56:51.000Z | 2021-12-28T15:53:34.000Z | import torch
import torch.nn as nn
def get_normalization(m_config, conditional=True):
norm = m_config.normalization
if conditional:
if norm == 'NoneNorm':
return ConditionalNoneNorm2d
elif norm == 'InstanceNorm++':
return ConditionalInstanceNorm2dPlus
elif norm ... | 38.199052 | 112 | 0.591687 | 1,045 | 8,060 | 4.394258 | 0.091866 | 0.15331 | 0.10453 | 0.044425 | 0.790941 | 0.783754 | 0.776786 | 0.766333 | 0.738023 | 0.712544 | 0 | 0.026506 | 0.279156 | 8,060 | 210 | 113 | 38.380952 | 0.763855 | 0.029032 | 0 | 0.705556 | 0 | 0 | 0.01868 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.094444 | false | 0 | 0.011111 | 0.005556 | 0.255556 | 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 |
6856c6f0caf7be2b8f762fcf7db6f96ea6b3e2c0 | 22 | py | Python | HangmanGame/views/__init__.py | github-675455/JogoDaForca | 66b3aaae97c64c116f12d3a98c53bf0fc383bd63 | [
"MIT"
] | null | null | null | HangmanGame/views/__init__.py | github-675455/JogoDaForca | 66b3aaae97c64c116f12d3a98c53bf0fc383bd63 | [
"MIT"
] | 2 | 2018-08-29T03:34:02.000Z | 2018-08-29T18:25:44.000Z | HangmanGame/views/__init__.py | github-675455/JogoDaForca | 66b3aaae97c64c116f12d3a98c53bf0fc383bd63 | [
"MIT"
] | null | null | null | from .Jogo import Jogo | 22 | 22 | 0.818182 | 4 | 22 | 4.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 22 | 1 | 22 | 22 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
685ee02fbc19ee5a6b9d35f61855a706b51d9f2d | 26 | py | Python | hello_world.py | LarsPalmas/profile-rest-api2 | 5858a9342f762df01e5610fe090f8d27b8742d27 | [
"MIT"
] | null | null | null | hello_world.py | LarsPalmas/profile-rest-api2 | 5858a9342f762df01e5610fe090f8d27b8742d27 | [
"MIT"
] | 8 | 2019-12-05T01:07:32.000Z | 2022-02-10T11:52:03.000Z | hello_world.py | LarsPalmas/profile-rest-api2 | 5858a9342f762df01e5610fe090f8d27b8742d27 | [
"MIT"
] | null | null | null | print("Hello World Eini!") | 26 | 26 | 0.730769 | 4 | 26 | 4.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 26 | 1 | 26 | 26 | 0.791667 | 0 | 0 | 0 | 0 | 0 | 0.62963 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
d79d48e6c1049bad0901797b24f08f246811fd3d | 22 | py | Python | src/psweep/__init__.py | elcorto/psweep | b1d372ba19f1d98744e04a1576211d51123272b1 | [
"BSD-3-Clause"
] | 6 | 2020-03-24T07:24:37.000Z | 2021-07-29T07:18:59.000Z | src/psweep/__init__.py | elcorto/psweep | b1d372ba19f1d98744e04a1576211d51123272b1 | [
"BSD-3-Clause"
] | 2 | 2019-08-20T22:14:18.000Z | 2022-03-11T09:16:59.000Z | src/psweep/__init__.py | elcorto/psweep | b1d372ba19f1d98744e04a1576211d51123272b1 | [
"BSD-3-Clause"
] | 1 | 2020-02-22T12:13:13.000Z | 2020-02-22T12:13:13.000Z | from .psweep import *
| 11 | 21 | 0.727273 | 3 | 22 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 22 | 1 | 22 | 22 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d7c4761da5e86d99296e44d4e2925878310fd719 | 98 | py | Python | fornax/stages/prepare_environment/__init__.py | lwencel-priv/fornax | 0f66a6284975bc5a2cfc3d38bc01ef6ad492e40e | [
"MIT"
] | null | null | null | fornax/stages/prepare_environment/__init__.py | lwencel-priv/fornax | 0f66a6284975bc5a2cfc3d38bc01ef6ad492e40e | [
"MIT"
] | null | null | null | fornax/stages/prepare_environment/__init__.py | lwencel-priv/fornax | 0f66a6284975bc5a2cfc3d38bc01ef6ad492e40e | [
"MIT"
] | null | null | null | """Prepare environment stage package."""
from .prepare_environment import PrepareEnvironmentStage
| 32.666667 | 56 | 0.836735 | 9 | 98 | 9 | 0.777778 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081633 | 98 | 2 | 57 | 49 | 0.9 | 0.346939 | 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 |
d7caadf0e5af43670a31ca342530fd496e1683fe | 33 | py | Python | painterAssistant/__init__.py | bartoszpogoda/academic-py-painter-assistant | 2a2dff55e1d7b631f28d6492c5553a8e7ac5abc2 | [
"MIT"
] | null | null | null | painterAssistant/__init__.py | bartoszpogoda/academic-py-painter-assistant | 2a2dff55e1d7b631f28d6492c5553a8e7ac5abc2 | [
"MIT"
] | null | null | null | painterAssistant/__init__.py | bartoszpogoda/academic-py-painter-assistant | 2a2dff55e1d7b631f28d6492c5553a8e7ac5abc2 | [
"MIT"
] | null | null | null | from . import paintCanCalculator
| 16.5 | 32 | 0.848485 | 3 | 33 | 9.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 33 | 1 | 33 | 33 | 0.965517 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d7f6d6b2a64adc2158779c58c330914da6b59f15 | 49 | py | Python | microservices/svc/multiplier/handler/__init__.py | sato-mh/distributed-calculator | 8d044084a0f70effe5264f3a726962e3ac8da7f5 | [
"MIT"
] | null | null | null | microservices/svc/multiplier/handler/__init__.py | sato-mh/distributed-calculator | 8d044084a0f70effe5264f3a726962e3ac8da7f5 | [
"MIT"
] | null | null | null | microservices/svc/multiplier/handler/__init__.py | sato-mh/distributed-calculator | 8d044084a0f70effe5264f3a726962e3ac8da7f5 | [
"MIT"
] | null | null | null | from .multiplier import Multiplier # noqa: F401
| 24.5 | 48 | 0.77551 | 6 | 49 | 6.333333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.073171 | 0.163265 | 49 | 1 | 49 | 49 | 0.853659 | 0.204082 | 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 |
cc19738fd831e6d3270cbd9b45609bcd503d9767 | 27 | py | Python | scripts/post_process/__init__.py | AndAgio/Shallow2Deep | e42e9b3b11fdd2ec035144890a88e93a5154276f | [
"Apache-2.0"
] | null | null | null | scripts/post_process/__init__.py | AndAgio/Shallow2Deep | e42e9b3b11fdd2ec035144890a88e93a5154276f | [
"Apache-2.0"
] | 2 | 2021-02-17T12:07:45.000Z | 2021-02-17T12:16:21.000Z | scripts/post_process/__init__.py | AndAgio/Shallow2Deep | e42e9b3b11fdd2ec035144890a88e93a5154276f | [
"Apache-2.0"
] | null | null | null | from .process_log import *
| 13.5 | 26 | 0.777778 | 4 | 27 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 27 | 1 | 27 | 27 | 0.869565 | 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 |
cc2ea080861f80c4ae8ef63134f969e8e9f1745c | 53,566 | py | Python | __init__.py | SAM-tak/gen_rigidbodies | 4cd8f81270dfc03e7705ace6912890ac00a0745a | [
"MIT"
] | 7 | 2020-01-14T22:22:04.000Z | 2022-01-30T06:00:39.000Z | __init__.py | SAM-tak/gen_rigidbodies | 4cd8f81270dfc03e7705ace6912890ac00a0745a | [
"MIT"
] | null | null | null | __init__.py | SAM-tak/gen_rigidbodies | 4cd8f81270dfc03e7705ace6912890ac00a0745a | [
"MIT"
] | null | null | null | import bpy
from bpy.props import *
import mathutils
import math
bl_info = {
"name": "Generate rigid bodies from bone",
"author": "SAM-tak, 12funkeys",
"version": (1, 0, 0),
"blender": (2, 80, 0),
"location": "pose > Gen Rigid Bodies",
"description": "Set rigid bodies and constraints ... | 39.915052 | 145 | 0.61455 | 6,520 | 53,566 | 4.736503 | 0.055982 | 0.038469 | 0.045528 | 0.041319 | 0.820446 | 0.787676 | 0.758921 | 0.724564 | 0.667703 | 0.645684 | 0 | 0.004858 | 0.289083 | 53,566 | 1,341 | 146 | 39.944817 | 0.806045 | 0.053 | 0 | 0.586502 | 1 | 0.000951 | 0.137868 | 0.025121 | 0 | 0 | 0 | 0 | 0 | 1 | 0.020913 | false | 0.01711 | 0.003802 | 0 | 0.212928 | 0.006654 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0bd9d8d1f62c8f316f81b01c83f5c18f64ca852d | 3,598 | py | Python | tests/utmp.py | jleaniz/dtformats | 03c29442c6a98bd4998314fca7274572ea848a84 | [
"Apache-2.0"
] | 61 | 2017-08-30T11:13:17.000Z | 2022-03-24T20:45:18.000Z | tests/utmp.py | jleaniz/dtformats | 03c29442c6a98bd4998314fca7274572ea848a84 | [
"Apache-2.0"
] | 12 | 2017-05-01T10:22:49.000Z | 2022-02-11T05:51:18.000Z | tests/utmp.py | jleaniz/dtformats | 03c29442c6a98bd4998314fca7274572ea848a84 | [
"Apache-2.0"
] | 19 | 2018-08-16T09:32:07.000Z | 2021-11-19T17:14:02.000Z | # -*- coding: utf-8 -*-
"""Tests for utmp files."""
import unittest
from dtformats import utmp
from tests import test_lib
class LinuxLibc6UtmpFileTest(test_lib.BaseTestCase):
"""Linux libc6 utmp file tests."""
# pylint: disable=protected-access
def testDebugPrintEntry(self):
"""Tests the _DebugPrintEnt... | 28.555556 | 80 | 0.712618 | 412 | 3,598 | 5.915049 | 0.237864 | 0.101764 | 0.059089 | 0.046779 | 0.808781 | 0.808781 | 0.748872 | 0.748872 | 0.748872 | 0.73533 | 0 | 0.01355 | 0.179544 | 3,598 | 125 | 81 | 28.784 | 0.811992 | 0.119789 | 0 | 0.657895 | 0 | 0 | 0.05661 | 0.007076 | 0 | 0 | 0 | 0 | 0.026316 | 1 | 0.105263 | false | 0 | 0.039474 | 0 | 0.171053 | 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 |
04051ffeeaeb6bc8d951d79951e14ed8c0725a58 | 40 | py | Python | hnms/__init__.py | microsoft/hnms | c7368cd9079fe576a61cdf4e1872b326485f2464 | [
"MIT"
] | 30 | 2020-05-26T01:33:05.000Z | 2020-10-21T23:50:31.000Z | hnms/__init__.py | microsoft/hnms | c7368cd9079fe576a61cdf4e1872b326485f2464 | [
"MIT"
] | 1 | 2020-05-31T12:18:09.000Z | 2020-05-31T14:09:05.000Z | hnms/__init__.py | microsoft/hnms | c7368cd9079fe576a61cdf4e1872b326485f2464 | [
"MIT"
] | 5 | 2020-05-26T02:11:47.000Z | 2021-11-10T08:33:32.000Z | from .multi_hnms import MultiHNMS, HNMS
| 20 | 39 | 0.825 | 6 | 40 | 5.333333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 40 | 1 | 40 | 40 | 0.914286 | 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 |
041a9fa62dc55ae70593d44254261599b82add98 | 341 | py | Python | pipeline/__init__.py | cnwarden/mico2 | 017c52ef4626649d162904f247f21eec768fafc3 | [
"MIT"
] | null | null | null | pipeline/__init__.py | cnwarden/mico2 | 017c52ef4626649d162904f247f21eec768fafc3 | [
"MIT"
] | null | null | null | pipeline/__init__.py | cnwarden/mico2 | 017c52ef4626649d162904f247f21eec768fafc3 | [
"MIT"
] | null | null | null | # coding:utf-8
import elasticsearch
import pykafka
from pipeline.pipeline_manager import PipelineManager
from pipeline.pipelines import ESPipeline, KafkaPipeline, StorePipeline, SimplePipeline, SaveToDictPipeline
__all__ = ['PipelineManager', 'ESPipeline', 'KafkaPipeline', 'StorePipeline', 'SimplePipeline', 'S... | 37.888889 | 118 | 0.809384 | 29 | 341 | 9.344828 | 0.586207 | 0.088561 | 0.265683 | 0.369004 | 0.501845 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003279 | 0.105572 | 341 | 8 | 119 | 42.625 | 0.885246 | 0.035191 | 0 | 0 | 0 | 0 | 0.260188 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.8 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
04362d1c0bc89f03b2612adaea14f8dfb97bce44 | 2,069 | py | Python | groupdocs_comparison_cloud/models/__init__.py | groupdocs-comparison-cloud/groupdocs-comparison-cloud-python | f970b22fae7a791d07b756c2d418217fd368c289 | [
"MIT"
] | null | null | null | groupdocs_comparison_cloud/models/__init__.py | groupdocs-comparison-cloud/groupdocs-comparison-cloud-python | f970b22fae7a791d07b756c2d418217fd368c289 | [
"MIT"
] | null | null | null | groupdocs_comparison_cloud/models/__init__.py | groupdocs-comparison-cloud/groupdocs-comparison-cloud-python | f970b22fae7a791d07b756c2d418217fd368c289 | [
"MIT"
] | 1 | 2021-02-02T18:41:48.000Z | 2021-02-02T18:41:48.000Z | # coding: utf-8
# flake8: noqa
from __future__ import absolute_import
# import models
from groupdocs_comparison_cloud.models.apply_revisions_options import ApplyRevisionsOptions
from groupdocs_comparison_cloud.models.change_info import ChangeInfo
from groupdocs_comparison_cloud.models.comparison_options import Compar... | 59.114286 | 91 | 0.908652 | 261 | 2,069 | 6.873563 | 0.260536 | 0.202899 | 0.358974 | 0.437012 | 0.556299 | 0.19621 | 0 | 0 | 0 | 0 | 0 | 0.00103 | 0.061382 | 2,069 | 34 | 92 | 60.852941 | 0.92276 | 0.019333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
044fcca08ab99ca3809d45e924f55259da622082 | 30 | py | Python | Grapple/__init__.py | elctrc/grapple | 0131bd63711a0695b2fa5f17464655083404b97f | [
"Apache-2.0"
] | 3 | 2021-06-16T15:49:57.000Z | 2021-09-01T16:52:15.000Z | Grapple/__init__.py | elctrc/grapple | 0131bd63711a0695b2fa5f17464655083404b97f | [
"Apache-2.0"
] | null | null | null | Grapple/__init__.py | elctrc/grapple | 0131bd63711a0695b2fa5f17464655083404b97f | [
"Apache-2.0"
] | null | null | null | from .grapple import HayLoader | 30 | 30 | 0.866667 | 4 | 30 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 30 | 1 | 30 | 30 | 0.962963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f08ed7656c5c84be93bc864aec551a09b31e4dd3 | 164 | py | Python | emulator/script2.py | mace84/script-languages | d586cbe212bbb4efbfb39e095183729c65489360 | [
"MIT"
] | 6 | 2019-01-09T11:55:15.000Z | 2021-06-25T19:52:42.000Z | emulator/script2.py | mace84/script-languages | d586cbe212bbb4efbfb39e095183729c65489360 | [
"MIT"
] | 65 | 2018-12-12T08:40:38.000Z | 2022-02-28T09:19:45.000Z | emulator/script2.py | mace84/script-languages | d586cbe212bbb4efbfb39e095183729c65489360 | [
"MIT"
] | 9 | 2018-11-23T08:59:09.000Z | 2020-02-04T12:56:35.000Z | #input_column: b,string,VARCHAR(100),100,None,None
#input_type: SET
#output_column: b,string,VARCHAR(100),100,None,None
#output_type: EMITS
#!/bin/bash
ls -l /tmp
| 20.5 | 51 | 0.75 | 29 | 164 | 4.103448 | 0.551724 | 0.117647 | 0.218487 | 0.336134 | 0.571429 | 0.571429 | 0.571429 | 0.571429 | 0 | 0 | 0 | 0.07947 | 0.079268 | 164 | 7 | 52 | 23.428571 | 0.708609 | 0.865854 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f0fd8f98ada3234e49c76eb4884461094bb94f54 | 93 | py | Python | terrascript/vcd/__init__.py | hugovk/python-terrascript | 08fe185904a70246822f5cfbdc9e64e9769ec494 | [
"BSD-2-Clause"
] | 4 | 2022-02-07T21:08:14.000Z | 2022-03-03T04:41:28.000Z | terrascript/vcd/__init__.py | hugovk/python-terrascript | 08fe185904a70246822f5cfbdc9e64e9769ec494 | [
"BSD-2-Clause"
] | null | null | null | terrascript/vcd/__init__.py | hugovk/python-terrascript | 08fe185904a70246822f5cfbdc9e64e9769ec494 | [
"BSD-2-Clause"
] | 2 | 2022-02-06T01:49:42.000Z | 2022-02-08T14:15:00.000Z | # terrascript/vcd/__init__.py
import terrascript
class vcd(terrascript.Provider):
pass
| 13.285714 | 32 | 0.774194 | 11 | 93 | 6.181818 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.139785 | 93 | 6 | 33 | 15.5 | 0.85 | 0.290323 | 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 |
9bd15d570c4edfc4bfb31a2706ea18aa04efa9f5 | 137 | py | Python | tests/job_scrapper.py | DannyMcwaves/ATS | 91327ce15b4c4ea2fffebf02562cb8095b7983ec | [
"BSD-3-Clause"
] | null | null | null | tests/job_scrapper.py | DannyMcwaves/ATS | 91327ce15b4c4ea2fffebf02562cb8095b7983ec | [
"BSD-3-Clause"
] | 4 | 2020-06-05T17:38:46.000Z | 2022-03-02T14:54:30.000Z | tests/job_scrapper.py | DannyMcwaves/ATS | 91327ce15b4c4ea2fffebf02562cb8095b7983ec | [
"BSD-3-Clause"
] | null | null | null |
from job_scraper import run
url = 'https://stackoverflow.com/jobs/139474/full-stack-developer-with-a-passion-for-borderguru'
run(url)
| 19.571429 | 96 | 0.781022 | 21 | 137 | 5.047619 | 0.904762 | 0.113208 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.047619 | 0.080292 | 137 | 6 | 97 | 22.833333 | 0.793651 | 0 | 0 | 0 | 0 | 0.333333 | 0.647059 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.333333 | 0.333333 | 0 | 0.333333 | 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 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 6 |
ac969f51247bccae56dbcd467866fade7d7c0225 | 334 | py | Python | Beta/Never gonna give you up.py | mwk0408/codewars_solutions | 9b4f502b5f159e68024d494e19a96a226acad5e5 | [
"MIT"
] | 6 | 2020-09-03T09:32:25.000Z | 2020-12-07T04:10:01.000Z | Beta/Never gonna give you up.py | mwk0408/codewars_solutions | 9b4f502b5f159e68024d494e19a96a226acad5e5 | [
"MIT"
] | 1 | 2021-12-13T15:30:21.000Z | 2021-12-13T15:30:21.000Z | Beta/Never gonna give you up.py | mwk0408/codewars_solutions | 9b4f502b5f159e68024d494e19a96a226acad5e5 | [
"MIT"
] | null | null | null | def music(numbers):
s="Never gonna give you up\nNever gonna let you down\nNever gonna run around and desert you\nNever gonna make you cry\nNever gonna say goodbye\nNever gonna tell a lie and hurt you".split("\n")
return [s[val].replace("Never gonna", "NEVER GONNA") if index%2 else s[val] for index, val in enume... | 111.333333 | 196 | 0.739521 | 60 | 334 | 4.116667 | 0.6 | 0.222672 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003546 | 0.155689 | 334 | 3 | 197 | 111.333333 | 0.87234 | 0 | 0 | 0 | 0 | 0.333333 | 0.597015 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
ac9e0e0b5801506d8f955bb2b8721ba557314363 | 27 | py | Python | hello.py | Feister31/Election-Analysis | 5884c906bcc12bcc682f0ed930d72f06a2a090d8 | [
"MIT"
] | null | null | null | hello.py | Feister31/Election-Analysis | 5884c906bcc12bcc682f0ed930d72f06a2a090d8 | [
"MIT"
] | null | null | null | hello.py | Feister31/Election-Analysis | 5884c906bcc12bcc682f0ed930d72f06a2a090d8 | [
"MIT"
] | null | null | null | print("election_analysis")
| 13.5 | 26 | 0.814815 | 3 | 27 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037037 | 27 | 1 | 27 | 27 | 0.807692 | 0 | 0 | 0 | 0 | 0 | 0.62963 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
acc0b6df2b6aceb61444b8085229d0462e37573d | 879 | py | Python | terrascript/digitalocean/d.py | vutsalsinghal/python-terrascript | 3b9fb5ad77453d330fb0cd03524154a342c5d5dc | [
"BSD-2-Clause"
] | null | null | null | terrascript/digitalocean/d.py | vutsalsinghal/python-terrascript | 3b9fb5ad77453d330fb0cd03524154a342c5d5dc | [
"BSD-2-Clause"
] | null | null | null | terrascript/digitalocean/d.py | vutsalsinghal/python-terrascript | 3b9fb5ad77453d330fb0cd03524154a342c5d5dc | [
"BSD-2-Clause"
] | null | null | null | # terrascript/digitalocean/d.py
import terrascript
class digitalocean_certificate(terrascript.Data):
pass
class digitalocean_database_cluster(terrascript.Data):
pass
class digitalocean_domain(terrascript.Data):
pass
class digitalocean_droplet(terrascript.Data):
pass
class digitalocean_droplet_sn... | 18.702128 | 56 | 0.796359 | 96 | 879 | 7.083333 | 0.25 | 0.35 | 0.391176 | 0.458824 | 0.770588 | 0.452941 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135381 | 879 | 46 | 57 | 19.108696 | 0.894737 | 0.032992 | 0 | 0.482759 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.482759 | 0.034483 | 0 | 0.517241 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
ace5700a6e1a8a4f7b4738cf6ee5f0df89d47cf7 | 42 | py | Python | content/usr/src/app/examples/env.py | jerenius/Tahtoprobe | bce3cc439d2d63897ecbffeec820d637dc4cdb46 | [
"MIT"
] | null | null | null | content/usr/src/app/examples/env.py | jerenius/Tahtoprobe | bce3cc439d2d63897ecbffeec820d637dc4cdb46 | [
"MIT"
] | null | null | null | content/usr/src/app/examples/env.py | jerenius/Tahtoprobe | bce3cc439d2d63897ecbffeec820d637dc4cdb46 | [
"MIT"
] | null | null | null | import os
print(os.environ['mqttbroker'])
| 14 | 31 | 0.761905 | 6 | 42 | 5.333333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 42 | 2 | 32 | 21 | 0.820513 | 0 | 0 | 0 | 0 | 0 | 0.238095 | 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 |
aced9056be53d5cb3ab9b218adb0c1684e092e11 | 5,429 | py | Python | tests/unit/testActionRules/testActionRules.py | KIZI/actionrules | 227e021fa60ce40a1492322fe9bec35f0469e19c | [
"MIT"
] | 8 | 2019-10-11T09:49:20.000Z | 2022-03-21T23:23:55.000Z | tests/unit/testActionRules/testActionRules.py | hhl60492/actionrules | cdd1f58b44278e033d2eed7c603938e29368c9fa | [
"MIT"
] | 15 | 2019-12-29T20:14:36.000Z | 2021-12-10T13:16:00.000Z | tests/unit/testActionRules/testActionRules.py | KIZI/actionrules | 227e021fa60ce40a1492322fe9bec35f0469e19c | [
"MIT"
] | 7 | 2019-10-10T15:51:36.000Z | 2022-03-23T00:33:30.000Z | import unittest
import pandas as pd
from actionrules.actionRules import ActionRules
from actionrules.desiredState import DesiredState
class TestActionRules(unittest.TestCase):
def setUp(self):
self.actionRulesDiscoveryEmptyNotNan = ActionRules([pd.DataFrame()],
... | 52.708738 | 95 | 0.634371 | 575 | 5,429 | 5.613913 | 0.097391 | 0.089219 | 0.104089 | 0.055762 | 0.883829 | 0.883829 | 0.883829 | 0.883829 | 0.861214 | 0.861214 | 0 | 0.009282 | 0.265795 | 5,429 | 102 | 96 | 53.22549 | 0.800552 | 0.14883 | 0 | 0.424658 | 0 | 0 | 0.029724 | 0 | 0 | 0 | 0 | 0 | 0.178082 | 1 | 0.191781 | false | 0 | 0.054795 | 0 | 0.260274 | 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 |
acedd7a0944d8784bf933d66fe77b0849856dd14 | 1,083 | py | Python | gQuant/plugins/cusignal_plugin/setup.py | t-triobox/gQuant | 6ee3ba104ce4c6f17a5755e7782298902d125563 | [
"Apache-2.0"
] | null | null | null | gQuant/plugins/cusignal_plugin/setup.py | t-triobox/gQuant | 6ee3ba104ce4c6f17a5755e7782298902d125563 | [
"Apache-2.0"
] | null | null | null | gQuant/plugins/cusignal_plugin/setup.py | t-triobox/gQuant | 6ee3ba104ce4c6f17a5755e7782298902d125563 | [
"Apache-2.0"
] | null | null | null | '''
Greenflow Cusignal Plugin
'''
from setuptools import setup, find_packages
setup(
name='greenflow_cusignal_plugin',
version='1.0',
description='greenflow cusignal plugin - RAPIDS Cusignal Nodes for Greenflow', # noqa: E501
install_requires=["greenflow", "cusignal"],
packages=find_packages(inclu... | 45.125 | 118 | 0.697138 | 104 | 1,083 | 6.913462 | 0.288462 | 0.425591 | 0.543811 | 0.161335 | 0.417246 | 0.168289 | 0.104312 | 0 | 0 | 0 | 0 | 0.023364 | 0.209603 | 1,083 | 23 | 119 | 47.086957 | 0.816589 | 0.084949 | 0 | 0 | 0 | 0 | 0.617587 | 0.497955 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.052632 | 0 | 0.052632 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
acf5088785c6f06655057edb0c495d78fce0fca9 | 33 | py | Python | tests/__init__.py | lakshayarora476/TSIClient | 8d911d8beac3259d0fe86446e6526c1c8d53b74f | [
"MIT"
] | null | null | null | tests/__init__.py | lakshayarora476/TSIClient | 8d911d8beac3259d0fe86446e6526c1c8d53b74f | [
"MIT"
] | null | null | null | tests/__init__.py | lakshayarora476/TSIClient | 8d911d8beac3259d0fe86446e6526c1c8d53b74f | [
"MIT"
] | null | null | null | from TSIClient import TSIClient
| 16.5 | 32 | 0.848485 | 4 | 33 | 7 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151515 | 33 | 1 | 33 | 33 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4a16fce57e525d7542a7b15a19451f6a8ffc1df0 | 304 | py | Python | tests/data/project1/file1.py | Polyconseil/check-oldies | 0d0d9632281d14f652e71ac2c0db3b0cbf9b089c | [
"BSD-3-Clause"
] | 4 | 2020-10-27T16:18:57.000Z | 2020-12-01T10:58:19.000Z | tests/data/project1/file1.py | Polyconseil/check-oldies | 0d0d9632281d14f652e71ac2c0db3b0cbf9b089c | [
"BSD-3-Clause"
] | 1 | 2020-11-18T14:04:10.000Z | 2020-11-18T15:29:44.000Z | tests/data/project1/file1.py | Polyconseil/check-oldies | 0d0d9632281d14f652e71ac2c0db3b0cbf9b089c | [
"BSD-3-Clause"
] | null | null | null | # TIMEBOMB: report me
a = 1 # TIMEBOMB (jsmith): report me
# TIMEBOMB: do not report me (pragma). # no-check-fixmes
# TIMEBOMB(jsmith - 2020-04-25): report me
a = "TIMEBOMB" # do not report me (within a string)
a = "TIMEBOMB" # do not report me (within a string)
# TIMEBOMB - FEWTURE-BOOM: report me
| 33.777778 | 56 | 0.680921 | 48 | 304 | 4.3125 | 0.395833 | 0.270531 | 0.188406 | 0.275362 | 0.439614 | 0.338164 | 0.338164 | 0.338164 | 0.338164 | 0 | 0 | 0.036735 | 0.194079 | 304 | 8 | 57 | 38 | 0.808163 | 0.815789 | 0 | 0.666667 | 0 | 0 | 0.340426 | 0 | 0 | 0 | 0 | 0.125 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4a1833f2e874f31cd4232fbe5bda65f63de3b0ac | 43 | py | Python | src/audisto_exporter/__init__.py | ZeitOnline/audisto_exporter | 9d1b1771c9ec38f0c512f4736b97fd7f3432e904 | [
"BSD-3-Clause"
] | null | null | null | src/audisto_exporter/__init__.py | ZeitOnline/audisto_exporter | 9d1b1771c9ec38f0c512f4736b97fd7f3432e904 | [
"BSD-3-Clause"
] | 1 | 2021-06-24T11:32:59.000Z | 2021-06-24T11:32:59.000Z | src/audisto_exporter/__init__.py | ZeitOnline/audisto_exporter | 9d1b1771c9ec38f0c512f4736b97fd7f3432e904 | [
"BSD-3-Clause"
] | null | null | null | from audisto_exporter.exporter import main
| 21.5 | 42 | 0.883721 | 6 | 43 | 6.166667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093023 | 43 | 1 | 43 | 43 | 0.948718 | 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 |
4a254d47f70fe89c5643e5985dd52d55f47dfd33 | 42 | py | Python | hpvm/projects/predtuner/predtuner/approxes/__init__.py | vzyrianov/hpvm-autograd | 521cc3b684531548aea75f9fe3cc673aaa4a2e90 | [
"Apache-2.0"
] | null | null | null | hpvm/projects/predtuner/predtuner/approxes/__init__.py | vzyrianov/hpvm-autograd | 521cc3b684531548aea75f9fe3cc673aaa4a2e90 | [
"Apache-2.0"
] | null | null | null | hpvm/projects/predtuner/predtuner/approxes/__init__.py | vzyrianov/hpvm-autograd | 521cc3b684531548aea75f9fe3cc673aaa4a2e90 | [
"Apache-2.0"
] | null | null | null | from .approxes import get_knobs_from_file
| 21 | 41 | 0.880952 | 7 | 42 | 4.857143 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 42 | 1 | 42 | 42 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c59362cab4594afa05e3f2674aeb5ede17f7bfc4 | 25 | py | Python | recport/__init__.py | CircleOnCircles/recport | 371f8af612f7a0787eab9267ffe65f372c7badb2 | [
"MIT"
] | null | null | null | recport/__init__.py | CircleOnCircles/recport | 371f8af612f7a0787eab9267ffe65f372c7badb2 | [
"MIT"
] | null | null | null | recport/__init__.py | CircleOnCircles/recport | 371f8af612f7a0787eab9267ffe65f372c7badb2 | [
"MIT"
] | 1 | 2020-02-03T13:52:22.000Z | 2020-02-03T13:52:22.000Z | from .portfolio import *
| 12.5 | 24 | 0.76 | 3 | 25 | 6.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 25 | 1 | 25 | 25 | 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 |
681919366bd3448b7c6281a35f618ace8e1ef4be | 2,462 | py | Python | tests/system/action/meeting/test_replace_projector_id.py | MJJojo97/openslides-backend | af0d1edb0070e352d46f285a1ba0bbe3702d49ae | [
"MIT"
] | null | null | null | tests/system/action/meeting/test_replace_projector_id.py | MJJojo97/openslides-backend | af0d1edb0070e352d46f285a1ba0bbe3702d49ae | [
"MIT"
] | 19 | 2021-11-22T16:25:54.000Z | 2021-11-25T13:38:13.000Z | tests/system/action/meeting/test_replace_projector_id.py | MJJojo97/openslides-backend | af0d1edb0070e352d46f285a1ba0bbe3702d49ae | [
"MIT"
] | null | null | null | from tests.system.action.base import BaseActionTestCase
class MeetingReplaceProjectorIdTest(BaseActionTestCase):
def setUp(self) -> None:
super().setUp()
self.set_models(
{
"meeting/1": {
"default_projector_$_id": ["motion"],
"def... | 41.728814 | 80 | 0.611698 | 278 | 2,462 | 5 | 0.158273 | 0.079137 | 0.065468 | 0.057554 | 0.814388 | 0.794245 | 0.794245 | 0.768345 | 0.731655 | 0.680576 | 0 | 0.037862 | 0.270512 | 2,462 | 58 | 81 | 42.448276 | 0.73608 | 0 | 0 | 0.32 | 0 | 0 | 0.33225 | 0.266044 | 0 | 0 | 0 | 0 | 0.3 | 1 | 0.06 | false | 0 | 0.02 | 0 | 0.1 | 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 |
a85ace768f4d863824637747325b058794211789 | 2,882 | py | Python | karp/tests/integration/test_sql_uow.py | spraakbanken/karp-backend-v6-tmp | e5b78157bd999df18c188973ae2a337015b6f35d | [
"MIT"
] | 1 | 2021-12-08T15:33:42.000Z | 2021-12-08T15:33:42.000Z | karp/tests/integration/test_sql_uow.py | spraakbanken/karp-backend-v6-tmp | e5b78157bd999df18c188973ae2a337015b6f35d | [
"MIT"
] | null | null | null | karp/tests/integration/test_sql_uow.py | spraakbanken/karp-backend-v6-tmp | e5b78157bd999df18c188973ae2a337015b6f35d | [
"MIT"
] | null | null | null | import pytest
from karp.domain import model
from karp.infrastructure.sql import sql_unit_of_work
from karp.utility import unique_id
def random_resource() -> model.Resource:
return model.Resource(
entity_id=unique_id.make_unique_id(),
resource_id="abc",
name="ABC",
config={"fields"... | 32.75 | 82 | 0.628036 | 315 | 2,882 | 5.431746 | 0.209524 | 0.114553 | 0.140269 | 0.037989 | 0.78083 | 0.78083 | 0.78083 | 0.748101 | 0.748101 | 0.66277 | 0 | 0.000946 | 0.266482 | 2,882 | 87 | 83 | 33.126437 | 0.80842 | 0 | 0 | 0.714286 | 0 | 0 | 0.082929 | 0 | 0 | 0 | 0 | 0 | 0.057143 | 1 | 0.085714 | false | 0.028571 | 0.057143 | 0.028571 | 0.228571 | 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 |
a86c86de616a09799680ced1a9ed9952c4d86b29 | 38 | py | Python | src/automagic_imaging/scripts/__init__.py | univ-of-utah-marriott-library-apple/radmind_auto_image_creator | 84ede339c7e060068bba91d627d10d7d15fc743e | [
"MIT"
] | 2 | 2015-06-25T05:33:23.000Z | 2018-03-04T06:11:54.000Z | src/automagic_imaging/scripts/__init__.py | univ-of-utah-marriott-library-apple/radmind_auto_image_creator | 84ede339c7e060068bba91d627d10d7d15fc743e | [
"MIT"
] | null | null | null | src/automagic_imaging/scripts/__init__.py | univ-of-utah-marriott-library-apple/radmind_auto_image_creator | 84ede339c7e060068bba91d627d10d7d15fc743e | [
"MIT"
] | null | null | null | import logger, parse_options, radmind
| 19 | 37 | 0.842105 | 5 | 38 | 6.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 38 | 1 | 38 | 38 | 0.911765 | 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 |
a8b2d188a08bbe1de71b93b1c3c0339bf1b59b6a | 29 | py | Python | plugins/pelican_alias/__init__.py | fferegrino/yet-another-blog-migration | 1e7e95768af0d86d0a890b4582ef70c44b995e8e | [
"Apache-2.0"
] | null | null | null | plugins/pelican_alias/__init__.py | fferegrino/yet-another-blog-migration | 1e7e95768af0d86d0a890b4582ef70c44b995e8e | [
"Apache-2.0"
] | 36 | 2019-04-30T22:01:52.000Z | 2019-08-15T18:01:36.000Z | plugins/pelican_alias/__init__.py | fferegrino/yet-another-blog-migration | 1e7e95768af0d86d0a890b4582ef70c44b995e8e | [
"Apache-2.0"
] | null | null | null | from .pelican_alias import *
| 14.5 | 28 | 0.793103 | 4 | 29 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 29 | 1 | 29 | 29 | 0.88 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a8d3ffefb6a36b0e99d1e3b83f06a466e6e4b38a | 535 | py | Python | tests/response/test_generate_link_response.py | jeremydeanlakey/lakey-finicity-python | f0b5ae6febb9337f0e28731f631b726fca940d2c | [
"MIT"
] | 1 | 2021-02-09T14:44:55.000Z | 2021-02-09T14:44:55.000Z | tests/response/test_generate_link_response.py | jeremydeanlakey/lakey-finicity-python | f0b5ae6febb9337f0e28731f631b726fca940d2c | [
"MIT"
] | null | null | null | tests/response/test_generate_link_response.py | jeremydeanlakey/lakey-finicity-python | f0b5ae6febb9337f0e28731f631b726fca940d2c | [
"MIT"
] | 1 | 2022-01-26T18:09:33.000Z | 2022-01-26T18:09:33.000Z | DOCS_EXAMPLE_GENERATE_LINK_RESPONSE = {
"link": "https://connect.lakey_finicity.com?analytics=google%3AUA-123456789-1&consumerId=1cb21a38d006a384cf0376d12f2ddfef&customerId=12345678&partnerId=12345678921234&redirectUri=https%3A%2F%2Fwww.lakey_finicity.com&signature=b5fd21d087c06d0a7442b6fa85e7added988b057ab11717b7e3... | 133.75 | 492 | 0.865421 | 61 | 535 | 7.491803 | 0.754098 | 0.056893 | 0.070022 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.277567 | 0.016822 | 535 | 3 | 493 | 178.333333 | 0.591255 | 0 | 0 | 0 | 1 | 0.333333 | 0.902804 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a8d551833bc2154a534b7f5f037dac6d48c89659 | 603 | py | Python | cancer-immune/EMEWS-scripts/python/stats.py | rheiland/PhysiCell-EMEWS-2 | ec6ae7dab314b839f46a152ce9f5905155012d48 | [
"BSD-3-Clause"
] | null | null | null | cancer-immune/EMEWS-scripts/python/stats.py | rheiland/PhysiCell-EMEWS-2 | ec6ae7dab314b839f46a152ce9f5905155012d48 | [
"BSD-3-Clause"
] | null | null | null | cancer-immune/EMEWS-scripts/python/stats.py | rheiland/PhysiCell-EMEWS-2 | ec6ae7dab314b839f46a152ce9f5905155012d48 | [
"BSD-3-Clause"
] | 2 | 2019-05-24T02:42:11.000Z | 2021-07-12T12:19:46.000Z | import statistics
import builtins
def min(vals):
fl = [v for x in vals for v in x if v != 9999999999]
if len(fl) == 0:
return -1
return builtins.min(fl)
def max(vals):
fl = [v for x in vals for v in x if v != 9999999999]
if len(fl) == 0:
return -1
return builtins.max(fl)
def m... | 22.333333 | 56 | 0.575456 | 108 | 603 | 3.212963 | 0.194444 | 0.069164 | 0.080692 | 0.115274 | 0.772334 | 0.772334 | 0.772334 | 0.772334 | 0.772334 | 0.772334 | 0 | 0.115663 | 0.311774 | 603 | 26 | 57 | 23.192308 | 0.720482 | 0 | 0 | 0.545455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.181818 | false | 0 | 0.090909 | 0 | 0.636364 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
763e28bdaae93c07326b7b64c69db34d0ba6e1fc | 6,336 | py | Python | starry/_core/ops/integration.py | shashankdholakia/starry | 5619cc9823651a69f1230ead8fc87eb75a9d682e | [
"MIT"
] | null | null | null | starry/_core/ops/integration.py | shashankdholakia/starry | 5619cc9823651a69f1230ead8fc87eb75a9d682e | [
"MIT"
] | null | null | null | starry/_core/ops/integration.py | shashankdholakia/starry | 5619cc9823651a69f1230ead8fc87eb75a9d682e | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from ...compat import Apply, Op, tt
import numpy as np
__all__ = ["sTOp", "rTReflectedOp", "sTReflectedOp"]
class sTOp(Op):
def __init__(self, func, N):
self.func = func
self.N = N
self._grad_op = sTGradientOp(self)
def make_node(self, *inputs):
input... | 30.608696 | 69 | 0.548927 | 828 | 6,336 | 4.080918 | 0.100242 | 0.059189 | 0.047351 | 0.05623 | 0.808523 | 0.784256 | 0.759692 | 0.747558 | 0.72773 | 0.709086 | 0 | 0.018485 | 0.299874 | 6,336 | 206 | 70 | 30.757282 | 0.743237 | 0.003314 | 0 | 0.586826 | 0 | 0 | 0.004752 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.179641 | false | 0 | 0.011976 | 0.005988 | 0.353293 | 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 |
767a3ccb69f855fe3fdb99e127c48479410a52ae | 399 | py | Python | tests/test_models.py | softformance/django-facebook-photo-api | 0750140f322a195d69e7fb64c8792efe3f75f073 | [
"MIT"
] | null | null | null | tests/test_models.py | softformance/django-facebook-photo-api | 0750140f322a195d69e7fb64c8792efe3f75f073 | [
"MIT"
] | null | null | null | tests/test_models.py | softformance/django-facebook-photo-api | 0750140f322a195d69e7fb64c8792efe3f75f073 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
test_Django-Facebook-photo-api
------------
Tests for `Django-Facebook-photo-api` models module.
"""
from django.test import TestCase
from django_facebook_photo_api import models
class TestDjango_facebook_photo_api(TestCase):
def setUp(self):
pass
... | 15.346154 | 52 | 0.66416 | 51 | 399 | 5.039216 | 0.529412 | 0.202335 | 0.249027 | 0.256809 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003135 | 0.200501 | 399 | 25 | 53 | 15.96 | 0.802508 | 0.350877 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.333333 | 0.222222 | 0 | 0.666667 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
767c925602ef009b0d9a443b436a4c5d856ed7ef | 11,860 | py | Python | plgx-esp/tests/test_functional/test_logging.py | eclecticiq/eiq-er-ce | ebb12d5c4e0ee144f8166576924b8ce8dc5dfc94 | [
"MIT"
] | null | null | null | plgx-esp/tests/test_functional/test_logging.py | eclecticiq/eiq-er-ce | ebb12d5c4e0ee144f8166576924b8ce8dc5dfc94 | [
"MIT"
] | null | null | null | plgx-esp/tests/test_functional/test_logging.py | eclecticiq/eiq-er-ce | ebb12d5c4e0ee144f8166576924b8ce8dc5dfc94 | [
"MIT"
] | 2 | 2021-11-12T10:25:02.000Z | 2022-03-30T06:33:52.000Z | import datetime as dt
import gzip
import io
import json
from flask import url_for
from polylogyx.db.models import ResultLog
import time
class TestLogging:
def test_bad_post_request(self, node, testapp):
resp = testapp.post(url_for("api.logger"), {"foo": "bar"}, expect_errors=True)
assert not resp... | 33.314607 | 106 | 0.455902 | 1,095 | 11,860 | 4.787215 | 0.136073 | 0.049599 | 0.053415 | 0.018314 | 0.857306 | 0.825258 | 0.817245 | 0.802938 | 0.795116 | 0.774514 | 0 | 0.026387 | 0.405649 | 11,860 | 356 | 107 | 33.314607 | 0.717265 | 0.006492 | 0 | 0.622581 | 0 | 0 | 0.184704 | 0.019862 | 0 | 0 | 0 | 0 | 0.13871 | 1 | 0.032258 | false | 0 | 0.022581 | 0 | 0.058065 | 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 |
7696a576f92f3e242bcfaf5fa51c1343f1aaa4d7 | 231 | py | Python | doac/exceptions/invalid_client.py | EE/doac | ffc26fe8222e61cadbaa138b7e36d749de663e68 | [
"MIT"
] | 19 | 2015-01-02T12:16:59.000Z | 2018-10-10T14:56:03.000Z | doac/exceptions/invalid_client.py | EE/doac | ffc26fe8222e61cadbaa138b7e36d749de663e68 | [
"MIT"
] | 2 | 2015-05-28T17:29:34.000Z | 2016-05-24T15:50:30.000Z | doac/exceptions/invalid_client.py | EE/doac | ffc26fe8222e61cadbaa138b7e36d749de663e68 | [
"MIT"
] | 10 | 2015-03-03T10:37:44.000Z | 2018-10-10T14:56:10.000Z | from .base import InvalidClient
class ClientDoesNotExist(InvalidClient):
reason = "The client was malformed or invalid."
class ClientSecretNotValid(InvalidClient):
reason = "The client secret was malformed or invalid."
| 23.1 | 58 | 0.774892 | 25 | 231 | 7.16 | 0.6 | 0.212291 | 0.24581 | 0.312849 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.160173 | 231 | 9 | 59 | 25.666667 | 0.92268 | 0 | 0 | 0 | 0 | 0 | 0.341991 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 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 |
76a91d830647a56c5c9c2cc5585274603655152f | 187 | py | Python | tests/conftest.py | arne-cl/discoursegraphs | 4e14688e19c980ac9bbac75ff1bf5d751ef44ac3 | [
"BSD-3-Clause"
] | 41 | 2015-02-20T00:35:39.000Z | 2022-03-15T13:54:13.000Z | tests/conftest.py | arne-cl/discoursegraphs | 4e14688e19c980ac9bbac75ff1bf5d751ef44ac3 | [
"BSD-3-Clause"
] | 68 | 2015-01-09T18:07:38.000Z | 2021-10-06T16:30:43.000Z | tests/conftest.py | arne-cl/discoursegraphs | 4e14688e19c980ac9bbac75ff1bf5d751ef44ac3 | [
"BSD-3-Clause"
] | 8 | 2015-02-20T00:35:48.000Z | 2021-10-30T14:09:03.000Z |
from discoursegraphs.corpora import pcc
def pytest_namespace():
"""these objects/variables are available to all tests in the test suite"""
return {'maz_1423': pcc['maz-1423']}
| 23.375 | 78 | 0.721925 | 26 | 187 | 5.115385 | 0.884615 | 0.105263 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.051282 | 0.165775 | 187 | 7 | 79 | 26.714286 | 0.801282 | 0.363636 | 0 | 0 | 0 | 0 | 0.142857 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 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 |
4f4cf462380fbc20db6f843ec67d6921e87dff07 | 203 | py | Python | mksc/feature/values/__init__.py | HelloCoyen/mksc2 | ede038b87b7a46c2872ac9ae744c4dbfe5d6fe48 | [
"MIT"
] | null | null | null | mksc/feature/values/__init__.py | HelloCoyen/mksc2 | ede038b87b7a46c2872ac9ae744c4dbfe5d6fe48 | [
"MIT"
] | null | null | null | mksc/feature/values/__init__.py | HelloCoyen/mksc2 | ede038b87b7a46c2872ac9ae744c4dbfe5d6fe48 | [
"MIT"
] | null | null | null | from .abnormal import fix_abnormal_value
from .missing import fix_missing_value
from .normalization import normalization
from .scale import fix_scaling
from .standard import fix_standard, logarithmetics
| 33.833333 | 50 | 0.866995 | 27 | 203 | 6.296296 | 0.407407 | 0.211765 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103448 | 203 | 5 | 51 | 40.6 | 0.934066 | 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 |
96d84256259e44d892215cc82e4e515b4941110a | 26,300 | py | Python | saas/add_env.py | kerven88/opsany-paas | 78b83d0b6a46f3e70226ca99992d736b2af0af72 | [
"Apache-2.0"
] | null | null | null | saas/add_env.py | kerven88/opsany-paas | 78b83d0b6a46f3e70226ca99992d736b2af0af72 | [
"Apache-2.0"
] | null | null | null | saas/add_env.py | kerven88/opsany-paas | 78b83d0b6a46f3e70226ca99992d736b2af0af72 | [
"Apache-2.0"
] | null | null | null | """
mysql-connector==2.2.9
SQLAlchemy==1.4.22
"""
import os
import sys
import datetime
import configparser
from sqlalchemy import Column, DateTime, ForeignKey, String, create_engine, Index
from sqlalchemy.dialects.mysql import INTEGER, LONGTEXT, SMALLINT, TINYINT
from sqlalchemy.orm import relationship, sessio... | 69.028871 | 193 | 0.581825 | 3,109 | 26,300 | 4.653265 | 0.070119 | 0.05516 | 0.081358 | 0.117232 | 0.816686 | 0.773415 | 0.732771 | 0.712103 | 0.699938 | 0.684938 | 0 | 0.005687 | 0.231179 | 26,300 | 380 | 194 | 69.210526 | 0.709792 | 0.051559 | 0 | 0.410658 | 0 | 0.053292 | 0.317795 | 0.029511 | 0 | 0 | 0 | 0 | 0 | 1 | 0.015674 | false | 0.087774 | 0.028213 | 0.003135 | 0.238245 | 0.021944 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
96e207eb8a118e7b80e898bcd7a442641ebdb0f6 | 7,810 | py | Python | blog/tests/test_views.py | robml/django_diy_blog | b03d92ccc1208408d0fb907271390741bc9bb101 | [
"BSD-3-Clause"
] | null | null | null | blog/tests/test_views.py | robml/django_diy_blog | b03d92ccc1208408d0fb907271390741bc9bb101 | [
"BSD-3-Clause"
] | 5 | 2021-03-19T00:25:40.000Z | 2021-09-22T18:39:14.000Z | blog/tests/test_views.py | robml/django_diy_blog | b03d92ccc1208408d0fb907271390741bc9bb101 | [
"BSD-3-Clause"
] | null | null | null | from django.test import TestCase
from django.urls import reverse, reverse_lazy
from django.contrib.auth.models import User
from blog.models import Blog, BlogAuthor
class IndexTest(TestCase):
def test_view_url_exists_at_desired_location(self):
response = self.client.get('/blog/')
self.assertEqual(r... | 44.124294 | 115 | 0.696031 | 1,011 | 7,810 | 5.181998 | 0.160237 | 0.038175 | 0.054591 | 0.084176 | 0.790227 | 0.768658 | 0.758733 | 0.735827 | 0.710059 | 0.704333 | 0 | 0.018096 | 0.1863 | 7,810 | 177 | 116 | 44.124294 | 0.806294 | 0.043406 | 0 | 0.709091 | 0 | 0 | 0.091927 | 0.012381 | 0 | 0 | 0 | 0 | 0.272727 | 1 | 0.2 | false | 0.036364 | 0.036364 | 0 | 0.281818 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.