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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
43fe87382f808bfcf01cbb71193792d56c8a1c73 | 656 | py | Python | airtng_flask/models/__init__.py | satchkat/airtng-masked-numbers-flask | 8f9ffad7fb7716bdf96cca06854b5ebbb5228fda | [
"MIT"
] | 5 | 2019-08-06T13:02:14.000Z | 2021-08-23T07:15:17.000Z | airtng_flask/models/__init__.py | satchkat/airtng-masked-numbers-flask | 8f9ffad7fb7716bdf96cca06854b5ebbb5228fda | [
"MIT"
] | 84 | 2019-08-20T07:41:19.000Z | 2022-03-31T07:13:06.000Z | airtng_flask/models/__init__.py | satchkat/airtng-masked-numbers-flask | 8f9ffad7fb7716bdf96cca06854b5ebbb5228fda | [
"MIT"
] | 3 | 2020-06-18T11:50:57.000Z | 2022-03-11T17:45:10.000Z | model_settings = {
'db': None,
'bcrypt': None,
'app': None,
}
def init_models_module(db, bcrypt, flask_app):
model_settings['db'] = db
model_settings['bcrypt'] = bcrypt
model_settings['app'] = flask_app
def app_db():
return model_settings['db']
def bcrypt():
return model_settings['... | 18.222222 | 61 | 0.685976 | 84 | 656 | 5.059524 | 0.25 | 0.305882 | 0.268235 | 0.207059 | 0.32 | 0.32 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166159 | 656 | 35 | 62 | 18.742857 | 0.776965 | 0 | 0 | 0 | 0 | 0 | 0.160061 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.285714 | 0.619048 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
a138cf4912f40e2315ddb4b40cb941417ed92a2a | 62 | py | Python | sample/sample.py | eaybek/skive | 6e6aa45bc91a27649c654edfb3fb773c8e9e456e | [
"MIT"
] | null | null | null | sample/sample.py | eaybek/skive | 6e6aa45bc91a27649c654edfb3fb773c8e9e456e | [
"MIT"
] | null | null | null | sample/sample.py | eaybek/skive | 6e6aa45bc91a27649c654edfb3fb773c8e9e456e | [
"MIT"
] | null | null | null | from skive.skive import Skive
class Skive(object):
pass
| 10.333333 | 29 | 0.725806 | 9 | 62 | 5 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.209677 | 62 | 5 | 30 | 12.4 | 0.918367 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
a1613e61e69f58e4f7a42ad075ebdcce0df1a151 | 158 | py | Python | util/test/tests/Vulkan/VK_Buffer_Truncation.py | PLohrmannAMD/renderdoc | ea16d31aa340581f5e505e0c734a8468e5d3d47f | [
"MIT"
] | 6,181 | 2015-01-07T11:49:11.000Z | 2022-03-31T21:46:55.000Z | util/test/tests/Vulkan/VK_Buffer_Truncation.py | PLohrmannAMD/renderdoc | ea16d31aa340581f5e505e0c734a8468e5d3d47f | [
"MIT"
] | 2,015 | 2015-01-16T01:45:25.000Z | 2022-03-25T12:01:06.000Z | util/test/tests/Vulkan/VK_Buffer_Truncation.py | PLohrmannAMD/renderdoc | ea16d31aa340581f5e505e0c734a8468e5d3d47f | [
"MIT"
] | 1,088 | 2015-01-06T08:36:25.000Z | 2022-03-30T03:31:21.000Z | import rdtest
import renderdoc as rd
class VK_Buffer_Truncation(rdtest.Buffer_Truncation):
demos_test_name = 'VK_Buffer_Truncation'
internal = False | 22.571429 | 53 | 0.803797 | 21 | 158 | 5.714286 | 0.666667 | 0.4 | 0.3 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.14557 | 158 | 7 | 54 | 22.571429 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0.125786 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a191131485c7f04812287ee64b6add2ac0c47de9 | 10,652 | py | Python | tests/metrics/test_primitives.py | NunoEdgarGFlowHub/torchbearer | d2b21b8ffcabde5b505cb1c736e05af6ee4276ca | [
"MIT"
] | 358 | 2018-07-23T13:30:38.000Z | 2019-06-02T07:18:35.000Z | tests/metrics/test_primitives.py | Jayaudaykmar26589/torchbearer | 940e75ec88acd59d5a97aa8c721f7cfa30a5c4d0 | [
"MIT"
] | 307 | 2018-07-18T12:07:23.000Z | 2019-06-03T18:00:27.000Z | tests/metrics/test_primitives.py | Jayaudaykmar26589/torchbearer | 940e75ec88acd59d5a97aa8c721f7cfa30a5c4d0 | [
"MIT"
] | 42 | 2018-07-23T22:49:23.000Z | 2019-05-20T07:22:55.000Z | import unittest
import torch
from torch.autograd import Variable
import torchbearer
from torchbearer.metrics import Loss, Epoch, CategoricalAccuracy, TopKCategoricalAccuracy, BinaryAccuracy, MeanSquaredError
class TestLoss(unittest.TestCase):
def setUp(self):
with torch.no_grad():
self._stat... | 39.746269 | 123 | 0.498592 | 1,286 | 10,652 | 4.014774 | 0.075428 | 0.021693 | 0.021499 | 0.01472 | 0.814836 | 0.788495 | 0.757893 | 0.741817 | 0.725353 | 0.723029 | 0 | 0.059947 | 0.356365 | 10,652 | 268 | 124 | 39.746269 | 0.693116 | 0.053136 | 0 | 0.689655 | 0 | 0 | 0.034637 | 0 | 0 | 0 | 0 | 0 | 0.077586 | 1 | 0.103448 | false | 0 | 0.021552 | 0 | 0.150862 | 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 |
a1a364a2e72fec3d62af863178ca96d6dfef37b5 | 136 | py | Python | pelican_debugger.py | anselmos/debug_pelican_signals | a12190843bdcd6feaa9b2b61797c0b83c4357ec5 | [
"MIT"
] | null | null | null | pelican_debugger.py | anselmos/debug_pelican_signals | a12190843bdcd6feaa9b2b61797c0b83c4357ec5 | [
"MIT"
] | null | null | null | pelican_debugger.py | anselmos/debug_pelican_signals | a12190843bdcd6feaa9b2b61797c0b83c4357ec5 | [
"MIT"
] | null | null | null | from pelican import parse_arguments
from pelican import get_instance
pelican, settings = get_instance(parse_arguments())
pelican.run()
| 22.666667 | 51 | 0.830882 | 18 | 136 | 6.055556 | 0.5 | 0.201835 | 0.311927 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102941 | 136 | 5 | 52 | 27.2 | 0.893443 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
a1ac3dcf99833da59956337147de32f446e4cabe | 9,031 | py | Python | irctest/server_tests/test_sasl.py | delthas/irctest | c12c44b9938986608a8114cc21f1b5719cd110cb | [
"MIT"
] | 8 | 2017-11-01T17:43:13.000Z | 2022-01-30T08:21:50.000Z | irctest/server_tests/test_sasl.py | delthas/irctest | c12c44b9938986608a8114cc21f1b5719cd110cb | [
"MIT"
] | 32 | 2016-12-01T09:23:58.000Z | 2020-09-23T05:48:01.000Z | irctest/server_tests/test_sasl.py | delthas/irctest | c12c44b9938986608a8114cc21f1b5719cd110cb | [
"MIT"
] | 3 | 2017-11-14T03:54:39.000Z | 2020-09-09T06:47:57.000Z | import base64
from irctest import cases
class RegistrationTestCase(cases.BaseServerTestCase):
def testRegistration(self):
self.controller.registerUser(self, 'testuser', 'mypassword')
class SaslTestCase(cases.BaseServerTestCase, cases.OptionalityHelper):
@cases.SpecificationSelector.requiredBySpecific... | 49.620879 | 85 | 0.639907 | 1,015 | 9,031 | 5.673892 | 0.214778 | 0.02431 | 0.036117 | 0.047751 | 0.745095 | 0.745095 | 0.727904 | 0.725126 | 0.690571 | 0.690571 | 0 | 0.024401 | 0.246706 | 9,031 | 181 | 86 | 49.895028 | 0.821255 | 0.198538 | 0 | 0.773438 | 0 | 0 | 0.268918 | 0.00399 | 0 | 0 | 0 | 0.01105 | 0.164063 | 1 | 0.054688 | false | 0.007813 | 0.015625 | 0 | 0.085938 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a1d1bfe26472ce13355c0d722502c1b931da3ce5 | 22,165 | py | Python | distantrs/proto/google/devtools/resultstore/v2/test_suite_pb2.py | antmicro/distant-rs | bb51b3594a5c6651a8091da6047e709c612ac6de | [
"Apache-2.0"
] | null | null | null | distantrs/proto/google/devtools/resultstore/v2/test_suite_pb2.py | antmicro/distant-rs | bb51b3594a5c6651a8091da6047e709c612ac6de | [
"Apache-2.0"
] | null | null | null | distantrs/proto/google/devtools/resultstore/v2/test_suite_pb2.py | antmicro/distant-rs | bb51b3594a5c6651a8091da6047e709c612ac6de | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: google/devtools/resultstore/v2/test_suite.proto
"""Generated protocol buffer code."""
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import reflection ... | 49.037611 | 2,335 | 0.765351 | 2,907 | 22,165 | 5.508428 | 0.077399 | 0.044464 | 0.087866 | 0.107912 | 0.810029 | 0.791857 | 0.766939 | 0.696996 | 0.666708 | 0.660151 | 0 | 0.038178 | 0.111347 | 22,165 | 451 | 2,336 | 49.146341 | 0.774788 | 0.028468 | 0 | 0.65942 | 1 | 0.004831 | 0.234537 | 0.196849 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.014493 | 0 | 0.014493 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6293567e2eac6d1c53a488afe6a997e61b1429f8 | 3,502 | py | Python | src/tests/mapping/rows/test_weighted_linear_model.py | zaxmks/demo-data-compliance-service | 372e612c570aaf5b512bec17627f825e880add67 | [
"CNRI-Python",
"CECILL-B"
] | null | null | null | src/tests/mapping/rows/test_weighted_linear_model.py | zaxmks/demo-data-compliance-service | 372e612c570aaf5b512bec17627f825e880add67 | [
"CNRI-Python",
"CECILL-B"
] | null | null | null | src/tests/mapping/rows/test_weighted_linear_model.py | zaxmks/demo-data-compliance-service | 372e612c570aaf5b512bec17627f825e880add67 | [
"CNRI-Python",
"CECILL-B"
] | null | null | null | from mock import Mock
from src.mapping.values.value_match import ValueMatch
from src.mapping.rows.weighted_linear_model import WeightedLinearModel
config = {"weights": {"email": 1, "name": 3, "ssn": 6}, "null_confidence": 0.5}
def test_init():
wlm = WeightedLinearModel(**config)
assert wlm.weights["email"] ... | 31.267857 | 79 | 0.597658 | 369 | 3,502 | 5.384824 | 0.154472 | 0.114746 | 0.10468 | 0.099648 | 0.788123 | 0.788123 | 0.764972 | 0.764972 | 0.719678 | 0.719678 | 0 | 0.025 | 0.291833 | 3,502 | 112 | 80 | 31.267857 | 0.77621 | 0 | 0 | 0.813725 | 0 | 0 | 0.107337 | 0 | 0 | 0 | 0 | 0 | 0.04902 | 1 | 0.039216 | false | 0 | 0.029412 | 0 | 0.068627 | 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 |
62f3422f98860b5538d2299657828d6c8161f716 | 59 | py | Python | rdf_io/protocols/__init__.py | Ircam-Web/django-rdf-io | 5854fb5e57e92103595c95914c0adb092059dd89 | [
"CC0-1.0"
] | null | null | null | rdf_io/protocols/__init__.py | Ircam-Web/django-rdf-io | 5854fb5e57e92103595c95914c0adb092059dd89 | [
"CC0-1.0"
] | null | null | null | rdf_io/protocols/__init__.py | Ircam-Web/django-rdf-io | 5854fb5e57e92103595c95914c0adb092059dd89 | [
"CC0-1.0"
] | null | null | null | from .api import *
from .rdf4j import *
from .ldp import *
| 14.75 | 20 | 0.694915 | 9 | 59 | 4.555556 | 0.555556 | 0.487805 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021277 | 0.20339 | 59 | 3 | 21 | 19.666667 | 0.851064 | 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 |
1a0f3b5591829c58223921a0a6aeaa5ec89a9e49 | 9,883 | py | Python | test/test_model_gradient.py | Argonne-National-Laboratory/pyoptmat | a6e5e8d0b93c77374d4ccbc65a86262eec5df77b | [
"MIT"
] | null | null | null | test/test_model_gradient.py | Argonne-National-Laboratory/pyoptmat | a6e5e8d0b93c77374d4ccbc65a86262eec5df77b | [
"MIT"
] | 1 | 2022-03-30T22:20:38.000Z | 2022-03-31T15:02:22.000Z | test/test_model_gradient.py | Argonne-National-Laboratory/pyoptmat | a6e5e8d0b93c77374d4ccbc65a86262eec5df77b | [
"MIT"
] | 2 | 2021-11-16T15:13:54.000Z | 2022-01-06T21:35:42.000Z | import unittest
import numpy as np
import torch
from torch.autograd import Variable
import torch.nn
from pyoptmat import ode, models, flowrules, hardening, utility, damage
from pyoptmat.temperature import ConstantParameter as CP
torch.set_default_tensor_type(torch.DoubleTensor)
torch.autograd.set_detect_anomaly(Tru... | 39.690763 | 122 | 0.65729 | 1,514 | 9,883 | 4.261559 | 0.102378 | 0.088655 | 0.083695 | 0.076875 | 0.850434 | 0.850434 | 0.838965 | 0.835865 | 0.819436 | 0.819436 | 0 | 0.040841 | 0.177476 | 9,883 | 248 | 123 | 39.850806 | 0.75286 | 0 | 0 | 0.668342 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01005 | 1 | 0.050251 | false | 0 | 0.035176 | 0 | 0.130653 | 0.01005 | 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 |
a7edb5992f43617f174367e05f77ff26fe34727d | 55 | py | Python | pms7003/__init__.py | m1dnight/pms7003 | 1d063523e40f258eaf8fe857418f81eab80950a7 | [
"MIT"
] | 20 | 2018-12-05T06:30:36.000Z | 2021-11-15T00:18:30.000Z | pms7003/__init__.py | m1dnight/pms7003 | 1d063523e40f258eaf8fe857418f81eab80950a7 | [
"MIT"
] | 4 | 2019-09-06T18:35:03.000Z | 2021-07-01T07:58:03.000Z | pms7003/__init__.py | m1dnight/pms7003 | 1d063523e40f258eaf8fe857418f81eab80950a7 | [
"MIT"
] | 4 | 2019-06-19T15:40:14.000Z | 2021-06-05T08:12:23.000Z | from .pms7003 import *
from .pms7003_threading import * | 27.5 | 32 | 0.8 | 7 | 55 | 6.142857 | 0.571429 | 0.511628 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 0.127273 | 55 | 2 | 32 | 27.5 | 0.729167 | 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 |
c507d4ed78c6eb7d2309acbaa9a3849653adc3bf | 96 | py | Python | venv/lib/python3.8/site-packages/pip/_vendor/distlib/markers.py | GiulianaPola/select_repeats | 17a0d053d4f874e42cf654dd142168c2ec8fbd11 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/pip/_vendor/distlib/markers.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/pip/_vendor/distlib/markers.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/e8/07/37/7027c504445ec621125883979a0f9aa483fc9767ac69f3525f728ccbef | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.46875 | 0 | 96 | 1 | 96 | 96 | 0.427083 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c55575d18071515973916f62cb58788a01868503 | 330 | py | Python | seleniumwire/thirdparty/mitmproxy/addons/__init__.py | KozminMoci/selenium-wire | 063c44ab42ac5e53e28c8a8c49c9ae7036bd878b | [
"MIT"
] | 975 | 2018-06-23T10:50:42.000Z | 2022-03-31T00:56:03.000Z | seleniumwire/thirdparty/mitmproxy/addons/__init__.py | KozminMoci/selenium-wire | 063c44ab42ac5e53e28c8a8c49c9ae7036bd878b | [
"MIT"
] | 492 | 2018-07-30T12:49:51.000Z | 2022-03-31T12:46:56.000Z | seleniumwire/thirdparty/mitmproxy/addons/__init__.py | KozminMoci/selenium-wire | 063c44ab42ac5e53e28c8a8c49c9ae7036bd878b | [
"MIT"
] | 149 | 2018-08-29T06:53:12.000Z | 2022-03-31T09:23:56.000Z | from seleniumwire.thirdparty.mitmproxy.addons import core
from seleniumwire.thirdparty.mitmproxy.addons import streambodies
from seleniumwire.thirdparty.mitmproxy.addons import upstream_auth
def default_addons():
return [
core.Core(),
streambodies.StreamBodies(),
upstream_auth.UpstreamAuth... | 27.5 | 66 | 0.757576 | 33 | 330 | 7.484848 | 0.424242 | 0.194332 | 0.315789 | 0.425101 | 0.57085 | 0.57085 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163636 | 330 | 11 | 67 | 30 | 0.894928 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | true | 0 | 0.333333 | 0.111111 | 0.555556 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
c56b3a5d44759660f070678700378ed4a1b28b78 | 25 | py | Python | thinkplot/__init__.py | bwsturm/ThinkBayes2 | 79bf1d334fff428c701c33078c9f7c82f10cf751 | [
"MIT"
] | 1 | 2019-12-25T07:05:33.000Z | 2019-12-25T07:05:33.000Z | thinkplot/__init__.py | bwsturm/ThinkBayes2 | 79bf1d334fff428c701c33078c9f7c82f10cf751 | [
"MIT"
] | null | null | null | thinkplot/__init__.py | bwsturm/ThinkBayes2 | 79bf1d334fff428c701c33078c9f7c82f10cf751 | [
"MIT"
] | 1 | 2021-03-11T13:57:03.000Z | 2021-03-11T13:57:03.000Z | from .thinkplot 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 |
3dc36ffa856766abce37172db29c2d739916788e | 169 | py | Python | opencolorio_config_aces/config/cg/__init__.py | AcademySoftwareFoundation/OpenColorIO-Config-ACES | 79e07061e28a81d1bb0cbfd6b5d5376a35025b58 | [
"BSD-3-Clause"
] | 52 | 2020-05-19T05:05:11.000Z | 2022-03-29T20:20:42.000Z | opencolorio_config_aces/config/cg/__init__.py | AcademySoftwareFoundation/OpenColorIO-Config-ACES | 79e07061e28a81d1bb0cbfd6b5d5376a35025b58 | [
"BSD-3-Clause"
] | 41 | 2020-05-17T03:18:24.000Z | 2022-03-31T12:02:35.000Z | opencolorio_config_aces/config/cg/__init__.py | AcademySoftwareFoundation/OpenColorIO-Config-ACES | 79e07061e28a81d1bb0cbfd6b5d5376a35025b58 | [
"BSD-3-Clause"
] | 12 | 2020-05-18T18:21:57.000Z | 2022-03-29T20:00:55.000Z | # SPDX-License-Identifier: BSD-3-Clause
# Copyright Contributors to the OpenColorIO Project.
from .generate import generate_config_cg
__all__ = ['generate_config_cg']
| 24.142857 | 52 | 0.804734 | 22 | 169 | 5.818182 | 0.818182 | 0.21875 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006667 | 0.112426 | 169 | 6 | 53 | 28.166667 | 0.846667 | 0.52071 | 0 | 0 | 1 | 0 | 0.230769 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
3dd21e32e3dfa2a1e018fa1fe441e54cfd88855a | 40 | py | Python | gentsp/__init__.py | charon25/GeneticTSPSolver | 224e2232d49e390e690f910de5167409063c23c3 | [
"MIT"
] | null | null | null | gentsp/__init__.py | charon25/GeneticTSPSolver | 224e2232d49e390e690f910de5167409063c23c3 | [
"MIT"
] | null | null | null | gentsp/__init__.py | charon25/GeneticTSPSolver | 224e2232d49e390e690f910de5167409063c23c3 | [
"MIT"
] | null | null | null | from gentsp.genetic_tsp import TSPSolver | 40 | 40 | 0.9 | 6 | 40 | 5.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075 | 40 | 1 | 40 | 40 | 0.945946 | 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 |
9a76833e22f689c76e96f834a9f6666db2b1ffed | 1,788 | py | Python | exp/exp007/model_list.py | fkubota/kaggle-Rainforest-Connection-Species-Audio-Detection | 7134edff0ba1c60f597b64a0efd953b7707b98e1 | [
"MIT"
] | 1 | 2021-02-24T03:25:51.000Z | 2021-02-24T03:25:51.000Z | exp/exp008/model_list.py | fkubota/kaggle-Rainforest-Connection-Species-Audio-Detection | 7134edff0ba1c60f597b64a0efd953b7707b98e1 | [
"MIT"
] | null | null | null | exp/exp008/model_list.py | fkubota/kaggle-Rainforest-Connection-Species-Audio-Detection | 7134edff0ba1c60f597b64a0efd953b7707b98e1 | [
"MIT"
] | null | null | null | from ipdb import set_trace as st
import torch
import torch.nn as nn
import torch.nn.functional as F
from torchvision import models
####################################################################
# Resnet50
####################################################################
class ResNet18(nn.Module):
def... | 32.509091 | 70 | 0.582774 | 193 | 1,788 | 5.093264 | 0.238342 | 0.101729 | 0.056968 | 0.081384 | 0.824008 | 0.824008 | 0.824008 | 0.824008 | 0.824008 | 0.824008 | 0 | 0.016248 | 0.242729 | 1,788 | 54 | 71 | 33.111111 | 0.709749 | 0.004474 | 0 | 0.697674 | 0 | 0 | 0.074481 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.093023 | false | 0 | 0.116279 | 0 | 0.302326 | 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 |
9a80668cc34db8f6d97c026026b786a4645e70e3 | 12,664 | py | Python | tests/checks/mock/test_haproxy.py | joewilliams/dd-agent | 489902eeef5b2f66c4878cb8a42e79c54883c042 | [
"BSD-3-Clause"
] | 11 | 2017-09-13T03:31:51.000Z | 2019-06-05T19:38:09.000Z | tests/checks/mock/test_haproxy.py | joewilliams/dd-agent | 489902eeef5b2f66c4878cb8a42e79c54883c042 | [
"BSD-3-Clause"
] | 1 | 2021-02-23T14:54:36.000Z | 2021-02-23T14:54:36.000Z | tests/checks/mock/test_haproxy.py | joewilliams/dd-agent | 489902eeef5b2f66c4878cb8a42e79c54883c042 | [
"BSD-3-Clause"
] | 7 | 2016-09-06T18:13:16.000Z | 2020-11-13T10:54:13.000Z | from collections import defaultdict
import copy
# 3p
import mock
# project
from tests.checks.common import AgentCheckTest
MOCK_DATA = """# pxname,svname,qcur,qmax,scur,smax,slim,stot,bin,bout,dreq,dresp,ereq,econ,eresp,wretr,wredis,status,weight,act,bck,chkfail,chkdown,lastchg,downtime,qlimit,pid,iid,sid,throttle,l... | 60.884615 | 390 | 0.645136 | 2,137 | 12,664 | 3.655124 | 0.079551 | 0.062988 | 0.061452 | 0.048137 | 0.855588 | 0.842018 | 0.805531 | 0.779414 | 0.779414 | 0.719882 | 0 | 0.076712 | 0.138424 | 12,664 | 207 | 391 | 61.178744 | 0.639171 | 0.022663 | 0 | 0.357576 | 0 | 0.145455 | 0.446268 | 0.320207 | 0 | 0 | 0 | 0 | 0.309091 | 1 | 0.042424 | false | 0 | 0.024242 | 0 | 0.084848 | 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 |
9aae6e30cb28d873851afa30daaa4531e13b1cc7 | 25 | py | Python | sample/__init__.py | prediction-vc/exchanges-data | a15d01222fe43987483a48a3669ed89539417771 | [
"Apache-2.0"
] | null | null | null | sample/__init__.py | prediction-vc/exchanges-data | a15d01222fe43987483a48a3669ed89539417771 | [
"Apache-2.0"
] | null | null | null | sample/__init__.py | prediction-vc/exchanges-data | a15d01222fe43987483a48a3669ed89539417771 | [
"Apache-2.0"
] | null | null | null | from .scraper import main | 25 | 25 | 0.84 | 4 | 25 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12 | 25 | 1 | 25 | 25 | 0.954545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b13ead3043d443d93feb61d3f083d6486a03edc8 | 196 | py | Python | flow/core/__init__.py | richardschris/flow | c9bb0cbbb268320181d85967b3aec8096c3eb416 | [
"MIT"
] | null | null | null | flow/core/__init__.py | richardschris/flow | c9bb0cbbb268320181d85967b3aec8096c3eb416 | [
"MIT"
] | null | null | null | flow/core/__init__.py | richardschris/flow | c9bb0cbbb268320181d85967b3aec8096c3eb416 | [
"MIT"
] | null | null | null | class Base:
name = None
def __init__(self, name=None, *args, **kwargs):
self.name = name or ''
def __repr__(self):
return f'<{self.__class__.__name__}: {self.name}>'
| 21.777778 | 58 | 0.586735 | 25 | 196 | 3.96 | 0.52 | 0.242424 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.255102 | 196 | 8 | 59 | 24.5 | 0.678082 | 0 | 0 | 0 | 0 | 0 | 0.204082 | 0.137755 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.166667 | 0.833333 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
b18b5ebc7bf48829bc6242d7e0626f8302409628 | 11,767 | py | Python | chunks/tests.py | Kreeg/django-chunks-jinja2 | 0c9871240ecc563ed758b1b7a9b1c5edb557b135 | [
"BSD-3-Clause"
] | null | null | null | chunks/tests.py | Kreeg/django-chunks-jinja2 | 0c9871240ecc563ed758b1b7a9b1c5edb557b135 | [
"BSD-3-Clause"
] | null | null | null | chunks/tests.py | Kreeg/django-chunks-jinja2 | 0c9871240ecc563ed758b1b7a9b1c5edb557b135 | [
"BSD-3-Clause"
] | null | null | null | from django.test import TestCase
from django.test.utils import override_settings
from django.template import Context, Template, TemplateSyntaxError
from django.core.cache import cache
from django.utils.translation import activate
from chunks.models import Chunk
is_jinja_installed = True
try:
import jinja2
imp... | 43.581481 | 117 | 0.622079 | 1,356 | 11,767 | 5.137906 | 0.098083 | 0.044783 | 0.067174 | 0.073202 | 0.80666 | 0.784269 | 0.78025 | 0.75915 | 0.735037 | 0.706617 | 0 | 0.004395 | 0.265148 | 11,767 | 270 | 118 | 43.581481 | 0.801318 | 0 | 0 | 0.558974 | 0 | 0 | 0.298436 | 0.025833 | 0 | 0 | 0 | 0 | 0.205128 | 1 | 0.128205 | false | 0 | 0.051282 | 0 | 0.241026 | 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 |
491f767778852a920ded312cf8686196c6a5316f | 24 | py | Python | pyrocoto/__init__.py | AdamSchnapp/pyrocoto | fa2661da268cdf8c239b01248f963c306d9251de | [
"MIT"
] | null | null | null | pyrocoto/__init__.py | AdamSchnapp/pyrocoto | fa2661da268cdf8c239b01248f963c306d9251de | [
"MIT"
] | null | null | null | pyrocoto/__init__.py | AdamSchnapp/pyrocoto | fa2661da268cdf8c239b01248f963c306d9251de | [
"MIT"
] | null | null | null | from .pyrocoto import *
| 12 | 23 | 0.75 | 3 | 24 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 24 | 1 | 24 | 24 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
492fac1b7c971e6a9b71eeb5bc58f6481d8891b1 | 85 | py | Python | good_spot/common/models.py | jasmine92122/NightClubBackend | 7f59129b78baaba0e0c25de2b493033b858f1b00 | [
"MIT"
] | 1 | 2021-02-01T19:04:39.000Z | 2021-02-01T19:04:39.000Z | habitat/building/models/light.py | matrach/habitatOS | 1ae2a3caf6f279cf6d6d20bcd81f24d50f61d7d3 | [
"MIT"
] | 5 | 2020-02-12T03:13:11.000Z | 2022-01-13T01:41:14.000Z | good_spot/common/models.py | jasmine92122/NightClubBackend | 7f59129b78baaba0e0c25de2b493033b858f1b00 | [
"MIT"
] | null | null | null | from django.db import models
from django.utils.translation import ugettext_lazy as _
| 28.333333 | 55 | 0.847059 | 13 | 85 | 5.384615 | 0.769231 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 85 | 2 | 56 | 42.5 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
498aaf6f8121e45aaf526024194783a91a825924 | 45 | py | Python | CodeWars/7 Kyu/Alternate case.py | anubhab-code/Competitive-Programming | de28cb7d44044b9e7d8bdb475da61e37c018ac35 | [
"MIT"
] | null | null | null | CodeWars/7 Kyu/Alternate case.py | anubhab-code/Competitive-Programming | de28cb7d44044b9e7d8bdb475da61e37c018ac35 | [
"MIT"
] | null | null | null | CodeWars/7 Kyu/Alternate case.py | anubhab-code/Competitive-Programming | de28cb7d44044b9e7d8bdb475da61e37c018ac35 | [
"MIT"
] | null | null | null | def alternateCase(s):
return s.swapcase() | 22.5 | 23 | 0.711111 | 6 | 45 | 5.333333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.155556 | 45 | 2 | 23 | 22.5 | 0.842105 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
499a77d1c2f9d69a031122e60ccef0e432117f3f | 370 | py | Python | Modulo-03/ex109/ex109.py | Matheus-Henrique-Burey/Curso-de-Python | 448aebaab96527affa1e45897a662bb0407c11c6 | [
"MIT"
] | null | null | null | Modulo-03/ex109/ex109.py | Matheus-Henrique-Burey/Curso-de-Python | 448aebaab96527affa1e45897a662bb0407c11c6 | [
"MIT"
] | null | null | null | Modulo-03/ex109/ex109.py | Matheus-Henrique-Burey/Curso-de-Python | 448aebaab96527affa1e45897a662bb0407c11c6 | [
"MIT"
] | null | null | null | import moeda
preco = float(input('Digite um preço:R$ '))
print(f'O dobro de {moeda.moeda(preco)} é {moeda.dobro(preco, True)}')
print(f'A metade de {moeda.moeda(preco)} é {moeda.metade(preco, True)}')
print(f'Almentando 10% de {moeda.moeda(preco)} é {moeda.almentar(preco, 10, True)}')
print(f'Desconto de 10% {moeda.mo... | 46.25 | 84 | 0.697297 | 63 | 370 | 4.095238 | 0.365079 | 0.193798 | 0.232558 | 0.248062 | 0.348837 | 0.267442 | 0 | 0 | 0 | 0 | 0 | 0.024169 | 0.105405 | 370 | 7 | 85 | 52.857143 | 0.755287 | 0 | 0 | 0 | 0 | 0.333333 | 0.775676 | 0.118919 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 0.166667 | 0.666667 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
b8feb5bc0d98ad99a96018b500aa1d90e42aba3c | 2,561 | py | Python | resources/dot_PyCharm/system/python_stubs/-762174762/PySide/QtXml/QDomDocument.py | basepipe/developer_onboarding | 05b6a776f8974c89517868131b201f11c6c2a5ad | [
"MIT"
] | 1 | 2020-04-20T02:27:20.000Z | 2020-04-20T02:27:20.000Z | resources/dot_PyCharm/system/python_stubs/cache/d1acfdaecbc43dfcba0c1287ba0e29c0ef0e2d37695269b2505d76ec531b8b76/PySide/QtXml/QDomDocument.py | basepipe/developer_onboarding | 05b6a776f8974c89517868131b201f11c6c2a5ad | [
"MIT"
] | null | null | null | resources/dot_PyCharm/system/python_stubs/cache/d1acfdaecbc43dfcba0c1287ba0e29c0ef0e2d37695269b2505d76ec531b8b76/PySide/QtXml/QDomDocument.py | basepipe/developer_onboarding | 05b6a776f8974c89517868131b201f11c6c2a5ad | [
"MIT"
] | null | null | null | # encoding: utf-8
# module PySide.QtXml
# from C:\Python27\lib\site-packages\PySide\QtXml.pyd
# by generator 1.147
# no doc
# imports
import Shiboken as __Shiboken
from QDomNode import QDomNode
class QDomDocument(QDomNode):
# no doc
def createAttribute(self, *args, **kwargs): # real signature unknown
... | 27.244681 | 84 | 0.642718 | 285 | 2,561 | 5.642105 | 0.259649 | 0.202114 | 0.310945 | 0.257463 | 0.628109 | 0.628109 | 0.584577 | 0.560945 | 0 | 0 | 0 | 0.004167 | 0.250293 | 2,561 | 93 | 85 | 27.537634 | 0.833333 | 0.337368 | 0 | 0.462963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.462963 | false | 0.462963 | 0.055556 | 0 | 0.537037 | 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 |
7700f8d593b412e6009faaec06e2e563024041c8 | 92 | py | Python | src/images/__init__.py | xgroleau/s8-app3 | 3cc18a0862a736f8dadac08b41f30f9956a85213 | [
"MIT"
] | null | null | null | src/images/__init__.py | xgroleau/s8-app3 | 3cc18a0862a736f8dadac08b41f30f9956a85213 | [
"MIT"
] | null | null | null | src/images/__init__.py | xgroleau/s8-app3 | 3cc18a0862a736f8dadac08b41f30f9956a85213 | [
"MIT"
] | null | null | null | from .color_transformation import *
from .image_collection import *
from .selector import *
| 23 | 35 | 0.804348 | 11 | 92 | 6.545455 | 0.636364 | 0.277778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 92 | 3 | 36 | 30.666667 | 0.9 | 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 |
7715cfc6543912fdb0069bf43b9344a318cc560a | 651 | py | Python | mailmojo_sdk/api/__init__.py | eliksir/mailmojo-python-sdk | 99dfd209f190c5320663ce762dd36b7b8b2065f4 | [
"Apache-2.0"
] | null | null | null | mailmojo_sdk/api/__init__.py | eliksir/mailmojo-python-sdk | 99dfd209f190c5320663ce762dd36b7b8b2065f4 | [
"Apache-2.0"
] | 2 | 2017-01-13T14:23:41.000Z | 2017-02-07T10:43:14.000Z | mailmojo_sdk/api/__init__.py | eliksir/mailmojo-python-sdk | 99dfd209f190c5320663ce762dd36b7b8b2065f4 | [
"Apache-2.0"
] | null | null | null | from __future__ import absolute_import
# flake8: noqa
# import apis into api package
from mailmojo_sdk.api.account_api import AccountApi
from mailmojo_sdk.api.automation_api import AutomationApi
from mailmojo_sdk.api.contact_api import ContactApi
from mailmojo_sdk.api.embed_api import EmbedApi
from mailmojo_sdk.api.f... | 38.294118 | 57 | 0.870968 | 100 | 651 | 5.4 | 0.34 | 0.244444 | 0.305556 | 0.366667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.001689 | 0.09063 | 651 | 16 | 58 | 40.6875 | 0.910473 | 0.06298 | 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 |
621322b7efe80b3b644a28bb12d52d6f1fa46f4e | 96 | py | Python | Python/Introduction/python-power-mod-power.py | mateusnr/hackerrank-solutions | 2fa60bae480d8afb46e3d99929707a7d9d92858f | [
"CC0-1.0"
] | 1 | 2015-08-01T04:03:47.000Z | 2015-08-01T04:03:47.000Z | Python/Introduction/python-power-mod-power.py | mateusnr/hackerrank-solutions | 2fa60bae480d8afb46e3d99929707a7d9d92858f | [
"CC0-1.0"
] | null | null | null | Python/Introduction/python-power-mod-power.py | mateusnr/hackerrank-solutions | 2fa60bae480d8afb46e3d99929707a7d9d92858f | [
"CC0-1.0"
] | 4 | 2020-05-04T15:12:21.000Z | 2021-02-18T11:58:30.000Z | a = int(raw_input())
b = int(raw_input())
m = int(raw_input())
print pow(a,b)
print pow(a,b,m)
| 13.714286 | 20 | 0.625 | 21 | 96 | 2.714286 | 0.380952 | 0.315789 | 0.578947 | 0.350877 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145833 | 96 | 6 | 21 | 16 | 0.695122 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.4 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
656682af2018cfa17ca8ca114edea50d330de030 | 168 | py | Python | tests/fixtures/multilinestring/__init__.py | phuntimes/mongoshapes | f461c67343c32c6b97af8d67a269b4de492d1d71 | [
"MIT"
] | 1 | 2020-11-26T05:58:23.000Z | 2020-11-26T05:58:23.000Z | tests/fixtures/multilinestring/__init__.py | Sean-McVeigh/mongoshapes | f461c67343c32c6b97af8d67a269b4de492d1d71 | [
"MIT"
] | null | null | null | tests/fixtures/multilinestring/__init__.py | Sean-McVeigh/mongoshapes | f461c67343c32c6b97af8d67a269b4de492d1d71 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from mongoshapes import MultiLineStringDict as GeoDict
from .fixtures import geojson
from .fixtures import geointerface
| 21 | 54 | 0.767857 | 21 | 168 | 6.142857 | 0.761905 | 0.186047 | 0.27907 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006897 | 0.136905 | 168 | 7 | 55 | 24 | 0.882759 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
658984871bde4cf6309c19f9362485acf94463b0 | 2,002 | py | Python | src/hamm.py | nijaru/rosalind | ffa640d9c61d9fdd2967287f5dd3ee0ced188941 | [
"MIT"
] | null | null | null | src/hamm.py | nijaru/rosalind | ffa640d9c61d9fdd2967287f5dd3ee0ced188941 | [
"MIT"
] | null | null | null | src/hamm.py | nijaru/rosalind | ffa640d9c61d9fdd2967287f5dd3ee0ced188941 | [
"MIT"
] | null | null | null | S1 = "CAGGGCAAGGGCTAACAATACTAATCGAAACCCGGCAAACTTTCCTATCATAGCTTCAACAAGCTCAGACTACGGCGTGGACCGATGATGCTGCTTTATCTCTGGTGAAGGTCGCGCCTGGTCCCTCCTTGGCATAATATTGCGTCATTAGTAGGCCGACAATTTGAGACGTGCGACTTCATCGCGCAAGAAATTACGCCGCAATGGCCTAGGCTACACAGAAGCTAGATTCATGTGATCCTCCCTGACACAGTTATATGCCCATTCGACCAACAGCGGTAGAAGTTTCACGCAACAGAGCTCAACGTGGCGGT... | 182 | 933 | 0.967033 | 31 | 2,002 | 62.451613 | 0.612903 | 0.006198 | 0.008264 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005612 | 0.020979 | 2,002 | 10 | 934 | 200.2 | 0.982143 | 0.016484 | 0 | 0 | 0 | 0 | 0.941535 | 0.941535 | 0 | 1 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0 | 0.2 | 0.4 | 0.2 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 6 |
658c688394ac35842c64ccdc0d2c673da823bb1d | 67,879 | py | Python | tests/test_generator.py | pksol/mock_autogen | 5eff3db7bac5f59c5c1c54cfcb4e66576d261ed9 | [
"MIT"
] | 26 | 2018-12-24T15:02:34.000Z | 2022-03-17T06:26:08.000Z | tests/test_generator.py | pksol/mock_autogen | 5eff3db7bac5f59c5c1c54cfcb4e66576d261ed9 | [
"MIT"
] | 29 | 2018-10-20T17:45:53.000Z | 2022-03-08T02:24:24.000Z | tests/test_generator.py | pksol/mock_autogen | 5eff3db7bac5f59c5c1c54cfcb4e66576d261ed9 | [
"MIT"
] | null | null | null | import re
import sys
from collections import namedtuple
import pytest
import mock_autogen.generator
import tests.sample.code.tested_module
import tests.sample.code.second_module
from tests.sample.code.comprehensions_and_loops import get_square_root, \
summarize_environ_values, trimmed_strings, \
get_square_ro... | 43.04312 | 116 | 0.738491 | 8,382 | 67,879 | 5.593176 | 0.042353 | 0.04153 | 0.053432 | 0.065846 | 0.851542 | 0.801246 | 0.765731 | 0.732029 | 0.691886 | 0.66341 | 0 | 0.005732 | 0.16469 | 67,879 | 1,576 | 117 | 43.070431 | 0.821111 | 0.03686 | 0 | 0.592378 | 1 | 0.004143 | 0.401234 | 0.286249 | 0 | 0 | 0 | 0 | 0.292461 | 1 | 0.051367 | false | 0.0058 | 0.026512 | 0.001657 | 0.095278 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
65ba6b8928d1ac2f9052e75f99f3ed00668aae06 | 67 | py | Python | akimous/modeling/feature/__init__.py | akimous/akimous | 1828c09407bc32b233500647290d698ba5e5549f | [
"BSD-3-Clause"
] | 12 | 2019-11-14T14:20:33.000Z | 2022-03-27T15:24:45.000Z | akimous/modeling/feature/__init__.py | akimous/akimous | 1828c09407bc32b233500647290d698ba5e5549f | [
"BSD-3-Clause"
] | 7 | 2020-04-05T05:37:52.000Z | 2020-09-27T14:21:41.000Z | akimous/modeling/feature/__init__.py | akimous/akimous | 1828c09407bc32b233500647290d698ba5e5549f | [
"BSD-3-Clause"
] | 3 | 2020-03-23T17:31:39.000Z | 2022-03-27T15:24:53.000Z | from .context_features import *
from .completion_features import *
| 22.333333 | 34 | 0.820896 | 8 | 67 | 6.625 | 0.625 | 0.528302 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119403 | 67 | 2 | 35 | 33.5 | 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 |
65e5c4caefb7f5f13df5907a3d9f48083542add1 | 4,241 | py | Python | tests_3_6/test_represent.py | sobolevn/icontract | 8dd3c236fd75f74fef722311e2de65d036b9c6a7 | [
"MIT"
] | null | null | null | tests_3_6/test_represent.py | sobolevn/icontract | 8dd3c236fd75f74fef722311e2de65d036b9c6a7 | [
"MIT"
] | null | null | null | tests_3_6/test_represent.py | sobolevn/icontract | 8dd3c236fd75f74fef722311e2de65d036b9c6a7 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
# pylint: disable=missing-docstring,invalid-name,too-many-public-methods,no-self-use
# pylint: disable=unused-argument
import textwrap
import unittest
import math
from typing import Optional # pylint: disable=unused-import
import icontract._represent
import tests.error
import tests.mock
clas... | 32.374046 | 84 | 0.585475 | 489 | 4,241 | 4.940695 | 0.165644 | 0.139073 | 0.049255 | 0.069536 | 0.80505 | 0.80505 | 0.80505 | 0.791805 | 0.759934 | 0.705712 | 0 | 0.015415 | 0.281066 | 4,241 | 130 | 85 | 32.623077 | 0.776976 | 0.106814 | 0 | 0.693069 | 0 | 0 | 0.069897 | 0 | 0 | 0 | 0 | 0 | 0.138614 | 1 | 0.138614 | false | 0 | 0.069307 | 0.069307 | 0.287129 | 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 |
02f45b627ed7ec1ce05db516b378d0dbbac800ec | 44 | py | Python | config/__init__.py | nikanar/OpenKE | f88d54e3b019c02035a39e5de7c732c16277dd7e | [
"MIT"
] | null | null | null | config/__init__.py | nikanar/OpenKE | f88d54e3b019c02035a39e5de7c732c16277dd7e | [
"MIT"
] | 1 | 2018-06-07T18:38:16.000Z | 2018-06-07T18:38:16.000Z | config/__init__.py | nikanar/OpenKE | f88d54e3b019c02035a39e5de7c732c16277dd7e | [
"MIT"
] | 1 | 2018-06-07T16:18:35.000Z | 2018-06-07T16:18:35.000Z | from . import Config
from Config import *
| 14.666667 | 21 | 0.727273 | 6 | 44 | 5.333333 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.227273 | 44 | 2 | 22 | 22 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
02f64f1ac3eaffb3ae8e805920dc7760a38fa59a | 263 | py | Python | reaver/models/__init__.py | HatsuneMiku4/reaver | 059320ce109498ec4100fcc2cee32177c427f1ea | [
"MIT"
] | null | null | null | reaver/models/__init__.py | HatsuneMiku4/reaver | 059320ce109498ec4100fcc2cee32177c427f1ea | [
"MIT"
] | null | null | null | reaver/models/__init__.py | HatsuneMiku4/reaver | 059320ce109498ec4100fcc2cee32177c427f1ea | [
"MIT"
] | null | null | null | from reaver.models.base import layers, build_mlp, build_cnn_nature, MultiPolicy
from reaver.models.sc2 import build_fully_conv, SC2MultiPolicy
from reaver.models.sc2.relational import build_relational
from reaver.models.sc2.policy import SC2RelationalMultiPolicy
| 52.6 | 79 | 0.870722 | 36 | 263 | 6.194444 | 0.5 | 0.179372 | 0.286996 | 0.255605 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020576 | 0.076046 | 263 | 4 | 80 | 65.75 | 0.897119 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f320c383c29a50216d77e94d570494348f0c7c56 | 397,984 | py | Python | sdk/cdn/azure-mgmt-cdn/azure/mgmt/cdn/models/_models_py3.py | rsdoherty/azure-sdk-for-python | 6bba5326677468e6660845a703686327178bb7b1 | [
"MIT"
] | 2,728 | 2015-01-09T10:19:32.000Z | 2022-03-31T14:50:33.000Z | sdk/cdn/azure-mgmt-cdn/azure/mgmt/cdn/models/_models_py3.py | rsdoherty/azure-sdk-for-python | 6bba5326677468e6660845a703686327178bb7b1 | [
"MIT"
] | 17,773 | 2015-01-05T15:57:17.000Z | 2022-03-31T23:50:25.000Z | sdk/cdn/azure-mgmt-cdn/azure/mgmt/cdn/models/_models_py3.py | rsdoherty/azure-sdk-for-python | 6bba5326677468e6660845a703686327178bb7b1 | [
"MIT"
] | 1,916 | 2015-01-19T05:05:41.000Z | 2022-03-31T19:36:44.000Z | # coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may ... | 42.132543 | 726 | 0.678309 | 43,617 | 397,984 | 6.009698 | 0.030424 | 0.017331 | 0.018999 | 0.028498 | 0.798642 | 0.770464 | 0.747414 | 0.726459 | 0.713717 | 0.701936 | 0 | 0.002058 | 0.208817 | 397,984 | 9,445 | 727 | 42.137004 | 0.830264 | 0.434533 | 0 | 0.712155 | 0 | 0.000202 | 0.265668 | 0.095986 | 0 | 0 | 0 | 0 | 0 | 1 | 0.042733 | false | 0 | 0.001008 | 0 | 0.16791 | 0.001814 | 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 |
b85f5bf21d951133073c62a074e4264bdc6cbcdc | 108 | py | Python | hello_world.py | Hrushabhs/My-Pycode | c27549b89a7848827117e42d324d383732adfac5 | [
"Apache-2.0"
] | null | null | null | hello_world.py | Hrushabhs/My-Pycode | c27549b89a7848827117e42d324d383732adfac5 | [
"Apache-2.0"
] | null | null | null | hello_world.py | Hrushabhs/My-Pycode | c27549b89a7848827117e42d324d383732adfac5 | [
"Apache-2.0"
] | null | null | null | print "Hello world by Hrushabhs"
def hel():
(print"Hello Hrushabhs")
hel()
print"hello"+" "+ "Sirsulwar"
| 18 | 33 | 0.675926 | 14 | 108 | 5.214286 | 0.571429 | 0.410959 | 0.356164 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 108 | 6 | 34 | 18 | 0.793478 | 0 | 0 | 0 | 0 | 0 | 0.495413 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.6 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
b8c0e600db223955d23ddc35bb21138afa069cd7 | 61 | py | Python | src/mailer/__main__.py | XtremeGood/Mailer | b530dfe0400150859e9dc6d8b1cae857f8ebbcd9 | [
"MIT"
] | 1 | 2020-10-14T08:54:58.000Z | 2020-10-14T08:54:58.000Z | src/mailer/__main__.py | XtremeGood/Mailer | b530dfe0400150859e9dc6d8b1cae857f8ebbcd9 | [
"MIT"
] | null | null | null | src/mailer/__main__.py | XtremeGood/Mailer | b530dfe0400150859e9dc6d8b1cae857f8ebbcd9 | [
"MIT"
] | 1 | 2020-04-25T14:45:46.000Z | 2020-04-25T14:45:46.000Z | import sys
import mailer.main
sys.exit(mailer.main.main())
| 10.166667 | 28 | 0.754098 | 10 | 61 | 4.6 | 0.5 | 0.434783 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114754 | 61 | 5 | 29 | 12.2 | 0.851852 | 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 |
b2318ca11b86230f9b608df18445283f7c76d7b4 | 4,464 | py | Python | tests/app/guild_helper_bot/test_report_command.py | ricardochaves/chat-wars-database | 597f192fb6ddf290c6c7477cf8c7d0ca654925f6 | [
"MIT"
] | 1 | 2019-12-30T19:16:52.000Z | 2019-12-30T19:16:52.000Z | tests/app/guild_helper_bot/test_report_command.py | ricardochaves/chat-wars-database | 597f192fb6ddf290c6c7477cf8c7d0ca654925f6 | [
"MIT"
] | null | null | null | tests/app/guild_helper_bot/test_report_command.py | ricardochaves/chat-wars-database | 597f192fb6ddf290c6c7477cf8c7d0ca654925f6 | [
"MIT"
] | null | null | null | from django.test import TestCase
from django.utils import timezone
from chat_wars_database.app.business_core.models import Item
from chat_wars_database.app.guild_helper_bot.commands import _execute_deposit
from chat_wars_database.app.guild_helper_bot.commands import _execute_report
from chat_wars_database.app.guild_he... | 54.439024 | 120 | 0.648073 | 552 | 4,464 | 5.056159 | 0.144928 | 0.116446 | 0.10713 | 0.173056 | 0.759584 | 0.751344 | 0.751344 | 0.742745 | 0.742745 | 0.742745 | 0 | 0.023553 | 0.210573 | 4,464 | 81 | 121 | 55.111111 | 0.768445 | 0 | 0 | 0.09589 | 0 | 0 | 0.305108 | 0 | 0 | 0 | 0 | 0 | 0.328767 | 1 | 0.027397 | false | 0 | 0.123288 | 0 | 0.164384 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b24c7a219b3303ac95e680b700d787cc6c080d78 | 2,081 | py | Python | test/programytest/utils/language/test_default.py | motazsaad/fit-bot-fb-clt | 580477aa1ec91855b621d9ae276f2705962f6a87 | [
"MIT"
] | 345 | 2016-11-23T22:37:04.000Z | 2022-03-30T20:44:44.000Z | test/programytest/utils/language/test_default.py | MikeyBeez/program-y | 00d7a0c7d50062f18f0ab6f4a041068e119ef7f0 | [
"MIT"
] | 275 | 2016-12-07T10:30:28.000Z | 2022-02-08T21:28:33.000Z | test/programytest/utils/language/test_default.py | VProgramMist/modified-program-y | f32efcafafd773683b3fe30054d5485fe9002b7d | [
"MIT"
] | 159 | 2016-11-28T18:59:30.000Z | 2022-03-20T18:02:44.000Z | import unittest
from programy.utils.language.default import DefaultLangauge
#############################################################################
#
class DefaultTests(unittest.TestCase):
def test_split_into_sentences(self):
sentences = DefaultLangauge.split_into_sentences("")
self.asser... | 37.160714 | 77 | 0.656415 | 191 | 2,081 | 6.963351 | 0.120419 | 0.135338 | 0.270677 | 0.272932 | 0.785714 | 0.728571 | 0.728571 | 0.606015 | 0.606015 | 0.606015 | 0 | 0 | 0.184046 | 2,081 | 56 | 78 | 37.160714 | 0.783274 | 0 | 0 | 0.285714 | 0 | 0 | 0.134232 | 0 | 0 | 0 | 0 | 0 | 0.428571 | 1 | 0.057143 | false | 0 | 0.057143 | 0 | 0.142857 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b24f71c2eb60cb5c14dc72d11278ca4aaf078087 | 4,059 | py | Python | sidebars/clustering_sidebars.py | udaykiran1809/NoCodeAIML | ad40e4176d112f3ac1c2e9639e045b59d9aa9f50 | [
"Apache-2.0"
] | 7 | 2021-10-02T02:30:42.000Z | 2022-01-28T19:50:22.000Z | sidebars/clustering_sidebars.py | udaykiran1809/NoCodeAIML | ad40e4176d112f3ac1c2e9639e045b59d9aa9f50 | [
"Apache-2.0"
] | null | null | null | sidebars/clustering_sidebars.py | udaykiran1809/NoCodeAIML | ad40e4176d112f3ac1c2e9639e045b59d9aa9f50 | [
"Apache-2.0"
] | 3 | 2021-10-02T08:06:09.000Z | 2021-11-11T17:46:22.000Z | import streamlit as st
DISTANCE_METRICS = {
"Euclidean": "euclidean",
"Manhattan": "manhattan"
}
SEARCH_ALGORITHM = {
"Auto": "auto",
"BallTree": "ball_tree",
"KDTree": "kd_tree",
"Brute-Force search": "brute"
}
def DBSCAN_sidebar():
inputs = {}
with st.sidebar:
st.write("## I... | 35.295652 | 85 | 0.527223 | 452 | 4,059 | 4.623894 | 0.181416 | 0.065072 | 0.105742 | 0.1 | 0.830144 | 0.820096 | 0.791388 | 0.791388 | 0.791388 | 0.791388 | 0 | 0.023702 | 0.345159 | 4,059 | 114 | 86 | 35.605263 | 0.762603 | 0 | 0 | 0.633028 | 0 | 0 | 0.305987 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.027523 | false | 0 | 0.009174 | 0 | 0.06422 | 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 |
b25c0df5bd70fe79122328b416562574cf4139f4 | 41,140 | py | Python | basty/project/behavior_mapping.py | bo1929/basty | 3ef84578e0154509346fdc2c0c56261448d78276 | [
"MIT"
] | 5 | 2021-12-10T17:43:52.000Z | 2022-03-01T22:19:36.000Z | basty/project/behavior_mapping.py | bo1929/basty | 3ef84578e0154509346fdc2c0c56261448d78276 | [
"MIT"
] | null | null | null | basty/project/behavior_mapping.py | bo1929/basty | 3ef84578e0154509346fdc2c0c56261448d78276 | [
"MIT"
] | null | null | null | from collections import defaultdict
import numpy as np
import umap
from hdbscan import HDBSCAN # approximate_predict,
from hdbscan import all_points_membership_vectors, membership_vector
from sklearn.preprocessing import normalize, scale
from tqdm import tqdm
import basty.utils.misc as misc
from basty.project.experi... | 42.720665 | 92 | 0.63335 | 4,644 | 41,140 | 5.168174 | 0.047158 | 0.044998 | 0.043498 | 0.024082 | 0.837382 | 0.796842 | 0.75801 | 0.731178 | 0.706929 | 0.669264 | 0 | 0.007028 | 0.290958 | 41,140 | 962 | 93 | 42.765073 | 0.81577 | 0.02246 | 0 | 0.599515 | 0 | 0 | 0.105784 | 0.058913 | 0 | 0 | 0 | 0 | 0.03034 | 1 | 0.048544 | false | 0 | 0.010922 | 0 | 0.069175 | 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 |
b2a0c81ad451f155e16456dc9637073cb6b6656c | 1,695 | py | Python | python/tools/validators.py | sshcrack/dancyPi-audio-reactive-led | 955c4765eadb3642a6ef1f1da96d23087155ff8c | [
"MIT"
] | null | null | null | python/tools/validators.py | sshcrack/dancyPi-audio-reactive-led | 955c4765eadb3642a6ef1f1da96d23087155ff8c | [
"MIT"
] | null | null | null | python/tools/validators.py | sshcrack/dancyPi-audio-reactive-led | 955c4765eadb3642a6ef1f1da96d23087155ff8c | [
"MIT"
] | null | null | null | from tools.tools import check_float, check_int
def validate_int(param_name: str, min_val = None, max_val = None):
def func(param):
if param == None or len(param) == 0 or param[0] == None:
return {
"error": f"{param_name} has to have an value",
"result": None
... | 28.728814 | 92 | 0.473746 | 208 | 1,695 | 3.716346 | 0.182692 | 0.093144 | 0.093144 | 0.131953 | 0.838292 | 0.838292 | 0.838292 | 0.838292 | 0.838292 | 0.752911 | 0 | 0.006091 | 0.418879 | 1,695 | 59 | 93 | 28.728814 | 0.77868 | 0 | 0 | 0.638298 | 0 | 0 | 0.196344 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.085106 | false | 0 | 0.021277 | 0 | 0.319149 | 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 |
b2a137935950de9607db79de35037c223884e718 | 317 | py | Python | dae/dae/tools/tests/test_generate_denovo_gene_sets.py | iossifovlab/gpf | e556243d29666179dbcb72859845b4d6c011af2b | [
"MIT"
] | null | null | null | dae/dae/tools/tests/test_generate_denovo_gene_sets.py | iossifovlab/gpf | e556243d29666179dbcb72859845b4d6c011af2b | [
"MIT"
] | 82 | 2019-07-22T11:44:23.000Z | 2022-01-13T15:27:33.000Z | dae/dae/tools/tests/test_generate_denovo_gene_sets.py | iossifovlab/gpf | e556243d29666179dbcb72859845b4d6c011af2b | [
"MIT"
] | null | null | null | import pytest
from dae.tools.generate_denovo_gene_sets import main
pytestmark = pytest.mark.usefixtures("gene_info_cache_dir")
def test_generate_denovo_gene_sets_script_passes(gpf_instance_2013):
main(gpf_instance=gpf_instance_2013, argv=[])
main(gpf_instance=gpf_instance_2013, argv=["--show-studies"])
| 26.416667 | 68 | 0.81388 | 46 | 317 | 5.173913 | 0.565217 | 0.231092 | 0.189076 | 0.184874 | 0.285714 | 0.285714 | 0.285714 | 0 | 0 | 0 | 0 | 0.041522 | 0.088328 | 317 | 11 | 69 | 28.818182 | 0.782007 | 0 | 0 | 0 | 1 | 0 | 0.104101 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0.166667 | 0.333333 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 6 |
b2b14011a51f7938816f314bb3e21140d85790da | 326 | py | Python | analysis_llt/ml/cv/__init__.py | Tammy-Lee/analysis-llt | ea1bb62d614bb75dac68c010a0cc524a5be185f2 | [
"MIT"
] | null | null | null | analysis_llt/ml/cv/__init__.py | Tammy-Lee/analysis-llt | ea1bb62d614bb75dac68c010a0cc524a5be185f2 | [
"MIT"
] | null | null | null | analysis_llt/ml/cv/__init__.py | Tammy-Lee/analysis-llt | ea1bb62d614bb75dac68c010a0cc524a5be185f2 | [
"MIT"
] | null | null | null | from analysis_llt.ml.cv.base import SCORES
from analysis_llt.ml.cv.ensemble import RandomForestClassifierCV
from analysis_llt.ml.cv.svm import SVCCV
from analysis_llt.ml.cv.neighbors import KNNCV
from analysis_llt.ml.cv.neural_network import MLPClassifierCV
from analysis_llt.ml.cv.linear_model import LogisticRegression... | 46.571429 | 67 | 0.871166 | 50 | 326 | 5.52 | 0.4 | 0.26087 | 0.326087 | 0.369565 | 0.413043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.07362 | 326 | 6 | 68 | 54.333333 | 0.913907 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
a23f20817bae5bf770e5162955069b561421e860 | 6,201 | py | Python | adv_attacks.py | AdversarialFishRecognition/AdvFish | d61035a7bc7345ee22c668944255dd90ab73595b | [
"MIT"
] | 3 | 2021-01-05T13:22:26.000Z | 2021-12-17T08:30:07.000Z | adv_attacks.py | UnderwaterDL/AdvFish | d61035a7bc7345ee22c668944255dd90ab73595b | [
"MIT"
] | null | null | null | adv_attacks.py | UnderwaterDL/AdvFish | d61035a7bc7345ee22c668944255dd90ab73595b | [
"MIT"
] | null | null | null | """
Adapted from:
https://github.com/MadryLab/cifar10_challenge/blob/master/pgd_attack.py
Implementation of attack methods. Running this file as a program will
apply the attack to the model specified by the config file and store
the examples in an .npy file.
"""
from __future__ import absolute_import
from __future__ ... | 40.006452 | 108 | 0.58797 | 885 | 6,201 | 3.929944 | 0.188701 | 0.018401 | 0.031052 | 0.018976 | 0.780334 | 0.767108 | 0.767108 | 0.754457 | 0.754457 | 0.754457 | 0 | 0.009777 | 0.307209 | 6,201 | 154 | 109 | 40.266234 | 0.799814 | 0.184809 | 0 | 0.843137 | 0 | 0 | 0.024485 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.039216 | false | 0 | 0.04902 | 0 | 0.127451 | 0.029412 | 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 |
a2871fd8b9dbdf6bd07d4e1075f56fa620648ce2 | 178 | py | Python | htu21/__init__.py | Jeremie-C/python-htu21 | 6503b8d9abff240e2ebe5df890b19dfa46bac6b3 | [
"MIT"
] | null | null | null | htu21/__init__.py | Jeremie-C/python-htu21 | 6503b8d9abff240e2ebe5df890b19dfa46bac6b3 | [
"MIT"
] | null | null | null | htu21/__init__.py | Jeremie-C/python-htu21 | 6503b8d9abff240e2ebe5df890b19dfa46bac6b3 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
__author__ = 'Jeremie-C'
from .htu21 import HTU21
from .htu21 import H14T14, H08T12, H10T13, H11T11
from .htu21 import HOLD, NOHOLD
| 25.428571 | 49 | 0.713483 | 26 | 178 | 4.730769 | 0.730769 | 0.219512 | 0.365854 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164474 | 0.146067 | 178 | 6 | 50 | 29.666667 | 0.644737 | 0.235955 | 0 | 0 | 0 | 0 | 0.067164 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a2936272174a801ea153c411e85e9a4c622f5fc0 | 84 | py | Python | Problems/HackerRank/polar.py | kvlizhvn/Lab_7 | e7f7f8da2b5f52a426bb55981594fb8ddcbd127a | [
"MIT"
] | 1 | 2022-02-18T15:44:46.000Z | 2022-02-18T15:44:46.000Z | Problems/HackerRank/polar.py | kvlizhvn/Lab_7 | e7f7f8da2b5f52a426bb55981594fb8ddcbd127a | [
"MIT"
] | null | null | null | Problems/HackerRank/polar.py | kvlizhvn/Lab_7 | e7f7f8da2b5f52a426bb55981594fb8ddcbd127a | [
"MIT"
] | 1 | 2021-03-26T13:55:52.000Z | 2021-03-26T13:55:52.000Z | import cmath
c = complex(input())
print(cmath.polar(c)[0])
print(cmath.polar(c)[1])
| 16.8 | 24 | 0.690476 | 15 | 84 | 3.866667 | 0.6 | 0.344828 | 0.517241 | 0.551724 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025974 | 0.083333 | 84 | 4 | 25 | 21 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0.5 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
a299bb1e4509a7758e13de7f05e549eb60d05504 | 75 | py | Python | utils/__init__.py | Lisovq/markov-chain-bot | b7fb8c1e47c0abda6ccc9dfed1d0b35b8a6eaff1 | [
"MIT"
] | null | null | null | utils/__init__.py | Lisovq/markov-chain-bot | b7fb8c1e47c0abda6ccc9dfed1d0b35b8a6eaff1 | [
"MIT"
] | null | null | null | utils/__init__.py | Lisovq/markov-chain-bot | b7fb8c1e47c0abda6ccc9dfed1d0b35b8a6eaff1 | [
"MIT"
] | null | null | null | from .message_generator import generate
from .random_send import randomize
| 25 | 39 | 0.866667 | 10 | 75 | 6.3 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106667 | 75 | 2 | 40 | 37.5 | 0.940299 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a29acef6d5389dfeadb42034b5acf3b4345af9a5 | 16,719 | py | Python | lib/FakeObjectsForTests/FakeObjectsForTestsImpl.py | JamesJeffryes/FakeObjectsForTests | 19e29b7b76531082a65954b29db0baaa4b33353a | [
"MIT"
] | null | null | null | lib/FakeObjectsForTests/FakeObjectsForTestsImpl.py | JamesJeffryes/FakeObjectsForTests | 19e29b7b76531082a65954b29db0baaa4b33353a | [
"MIT"
] | null | null | null | lib/FakeObjectsForTests/FakeObjectsForTestsImpl.py | JamesJeffryes/FakeObjectsForTests | 19e29b7b76531082a65954b29db0baaa4b33353a | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
#BEGIN_HEADER
import os
import time
import json
import copy
from biokbase.workspace.client import Workspace as workspaceService
from DataFileUtil.DataFileUtilClient import DataFileUtil
#END_HEADER
class FakeObjectsForTests:
'''
Module Name:
FakeObjectsForTests
Module Descripti... | 55.73 | 82 | 0.629523 | 2,206 | 16,719 | 4.688577 | 0.140073 | 0.015953 | 0.022334 | 0.011022 | 0.838925 | 0.829643 | 0.829643 | 0.827129 | 0.816108 | 0.816108 | 0 | 0.016544 | 0.291405 | 16,719 | 299 | 83 | 55.916388 | 0.856504 | 0.661822 | 0 | 0.448276 | 0 | 0 | 0.199673 | 0.027589 | 0 | 0 | 0 | 0 | 0 | 1 | 0.068966 | false | 0.011494 | 0.068966 | 0.011494 | 0.241379 | 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 |
0c2cd13b1d8aee5f07892c081259443db198acad | 150 | py | Python | torch_datasets/datasets/__init__.py | mingruimingrui/torch-datasets | 2640b8c4fa82156e68e617fc545a546b4e08dc4e | [
"MIT"
] | null | null | null | torch_datasets/datasets/__init__.py | mingruimingrui/torch-datasets | 2640b8c4fa82156e68e617fc545a546b4e08dc4e | [
"MIT"
] | null | null | null | torch_datasets/datasets/__init__.py | mingruimingrui/torch-datasets | 2640b8c4fa82156e68e617fc545a546b4e08dc4e | [
"MIT"
] | null | null | null | from .detection_dataset import DetectionDataset
from .siamese_dataset import SiameseDataset
from .classification_dataset import ClassificationDataset
| 37.5 | 57 | 0.9 | 15 | 150 | 8.8 | 0.6 | 0.295455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08 | 150 | 3 | 58 | 50 | 0.956522 | 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 |
0c308717fad391201f73a1dcbce04981044fbb39 | 9,106 | py | Python | model/multiple_choice.py | guanzhchen/PETuning | eb36327713e237ea95a8982ceabb71de5ca4b09d | [
"MIT"
] | 10 | 2022-02-18T00:54:12.000Z | 2022-03-23T11:22:50.000Z | model/multiple_choice.py | guanzhchen/PETuning | eb36327713e237ea95a8982ceabb71de5ca4b09d | [
"MIT"
] | null | null | null | model/multiple_choice.py | guanzhchen/PETuning | eb36327713e237ea95a8982ceabb71de5ca4b09d | [
"MIT"
] | null | null | null | import torch
from torch._C import NoopLogger
import torch.nn as nn
import torch.nn.functional as F
from torch import Tensor
from torch.nn import CrossEntropyLoss, MSELoss, BCEWithLogitsLoss
from transformers import BertModel, BertPreTrainedModel
from transformers.modeling_outputs import MultipleChoiceModelOutput, Base... | 38.260504 | 118 | 0.655941 | 1,135 | 9,106 | 4.971806 | 0.135683 | 0.025518 | 0.028708 | 0.03686 | 0.782385 | 0.7675 | 0.744639 | 0.744639 | 0.738083 | 0.738083 | 0 | 0.007889 | 0.262245 | 9,106 | 238 | 119 | 38.260504 | 0.832093 | 0.075115 | 0 | 0.751351 | 0 | 0 | 0.007445 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.027027 | false | 0 | 0.059459 | 0 | 0.135135 | 0.010811 | 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 |
0c541ffb07cf4a03075b25153ff8b317a8d362dc | 87 | py | Python | pr2roc/__init__.py | ameya98/roc2pr | ab19d7552e2e9ae32ca00a1be4a17b29a3f915fa | [
"MIT"
] | 1 | 2020-09-08T14:51:48.000Z | 2020-09-08T14:51:48.000Z | pr2roc/__init__.py | ameya98/pr2roc | ab19d7552e2e9ae32ca00a1be4a17b29a3f915fa | [
"MIT"
] | null | null | null | pr2roc/__init__.py | ameya98/pr2roc | ab19d7552e2e9ae32ca00a1be4a17b29a3f915fa | [
"MIT"
] | null | null | null | from .curve import Curve
from .pr_curve import PRCurve
from .roc_curve import ROCCurve
| 21.75 | 31 | 0.827586 | 14 | 87 | 5 | 0.5 | 0.471429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 87 | 3 | 32 | 29 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a76686e764556c5635c67b7a43db744163a92772 | 79 | py | Python | limix_tool/dist/__init__.py | Horta/limix-tool | 4b36eb9ad1d7f5813a189d8619fbb028164a0a54 | [
"MIT"
] | null | null | null | limix_tool/dist/__init__.py | Horta/limix-tool | 4b36eb9ad1d7f5813a189d8619fbb028164a0a54 | [
"MIT"
] | 1 | 2016-11-03T14:59:33.000Z | 2016-11-03T14:59:33.000Z | limix_tool/dist/__init__.py | Horta/limix-tool | 4b36eb9ad1d7f5813a189d8619fbb028164a0a54 | [
"MIT"
] | null | null | null | from __future__ import absolute_import as _absolute_import
from . import norm
| 19.75 | 58 | 0.848101 | 11 | 79 | 5.454545 | 0.545455 | 0.466667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.139241 | 79 | 3 | 59 | 26.333333 | 0.882353 | 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 |
a78f90e2cd28c1836c5793527b804c4b78913487 | 64 | py | Python | mgxsim/__init__.py | patrickwest/mgx-sim | f1457540dedf72076478f1af8765bb4d1ab197e9 | [
"BSD-3-Clause"
] | null | null | null | mgxsim/__init__.py | patrickwest/mgx-sim | f1457540dedf72076478f1af8765bb4d1ab197e9 | [
"BSD-3-Clause"
] | null | null | null | mgxsim/__init__.py | patrickwest/mgx-sim | f1457540dedf72076478f1af8765bb4d1ab197e9 | [
"BSD-3-Clause"
] | null | null | null | from .genome import Genome
from .genome_index import GenomeIndex | 32 | 37 | 0.859375 | 9 | 64 | 6 | 0.555556 | 0.37037 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.109375 | 64 | 2 | 37 | 32 | 0.947368 | 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 |
a796e221aac177aacc85959dfeded0cdc2c98604 | 193 | py | Python | tests/utils/test_io.py | igrek51/glue | 6726ba977a21e58b354a5c97f68639f84184be7a | [
"MIT"
] | 6 | 2020-06-24T20:03:06.000Z | 2021-09-21T10:05:17.000Z | tests/utils/test_io.py | igrek51/cliglue | 6726ba977a21e58b354a5c97f68639f84184be7a | [
"MIT"
] | 2 | 2021-09-19T15:28:02.000Z | 2021-09-21T17:29:38.000Z | tests/utils/test_io.py | igrek51/cliglue | 6726ba977a21e58b354a5c97f68639f84184be7a | [
"MIT"
] | 2 | 2020-06-24T21:21:35.000Z | 2021-08-01T17:24:38.000Z | import sys
from nuclear.utils.input import input_required
def test_input_required():
sys.stdin = open('tests/utils/res/inputRequired')
assert input_required('required: ') == 'valid'
| 21.444444 | 53 | 0.740933 | 25 | 193 | 5.56 | 0.64 | 0.280576 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.139896 | 193 | 8 | 54 | 24.125 | 0.837349 | 0 | 0 | 0 | 0 | 0 | 0.227979 | 0.150259 | 0 | 0 | 0 | 0 | 0.2 | 1 | 0.2 | true | 0 | 0.4 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a799cbe372da6f711a94f98bef5d06a774734308 | 134 | py | Python | indset/io/__init__.py | skyman/independent-set | e2b6a2dc231aba5d9391f305d61d556b928e4d3e | [
"MIT"
] | null | null | null | indset/io/__init__.py | skyman/independent-set | e2b6a2dc231aba5d9391f305d61d556b928e4d3e | [
"MIT"
] | null | null | null | indset/io/__init__.py | skyman/independent-set | e2b6a2dc231aba5d9391f305d61d556b928e4d3e | [
"MIT"
] | null | null | null | # coding=utf-8
from gridtxt import alignment_simulator_grid_loader, alignment_simulator_grid_saver
from save_metrics import MetricsIO
| 33.5 | 83 | 0.88806 | 19 | 134 | 5.894737 | 0.736842 | 0.321429 | 0.392857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00813 | 0.08209 | 134 | 3 | 84 | 44.666667 | 0.902439 | 0.089552 | 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 |
a7cc56df37f3a927c3aaa21af6d357d97127aad2 | 125 | py | Python | gimp_be/image/__init__.py | J216/gimp_be | 02cc0e9627bee491cf1e6d5102ce0a3f07f1043e | [
"MIT"
] | 3 | 2017-02-05T08:12:19.000Z | 2019-08-02T14:31:56.000Z | gimp_be/image/__init__.py | J216/gimp_be | 02cc0e9627bee491cf1e6d5102ce0a3f07f1043e | [
"MIT"
] | 1 | 2017-01-11T05:54:51.000Z | 2019-01-08T03:48:57.000Z | gimp_be/image/__init__.py | J216/gimp_be | 02cc0e9627bee491cf1e6d5102ce0a3f07f1043e | [
"MIT"
] | null | null | null | from image import *
from save import *
from layer import *
from signature import *
from resource import *
from exif import *
| 17.857143 | 23 | 0.76 | 18 | 125 | 5.277778 | 0.444444 | 0.526316 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.192 | 125 | 6 | 24 | 20.833333 | 0.940594 | 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 |
ac63f4ea4ed51dfd0856c3af0efb2c31b384edea | 188 | py | Python | src/apps/trainings/admin/__init__.py | sanderland/katago-server | 6414fab080d007c05068a06ff4f25907b92848bd | [
"MIT"
] | 27 | 2020-05-03T11:01:27.000Z | 2022-03-17T05:33:10.000Z | src/apps/trainings/admin/__init__.py | sanderland/katago-server | 6414fab080d007c05068a06ff4f25907b92848bd | [
"MIT"
] | 54 | 2020-05-09T01:18:41.000Z | 2022-01-22T10:31:15.000Z | src/apps/trainings/admin/__init__.py | sanderland/katago-server | 6414fab080d007c05068a06ff4f25907b92848bd | [
"MIT"
] | 9 | 2020-09-29T11:31:32.000Z | 2022-03-09T01:37:50.000Z | from django.contrib import admin
from src.apps.trainings.admin.network_admin import NetworkAdmin
from src.apps.trainings.models import Network
admin.site.register(Network, NetworkAdmin)
| 26.857143 | 63 | 0.845745 | 26 | 188 | 6.076923 | 0.5 | 0.088608 | 0.139241 | 0.253165 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085106 | 188 | 6 | 64 | 31.333333 | 0.918605 | 0 | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ac6a67aa84d401fc8c8a40b521e0ca587df6bf3d | 129 | py | Python | src/auth/models.py | Midburn/midburn-profiles-django | e124a617986931baed0b17f5d7a1ba6c7d5528e9 | [
"MIT"
] | null | null | null | src/auth/models.py | Midburn/midburn-profiles-django | e124a617986931baed0b17f5d7a1ba6c7d5528e9 | [
"MIT"
] | 20 | 2019-10-05T13:23:47.000Z | 2022-03-11T23:37:37.000Z | src/auth/models.py | Midburn/midburn-profiles-django | e124a617986931baed0b17f5d7a1ba6c7d5528e9 | [
"MIT"
] | 1 | 2019-09-30T11:40:45.000Z | 2019-09-30T11:40:45.000Z | # Create your models here.
from .auth_models import BurnerUser
from .auth_models.identifying_document import IdentifyingDocument
| 32.25 | 65 | 0.860465 | 16 | 129 | 6.75 | 0.6875 | 0.148148 | 0.259259 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.100775 | 129 | 3 | 66 | 43 | 0.931034 | 0.186047 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ac78b9964fb8ac505304c914a1b1bb03d8c58992 | 102 | py | Python | office365/sharepoint/search/simpleDataTable.py | wreiner/Office365-REST-Python-Client | 476bbce4f5928a140b4f5d33475d0ac9b0783530 | [
"MIT"
] | 544 | 2016-08-04T17:10:16.000Z | 2022-03-31T07:17:20.000Z | office365/sharepoint/search/simpleDataTable.py | wreiner/Office365-REST-Python-Client | 476bbce4f5928a140b4f5d33475d0ac9b0783530 | [
"MIT"
] | 438 | 2016-10-11T12:24:22.000Z | 2022-03-31T19:30:35.000Z | office365/sharepoint/search/simpleDataTable.py | wreiner/Office365-REST-Python-Client | 476bbce4f5928a140b4f5d33475d0ac9b0783530 | [
"MIT"
] | 202 | 2016-08-22T19:29:40.000Z | 2022-03-30T20:26:15.000Z | from office365.runtime.client_value import ClientValue
class SimpleDataTable(ClientValue):
pass
| 17 | 54 | 0.823529 | 11 | 102 | 7.545455 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033708 | 0.127451 | 102 | 5 | 55 | 20.4 | 0.898876 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
3babba673c6c87052fd77dbe0bbd22ffa14b5c14 | 168 | py | Python | containr.py | Albert5544/frontend | dab95f2a6ba95e8521c0e439da0081d2edf69cf9 | [
"MIT"
] | null | null | null | containr.py | Albert5544/frontend | dab95f2a6ba95e8521c0e439da0081d2edf69cf9 | [
"MIT"
] | 2 | 2021-02-02T22:48:24.000Z | 2021-06-02T02:04:53.000Z | containr.py | Albert5544/frontend | dab95f2a6ba95e8521c0e439da0081d2edf69cf9 | [
"MIT"
] | null | null | null | from app import app
from app.models import User, Dataset
@app.shell_context_processor
def make_shell_context():
return {'db': db, 'User': User, 'Dataset': Dataset} | 28 | 55 | 0.744048 | 25 | 168 | 4.84 | 0.52 | 0.115702 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136905 | 168 | 6 | 55 | 28 | 0.834483 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.4 | 0.2 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
3bb0cdd4feab271ed6bec8fc365425358672d08e | 21 | py | Python | mmn/modeling/mmn/__init__.py | MCG-NJU/MMN | 64641d12d4e1197b7378b3f786916b4cfd1a5080 | [
"MIT"
] | 48 | 2021-12-16T08:42:46.000Z | 2022-03-11T08:28:56.000Z | mmn/modeling/mmn/__init__.py | MCG-NJU/MMN | 64641d12d4e1197b7378b3f786916b4cfd1a5080 | [
"MIT"
] | 4 | 2021-12-17T07:15:51.000Z | 2022-02-21T12:28:32.000Z | mmn/modeling/mmn/__init__.py | MCG-NJU/MMN | 64641d12d4e1197b7378b3f786916b4cfd1a5080 | [
"MIT"
] | 5 | 2021-12-16T08:48:52.000Z | 2022-03-16T08:57:34.000Z | from .mmn import MMN
| 10.5 | 20 | 0.761905 | 4 | 21 | 4 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 21 | 1 | 21 | 21 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3bced2f2d82710d5e7e67fec776258d980272e56 | 109 | py | Python | src/tap_apple_search_ads/api/auth/cache/utils.py | mighty-digital/tap-apple-search-ads | de7de13509c06e4ce4ef89884b23a9b9d7182d56 | [
"MIT"
] | 1 | 2022-01-18T15:04:40.000Z | 2022-01-18T15:04:40.000Z | src/tap_apple_search_ads/api/auth/cache/utils.py | mighty-digital/tap-apple-search-ads | de7de13509c06e4ce4ef89884b23a9b9d7182d56 | [
"MIT"
] | null | null | null | src/tap_apple_search_ads/api/auth/cache/utils.py | mighty-digital/tap-apple-search-ads | de7de13509c06e4ce4ef89884b23a9b9d7182d56 | [
"MIT"
] | null | null | null | import datetime
def now() -> float:
return datetime.datetime.now(tz=datetime.timezone.utc).timestamp()
| 18.166667 | 70 | 0.733945 | 14 | 109 | 5.714286 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12844 | 109 | 5 | 71 | 21.8 | 0.842105 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 6 |
3bd1899d5fcf684eecf9c0a19d6a4c80a2612351 | 23 | py | Python | util/__init__.py | IRIS-Team/tchecker | 7f0b3218f8914ac3d96eadc8a7db1c2d23016503 | [
"MIT"
] | 17 | 2021-09-05T11:35:03.000Z | 2022-03-23T19:06:54.000Z | util/__init__.py | IRIS-Team/tchecker | 7f0b3218f8914ac3d96eadc8a7db1c2d23016503 | [
"MIT"
] | 2 | 2021-09-04T11:06:02.000Z | 2021-09-06T06:40:08.000Z | util/__init__.py | IRIS-Team/tchecker | 7f0b3218f8914ac3d96eadc8a7db1c2d23016503 | [
"MIT"
] | 5 | 2021-09-04T13:13:59.000Z | 2022-02-19T00:22:56.000Z | from util.core import * | 23 | 23 | 0.782609 | 4 | 23 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 23 | 1 | 23 | 23 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3bf756a3c1629a3c445635cf24f00539b35d567f | 24 | py | Python | source/model/__init__.py | tailerr/QANet-pytorch | 23bfb9059894aeec9ed82dbd775b07de3269a314 | [
"MIT"
] | 1 | 2019-09-04T15:04:28.000Z | 2019-09-04T15:04:28.000Z | source/model/__init__.py | tailerr/QANet-pytorch | 23bfb9059894aeec9ed82dbd775b07de3269a314 | [
"MIT"
] | null | null | null | source/model/__init__.py | tailerr/QANet-pytorch | 23bfb9059894aeec9ed82dbd775b07de3269a314 | [
"MIT"
] | null | null | null | from .model import QANet | 24 | 24 | 0.833333 | 4 | 24 | 5 | 1 | 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 |
cbf89dff44df117689d1d42fbef96c32e224f925 | 3,722 | py | Python | src/pybind/tests/test_io_util.py | yaguanghu/kaldi | 522b8dd0b29ef293ee56e7e5da338351e960a4e7 | [
"Apache-2.0"
] | null | null | null | src/pybind/tests/test_io_util.py | yaguanghu/kaldi | 522b8dd0b29ef293ee56e7e5da338351e960a4e7 | [
"Apache-2.0"
] | null | null | null | src/pybind/tests/test_io_util.py | yaguanghu/kaldi | 522b8dd0b29ef293ee56e7e5da338351e960a4e7 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python3
# Copyright 2020 Mobvoi AI Lab, Beijing, China (author: Fangjun Kuang)
# Apache 2.0
import unittest
import os
import sys
sys.path.insert(0, os.path.join(os.path.dirname(__file__), os.pardir))
import shutil
from tempfile import mkdtemp
import numpy as np
import kaldi
class TestIOUtil(unit... | 28.412214 | 78 | 0.494895 | 412 | 3,722 | 4.400485 | 0.25 | 0.044677 | 0.052951 | 0.049641 | 0.779923 | 0.751241 | 0.733039 | 0.733039 | 0.733039 | 0.672366 | 0 | 0.032982 | 0.389038 | 3,722 | 130 | 79 | 28.630769 | 0.764292 | 0.027136 | 0 | 0.705263 | 0 | 0 | 0.080431 | 0.061913 | 0 | 0 | 0 | 0 | 0.063158 | 1 | 0.031579 | false | 0 | 0.073684 | 0 | 0.115789 | 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 |
0255268542814fb9d84087adeee30eac525aad01 | 108 | py | Python | src/blender/blender_autocomplete-master/2.92/gpu/__init__.py | JonasWard/ClayAdventures | a716445ac690e4792e70658319aa1d5299f9c9e9 | [
"MIT"
] | 1 | 2020-03-25T10:55:10.000Z | 2020-03-25T10:55:10.000Z | src/blender/blender_autocomplete-master/2.92/gpu/__init__.py | JonasWard/ClayAdventures | a716445ac690e4792e70658319aa1d5299f9c9e9 | [
"MIT"
] | null | null | null | src/blender/blender_autocomplete-master/2.92/gpu/__init__.py | JonasWard/ClayAdventures | a716445ac690e4792e70658319aa1d5299f9c9e9 | [
"MIT"
] | null | null | null | import sys
import typing
from . import matrix
from . import select
from . import types
from . import shader
| 15.428571 | 20 | 0.777778 | 16 | 108 | 5.25 | 0.5 | 0.47619 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.185185 | 108 | 6 | 21 | 18 | 0.954545 | 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 |
5a51a212597151e2e10d180c8742335c8e7b2e25 | 392 | py | Python | Configuration/Eras/python/Era_Phase2_timing_layer_bar_cff.py | NTrevisani/cmssw | a212a27526f34eb9507cf8b875c93896e6544781 | [
"Apache-2.0"
] | 3 | 2018-08-24T19:10:26.000Z | 2019-02-19T11:45:32.000Z | Configuration/Eras/python/Era_Phase2_timing_layer_bar_cff.py | NTrevisani/cmssw | a212a27526f34eb9507cf8b875c93896e6544781 | [
"Apache-2.0"
] | 7 | 2016-07-17T02:34:54.000Z | 2019-08-13T07:58:37.000Z | Configuration/Eras/python/Era_Phase2_timing_layer_bar_cff.py | NTrevisani/cmssw | a212a27526f34eb9507cf8b875c93896e6544781 | [
"Apache-2.0"
] | 5 | 2018-08-21T16:37:52.000Z | 2020-01-09T13:33:17.000Z | import FWCore.ParameterSet.Config as cms
from Configuration.Eras.Era_Phase2_timing_cff import Phase2_timing
from Configuration.Eras.Modifier_phase2_timing_layer_cff import phase2_timing_layer
from Configuration.Eras.Modifier_phase2_timing_layer_bar_cff import phase2_timing_layer_bar
Phase2_timing_layer_bar = cms.Modi... | 43.555556 | 104 | 0.903061 | 57 | 392 | 5.736842 | 0.298246 | 0.366972 | 0.363914 | 0.244648 | 0.440367 | 0.281346 | 0.281346 | 0 | 0 | 0 | 0 | 0.027174 | 0.061224 | 392 | 8 | 105 | 49 | 0.861413 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.8 | 0 | 0.8 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5a64de55c70541277ef7098ff53fbe8efdf73ce7 | 28,059 | py | Python | centrality.py | Jupaoqq/TwitterPred | b0a486dde0b8622b8c834d41885bc7a35f096f49 | [
"MIT"
] | 1 | 2022-02-03T10:57:24.000Z | 2022-02-03T10:57:24.000Z | centrality.py | Jupaoqq/TwitterPred | b0a486dde0b8622b8c834d41885bc7a35f096f49 | [
"MIT"
] | null | null | null | centrality.py | Jupaoqq/TwitterPred | b0a486dde0b8622b8c834d41885bc7a35f096f49 | [
"MIT"
] | null | null | null | import string
import networkx as nx
import pandas as pd
import sys
import spacy
import textacy.vsm
from textacy.vsm import Vectorizer
import time
import os
import re
import csv
import unicodedata
import numpy as np
from io import StringIO
from datetime import datetime
from random import uniform
# Happy Emoticons
emot... | 34.942715 | 185 | 0.620443 | 3,916 | 28,059 | 4.170838 | 0.075843 | 0.061838 | 0.042001 | 0.060001 | 0.819813 | 0.804567 | 0.801567 | 0.790669 | 0.778057 | 0.771261 | 0 | 0.010609 | 0.220607 | 28,059 | 803 | 186 | 34.942715 | 0.736248 | 0.131651 | 0 | 0.675725 | 0 | 0 | 0.184252 | 0.065996 | 0 | 0 | 0 | 0 | 0 | 1 | 0.005435 | false | 0.01087 | 0.028986 | 0 | 0.036232 | 0.041667 | 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 |
cede8ca123aeee28a8eda308b7ab0a1cc67d6e7a | 454 | py | Python | othello/stone.py | tetsuyan153/Othello_Python | 2a5d803d217f1e5df20d5d66128fd15f3f19a405 | [
"Apache-2.0"
] | null | null | null | othello/stone.py | tetsuyan153/Othello_Python | 2a5d803d217f1e5df20d5d66128fd15f3f19a405 | [
"Apache-2.0"
] | null | null | null | othello/stone.py | tetsuyan153/Othello_Python | 2a5d803d217f1e5df20d5d66128fd15f3f19a405 | [
"Apache-2.0"
] | null | null | null | from enum import Enum
class Color(Enum):
WHITE = "White"
BLACK = "Black"
class Stone:
def __init__(self, c):
self._color = c
@property
def color(self):
return self._color
def reverse(self):
if self._color == Color.BLACK:
self._color =... | 18.16 | 39 | 0.528634 | 51 | 454 | 4.431373 | 0.372549 | 0.238938 | 0.185841 | 0.168142 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.381057 | 454 | 24 | 40 | 18.916667 | 0.80427 | 0 | 0 | 0 | 0 | 0 | 0.02331 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.235294 | false | 0 | 0.058824 | 0.117647 | 0.647059 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
0c6a3b79c14879680da0d89883df62c87db7b6e2 | 860 | py | Python | notebook/pillow_image_resize_all.py | puyopop/python-snippets | 9d70aa3b2a867dd22f5a5e6178a5c0c5081add73 | [
"MIT"
] | 1 | 2020-07-18T17:58:43.000Z | 2020-07-18T17:58:43.000Z | notebook/pillow_image_resize_all.py | puyopop/python-snippets | 9d70aa3b2a867dd22f5a5e6178a5c0c5081add73 | [
"MIT"
] | null | null | null | notebook/pillow_image_resize_all.py | puyopop/python-snippets | 9d70aa3b2a867dd22f5a5e6178a5c0c5081add73 | [
"MIT"
] | null | null | null | import os
import glob
from PIL import Image
files = glob.glob('./data/temp/images/*.jpg')
for f in files:
img = Image.open(f)
img_resize = img.resize((int(img.width / 2), int(img.height / 2)))
title, ext = os.path.splitext(f)
img_resize.save(title + '_half' + ext)
files = glob.glob('./data/temp/image... | 26.875 | 74 | 0.593023 | 134 | 860 | 3.738806 | 0.261194 | 0.161677 | 0.0998 | 0.101796 | 0.828343 | 0.828343 | 0.728543 | 0.728543 | 0.728543 | 0.728543 | 0 | 0.009119 | 0.234884 | 860 | 31 | 75 | 27.741935 | 0.75228 | 0 | 0 | 0.68 | 0 | 0 | 0.101163 | 0.027907 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.04 | 0.12 | 0 | 0.12 | 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 |
0c880440b56060fbe1bb5a8df651f1d59aed2062 | 159 | py | Python | fable/long.py | dbrattli/fable-library | 5b344c5a8446ce2782931231b2334984610c593e | [
"MIT"
] | 2 | 2021-01-18T20:54:16.000Z | 2021-01-18T22:06:50.000Z | fable/long.py | dbrattli/fablelib | 5b344c5a8446ce2782931231b2334984610c593e | [
"MIT"
] | null | null | null | fable/long.py | dbrattli/fablelib | 5b344c5a8446ce2782931231b2334984610c593e | [
"MIT"
] | null | null | null | def fromBits(lowBits: int, highBits: int, unsigned: bool):
return lowBits + (highBits << 32)
def op_LeftShift(self, numBits):
return self << numBits
| 22.714286 | 58 | 0.691824 | 20 | 159 | 5.45 | 0.65 | 0.201835 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015504 | 0.188679 | 159 | 6 | 59 | 26.5 | 0.829457 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
0cf83889190e5fc002fa409f3e86ec829a8fe0d9 | 2,911 | py | Python | laia/utils/checks.py | basbeu/PyLaia | d14458484b56622204b1730a7d53220c5d0f1bc1 | [
"MIT"
] | 2 | 2020-09-10T13:31:17.000Z | 2021-07-31T09:44:17.000Z | laia/utils/checks.py | basbeu/PyLaia | d14458484b56622204b1730a7d53220c5d0f1bc1 | [
"MIT"
] | 1 | 2020-12-06T18:11:52.000Z | 2020-12-06T18:19:38.000Z | laia/utils/checks.py | basbeu/PyLaia | d14458484b56622204b1730a7d53220c5d0f1bc1 | [
"MIT"
] | 2 | 2020-04-20T13:40:56.000Z | 2020-10-17T11:59:55.000Z | from __future__ import absolute_import
from __future__ import division
import torch
import laia.common.logging as log
_TENSOR_REAL = (torch.float, torch.double, torch.half)
def check_inf(tensor, msg=None, name=None, raise_exception=False, **kwargs):
r"""Check whether a tensor contains a +/- infinite value.
... | 37.320513 | 77 | 0.616627 | 383 | 2,911 | 4.558747 | 0.229765 | 0.04811 | 0.041237 | 0.019473 | 0.805269 | 0.766323 | 0.766323 | 0.766323 | 0.766323 | 0.766323 | 0 | 0.001943 | 0.292683 | 2,911 | 77 | 78 | 37.805195 | 0.846042 | 0.42597 | 0 | 0.487805 | 0 | 0 | 0.038511 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.04878 | false | 0 | 0.097561 | 0 | 0.243902 | 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 |
0b317463154a6f253d4f8001fb39790bd3647064 | 112 | py | Python | goscripts/__init__.py | pmoris/go-tools | 1c7fffeefa4abf4a2188fc1c72aaede59e610723 | [
"MIT"
] | 3 | 2020-07-16T22:41:35.000Z | 2022-01-27T20:23:47.000Z | goscripts/__init__.py | pmoris/go-tools | 1c7fffeefa4abf4a2188fc1c72aaede59e610723 | [
"MIT"
] | null | null | null | goscripts/__init__.py | pmoris/go-tools | 1c7fffeefa4abf4a2188fc1c72aaede59e610723 | [
"MIT"
] | 3 | 2019-02-14T13:38:25.000Z | 2020-07-16T23:50:04.000Z | from . import enrichment_stats
from . import gaf_parser
from . import genelist_importer
from . import obo_tools
| 22.4 | 31 | 0.821429 | 16 | 112 | 5.5 | 0.625 | 0.454545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 112 | 4 | 32 | 28 | 0.916667 | 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 |
0b32f0ab9984f690199b2f953402b05068e6e8c1 | 42 | py | Python | squawk/data/preprocessing/__init__.py | daemon/squawk | df6443a200f8bfef7d5338d8577fc30eac4f49b9 | [
"MIT"
] | null | null | null | squawk/data/preprocessing/__init__.py | daemon/squawk | df6443a200f8bfef7d5338d8577fc30eac4f49b9 | [
"MIT"
] | null | null | null | squawk/data/preprocessing/__init__.py | daemon/squawk | df6443a200f8bfef7d5338d8577fc30eac4f49b9 | [
"MIT"
] | null | null | null | from .augment import *
from .base import * | 21 | 22 | 0.738095 | 6 | 42 | 5.166667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 42 | 2 | 23 | 21 | 0.885714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e7e59a53c99ef933d72e96aad4caf7daea29ba0b | 133 | py | Python | app/accounts/admin.py | gladunvv/url-shorteners-api | ecb01fc0b825f8972140bc99ac331735432ab966 | [
"MIT"
] | null | null | null | app/accounts/admin.py | gladunvv/url-shorteners-api | ecb01fc0b825f8972140bc99ac331735432ab966 | [
"MIT"
] | 1 | 2020-06-05T20:26:01.000Z | 2020-06-05T20:26:01.000Z | app/accounts/admin.py | gladunvv/app-quiz-django | ecb01fc0b825f8972140bc99ac331735432ab966 | [
"MIT"
] | null | null | null | from django.contrib import admin
from accounts.models import User
@admin.register(User)
class QuizAdmin(admin.ModelAdmin):
pass | 19 | 34 | 0.796992 | 18 | 133 | 5.888889 | 0.722222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12782 | 133 | 7 | 35 | 19 | 0.913793 | 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 |
e7e856b43797be3feaec62183365505d459f10c4 | 48 | py | Python | circle_ci_test_dev/unit_test/screen/screen_test.py | JE-Chen/Python_JEAutoControl | 477bf9612e28e9ab6d0a8e269db2f699e50a3744 | [
"MIT"
] | 9 | 2020-10-12T06:33:36.000Z | 2021-09-13T07:07:36.000Z | circle_ci_test_stable/unit_test/screen/screen_test.py | JE-Chen/Python_JEAutoControl | 477bf9612e28e9ab6d0a8e269db2f699e50a3744 | [
"MIT"
] | null | null | null | circle_ci_test_stable/unit_test/screen/screen_test.py | JE-Chen/Python_JEAutoControl | 477bf9612e28e9ab6d0a8e269db2f699e50a3744 | [
"MIT"
] | null | null | null | from je_auto_control import size
print(size())
| 12 | 32 | 0.791667 | 8 | 48 | 4.5 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 48 | 3 | 33 | 16 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
f00f21062ed07640f45e25656e045fdfc3cdb0ea | 48 | py | Python | luminoth/utils/hooks/__init__.py | PiterPentester/luminoth | da0186515586291fbb9544c98240979480355f7a | [
"BSD-3-Clause"
] | 2 | 2018-01-25T10:05:10.000Z | 2020-05-16T13:01:24.000Z | luminoth/utils/hooks/__init__.py | macressler/luminoth | da0186515586291fbb9544c98240979480355f7a | [
"BSD-3-Clause"
] | null | null | null | luminoth/utils/hooks/__init__.py | macressler/luminoth | da0186515586291fbb9544c98240979480355f7a | [
"BSD-3-Clause"
] | null | null | null | from .image_vis_hook import ImageVisHook # noqa | 48 | 48 | 0.833333 | 7 | 48 | 5.428571 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 48 | 1 | 48 | 48 | 0.904762 | 0.083333 | 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 |
f033c648c4fbc044e886a6be4d140ca0d3a738ce | 39 | py | Python | hello_universe/start.py | jayanthvarma134/hello-universe | ab5453731471c172f41ce63c99487cb05faab998 | [
"MIT"
] | null | null | null | hello_universe/start.py | jayanthvarma134/hello-universe | ab5453731471c172f41ce63c99487cb05faab998 | [
"MIT"
] | null | null | null | hello_universe/start.py | jayanthvarma134/hello-universe | ab5453731471c172f41ce63c99487cb05faab998 | [
"MIT"
] | null | null | null | def call():
print("Hello Universe") | 19.5 | 27 | 0.641026 | 5 | 39 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.179487 | 39 | 2 | 27 | 19.5 | 0.78125 | 0 | 0 | 0 | 0 | 0 | 0.35 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
f07a09551a6125d8ce1715cffeff80e1757afb36 | 262 | py | Python | cogs/utils/db.py | j-nguyen/FractalBot | 03e562cf1a697a4b3106f8565083b85c7c5ed76b | [
"Apache-2.0"
] | 8 | 2016-11-06T04:24:39.000Z | 2021-07-18T11:32:05.000Z | cogs/utils/db.py | j-nguyen/FractalBot | 03e562cf1a697a4b3106f8565083b85c7c5ed76b | [
"Apache-2.0"
] | 44 | 2016-10-11T14:18:27.000Z | 2017-06-03T05:26:52.000Z | cogs/utils/db.py | j-nguyen/FractalBot | 03e562cf1a697a4b3106f8565083b85c7c5ed76b | [
"Apache-2.0"
] | 1 | 2021-07-18T13:59:07.000Z | 2021-07-18T13:59:07.000Z | from sqlalchemy import create_engine
import json
# TODO: Fix usage of global
engine = None
def loadDB(user, password, hostname, dbname):
global engine
engine = create_engine('postgresql+psycopg2://{}:{}@{}/{}'.format(user, password, hostname, dbname))
| 26.2 | 104 | 0.721374 | 32 | 262 | 5.84375 | 0.65625 | 0.128342 | 0.213904 | 0.278075 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004464 | 0.145038 | 262 | 9 | 105 | 29.111111 | 0.830357 | 0.09542 | 0 | 0 | 0 | 0 | 0.140426 | 0.140426 | 0 | 0 | 0 | 0.111111 | 0 | 1 | 0.166667 | false | 0.333333 | 0.333333 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 6 |
b2cd34dea5bb75ab33de8e9ec6bd852d9f9c244c | 74 | py | Python | build/lib/AqOrg/__init__.py | worm-portal/AqOrg | 48f10fb7a05c03e0ed3815eed8dc9ea82fcd150b | [
"MIT"
] | null | null | null | build/lib/AqOrg/__init__.py | worm-portal/AqOrg | 48f10fb7a05c03e0ed3815eed8dc9ea82fcd150b | [
"MIT"
] | null | null | null | build/lib/AqOrg/__init__.py | worm-portal/AqOrg | 48f10fb7a05c03e0ed3815eed8dc9ea82fcd150b | [
"MIT"
] | null | null | null | from .AqOrg import Estimate, find_sigfigs, find_HKF, find_HKF_test, Joback | 74 | 74 | 0.837838 | 12 | 74 | 4.833333 | 0.75 | 0.241379 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.094595 | 74 | 1 | 74 | 74 | 0.865672 | 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 |
650097963aed35be00531eddd17d11ec5020624b | 42 | py | Python | cloudbutton_geospatial/datafetch_utils/__init__.py | berkevaroll/geospatial-usecase | d3db18607be0976badde073b3ee7c8b9613372e1 | [
"Apache-2.0"
] | null | null | null | cloudbutton_geospatial/datafetch_utils/__init__.py | berkevaroll/geospatial-usecase | d3db18607be0976badde073b3ee7c8b9613372e1 | [
"Apache-2.0"
] | null | null | null | cloudbutton_geospatial/datafetch_utils/__init__.py | berkevaroll/geospatial-usecase | d3db18607be0976badde073b3ee7c8b9613372e1 | [
"Apache-2.0"
] | 4 | 2021-03-29T09:03:52.000Z | 2021-09-21T18:27:01.000Z | """
AUTHOR: Juanjo
DATE: 12/02/2019
""" | 6 | 16 | 0.571429 | 6 | 42 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.235294 | 0.190476 | 42 | 7 | 17 | 6 | 0.470588 | 0.761905 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
652458aa0c4a4066c3c833664f2ff7d9592eed17 | 99 | py | Python | psyspy/exceptions/__init__.py | stantontcady/psyspy | 72bc0aaacea4191899a971ef46314f09d97b269f | [
"MIT"
] | 1 | 2016-06-02T16:58:36.000Z | 2016-06-02T16:58:36.000Z | psyspy/exceptions/__init__.py | stantontcady/psyspy | 72bc0aaacea4191899a971ef46314f09d97b269f | [
"MIT"
] | null | null | null | psyspy/exceptions/__init__.py | stantontcady/psyspy | 72bc0aaacea4191899a971ef46314f09d97b269f | [
"MIT"
] | null | null | null | from exceptions import BusError, GeneratorModelError, ModelError, PowerLineError, PowerNetworkError | 99 | 99 | 0.888889 | 8 | 99 | 11 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.070707 | 99 | 1 | 99 | 99 | 0.956522 | 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 |
e8e226efd2d119c273b7379625bd0493036bcf17 | 20 | py | Python | pyNiDAQ/__init__.py | gregmoille/InstrumentControl | 4cc8477e36f7c4ad4bf4f54036fdd8dd985b4133 | [
"MIT"
] | 3 | 2018-05-02T20:14:15.000Z | 2020-10-18T03:57:09.000Z | pyNiDAQ/__init__.py | gregmoille/InstrumentControl | 4cc8477e36f7c4ad4bf4f54036fdd8dd985b4133 | [
"MIT"
] | 1 | 2019-05-23T15:21:08.000Z | 2019-05-23T15:21:08.000Z | pyNiDAQ/__init__.py | gregmoille/InstrumentControl | 4cc8477e36f7c4ad4bf4f54036fdd8dd985b4133 | [
"MIT"
] | 2 | 2019-05-16T20:36:25.000Z | 2020-09-22T18:26:49.000Z | from .daq import DAQ | 20 | 20 | 0.8 | 4 | 20 | 4 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 20 | 1 | 20 | 20 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e8e3e795ae581be9cc7062ad7a07011a338e924f | 24 | py | Python | pyvoqc/__init__.py | akshajgaur/pyvoqc | 6352d64542be5fed72e7cae941d4a2a7db012a4f | [
"MIT"
] | 1 | 2021-11-17T10:50:50.000Z | 2021-11-17T10:50:50.000Z | pyvoqc/__init__.py | akshajgaur/pyvoqc | 6352d64542be5fed72e7cae941d4a2a7db012a4f | [
"MIT"
] | 5 | 2021-03-14T20:13:25.000Z | 2021-04-10T01:15:05.000Z | pyvoqc/__init__.py | akshajgaur/pyvoqc | 6352d64542be5fed72e7cae941d4a2a7db012a4f | [
"MIT"
] | 2 | 2021-03-13T16:16:34.000Z | 2022-01-27T19:28:15.000Z | from .voqc import VOQC
| 8 | 22 | 0.75 | 4 | 24 | 4.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.208333 | 24 | 2 | 23 | 12 | 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 |
e8e5d4085f2c1b231a4eae9c96027de4e23bc1f2 | 2,847 | py | Python | functional_tests/translate/test_papago.py | Rested/multi-translate | 565ef2ac7e8b5f94595cecc78b4076a3bc9be45e | [
"MIT"
] | 1 | 2021-08-22T14:43:11.000Z | 2021-08-22T14:43:11.000Z | functional_tests/translate/test_papago.py | Rested/multi-translate | 565ef2ac7e8b5f94595cecc78b4076a3bc9be45e | [
"MIT"
] | null | null | null | functional_tests/translate/test_papago.py | Rested/multi-translate | 565ef2ac7e8b5f94595cecc78b4076a3bc9be45e | [
"MIT"
] | null | null | null | import httpx
from functional_tests.translate.test_translate import translate_url
def test_translate_papago_basic():
request_data = {
"from_language": "en",
"to_language": "ko",
"source_text": "hello",
"preferred_engine": "papago",
"with_alignment": False,
}
resp = ... | 27.640777 | 94 | 0.588339 | 299 | 2,847 | 5.304348 | 0.207358 | 0.069357 | 0.075662 | 0.070618 | 0.781211 | 0.781211 | 0.762295 | 0.755359 | 0.755359 | 0.676545 | 0 | 0.009634 | 0.270811 | 2,847 | 102 | 95 | 27.911765 | 0.754335 | 0 | 0 | 0.736264 | 0 | 0 | 0.300667 | 0.029505 | 0 | 0 | 0 | 0 | 0.10989 | 1 | 0.054945 | false | 0 | 0.021978 | 0 | 0.076923 | 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 |
68b3f28a085461bf2ba636e11202a00ad24d3a5e | 103 | py | Python | sandbox/hello.py | jleihe/pythonTP | 7f4495e7514983a29adf1f333178908653cd4de1 | [
"MIT"
] | 1 | 2015-01-06T11:48:42.000Z | 2015-01-06T11:48:42.000Z | sandbox/hello.py | jleihe/pythonTP | 7f4495e7514983a29adf1f333178908653cd4de1 | [
"MIT"
] | null | null | null | sandbox/hello.py | jleihe/pythonTP | 7f4495e7514983a29adf1f333178908653cd4de1 | [
"MIT"
] | null | null | null | # Author: Joshua Leihe
#
# Notes: Short helloworld program
# Print hello world!
print("hello world!")
| 14.714286 | 33 | 0.718447 | 13 | 103 | 5.692308 | 0.769231 | 0.27027 | 0.405405 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.165049 | 103 | 6 | 34 | 17.166667 | 0.860465 | 0.68932 | 0 | 0 | 0 | 0 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 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 | 0 | 0 | 0 | 1 | 0 | 6 |
d7f4a9696d561370e2067e38e75cf4c55d464fff | 202 | py | Python | simulation_camera/lg_write_new.py | kolbt/whingdingdilly | 4c17b594ebc583750fe7565d6414f08678ea7882 | [
"BSD-3-Clause"
] | 4 | 2017-09-04T14:36:57.000Z | 2022-03-28T23:24:58.000Z | simulation_camera/lg_write_new.py | kolbt/whingdingdilly | 4c17b594ebc583750fe7565d6414f08678ea7882 | [
"BSD-3-Clause"
] | null | null | null | simulation_camera/lg_write_new.py | kolbt/whingdingdilly | 4c17b594ebc583750fe7565d6414f08678ea7882 | [
"BSD-3-Clause"
] | null | null | null | import sys
from PIL import Image
composite = str(sys.argv[1])
img = Image.new("RGBA",(28800,19800),(255, 255, 255, 255))
#img = Image.new("RGBA",(37800,1800),(255, 255, 255, 255))
img.save(composite)
| 22.444444 | 58 | 0.673267 | 34 | 202 | 4 | 0.529412 | 0.264706 | 0.264706 | 0.220588 | 0.220588 | 0 | 0 | 0 | 0 | 0 | 0 | 0.247191 | 0.118812 | 202 | 8 | 59 | 25.25 | 0.516854 | 0.282178 | 0 | 0 | 0 | 0 | 0.027778 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
04265c401700730a097bb747923de4c4587e7250 | 123 | py | Python | gpcraptor/__init__.py | uibcdf/GPCRaptor | 8cb28793f5bfe01fb42656edf72f925c2f6fdf59 | [
"MIT"
] | 2 | 2018-08-07T17:05:51.000Z | 2018-08-09T16:37:17.000Z | gpcraptor/__init__.py | uibcdf/GPCRaptor | 8cb28793f5bfe01fb42656edf72f925c2f6fdf59 | [
"MIT"
] | 2 | 2018-08-09T18:58:21.000Z | 2018-08-14T16:18:22.000Z | gpcraptor/__init__.py | uibcdf/GPCRaptor | 8cb28793f5bfe01fb42656edf72f925c2f6fdf59 | [
"MIT"
] | 2 | 2018-08-07T18:37:35.000Z | 2018-08-09T18:56:43.000Z | from .dining_table import Dining_Table
from .receptors import *
from . import receptor_observables as receptor_observables
| 30.75 | 58 | 0.853659 | 16 | 123 | 6.3125 | 0.5 | 0.217822 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113821 | 123 | 3 | 59 | 41 | 0.926606 | 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 |
043d8faa6145e5a96347f39f715f73b46e7c0c13 | 157 | py | Python | ssc/api.py | StationA/sscpy | bfef056ecb165f463a464848b1830f78fd4e383e | [
"MIT"
] | 3 | 2018-08-22T22:02:50.000Z | 2020-10-16T22:10:28.000Z | ssc/api.py | StationA/sscpy | bfef056ecb165f463a464848b1830f78fd4e383e | [
"MIT"
] | 2 | 2020-10-01T20:25:14.000Z | 2021-11-08T06:06:36.000Z | ssc/api.py | StationA/sscpy | bfef056ecb165f463a464848b1830f78fd4e383e | [
"MIT"
] | null | null | null | from ssc.core import Data, enable_logging, disable_logging, list_modules
from ssc.modules.battwatts import BattWatts
from ssc.modules.pvwatts import PVWatts
| 39.25 | 72 | 0.853503 | 23 | 157 | 5.695652 | 0.521739 | 0.160305 | 0.21374 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095541 | 157 | 3 | 73 | 52.333333 | 0.922535 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
044939f6f2ee2d6008b605704af2f2fb405cbaa8 | 35 | py | Python | utils/__init__.py | danlitovitz/RandWire_tensorflow | 16530dcbf90b47275016db1a4222bedcd41a7859 | [
"MIT"
] | 22 | 2019-04-17T05:41:25.000Z | 2020-04-10T06:46:50.000Z | utils/__init__.py | plemeri/RandWire_tensorflow | 053731d321ad739133d1052a64c00af8efe1265a | [
"MIT"
] | 3 | 2019-04-18T11:05:51.000Z | 2019-09-01T12:08:08.000Z | utils/__init__.py | plemeri/RandWire_tensorflow | 053731d321ad739133d1052a64c00af8efe1265a | [
"MIT"
] | 8 | 2019-04-29T14:02:00.000Z | 2020-05-19T15:23:43.000Z | from utils import graph_generator
| 17.5 | 34 | 0.857143 | 5 | 35 | 5.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 35 | 1 | 35 | 35 | 0.966667 | 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 |
f0ec81a4fcfacf39d14968458a78693f0461f229 | 186,962 | py | Python | image/controllers.py | utsab/WeVoteServer | 0734da7e1dcf8093599d8c03638ed0311c9f988b | [
"MIT"
] | null | null | null | image/controllers.py | utsab/WeVoteServer | 0734da7e1dcf8093599d8c03638ed0311c9f988b | [
"MIT"
] | null | null | null | image/controllers.py | utsab/WeVoteServer | 0734da7e1dcf8093599d8c03638ed0311c9f988b | [
"MIT"
] | null | null | null | # image/controllers.py
# Brought to you by We Vote. Be good.
# -*- coding: UTF-8 -*-
import requests
import wevote_functions.admin
from .functions import analyze_remote_url, analyze_image_file, analyze_image_in_memory
from .models import WeVoteImageManager, WeVoteImage, \
CHOSEN_FAVICON_NAME, CHOSEN_LOGO_NAME, CHO... | 51.790028 | 120 | 0.729405 | 24,364 | 186,962 | 4.963635 | 0.016828 | 0.0706 | 0.076951 | 0.02441 | 0.92252 | 0.893347 | 0.870516 | 0.842311 | 0.808234 | 0.775985 | 0 | 0.001909 | 0.220986 | 186,962 | 3,609 | 121 | 51.804378 | 0.82842 | 0.096742 | 0 | 0.695683 | 0 | 0.000357 | 0.096472 | 0.060239 | 0 | 0 | 0 | 0.001108 | 0 | 1 | 0.011773 | false | 0 | 0.006778 | 0 | 0.043525 | 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 |
f0f1a72ab04097c643f4624d6e466e711504643f | 14,875 | py | Python | neutrino_api/controllers/telephony.py | NeutrinoAPI/NeutrinoAPI-Python | cc00933eefef0f40710f606e9fbf2dfb97a4f063 | [
"MIT"
] | 3 | 2019-01-23T19:34:01.000Z | 2019-12-05T06:21:25.000Z | neutrino_api/controllers/telephony.py | NeutrinoAPI/NeutrinoAPI-Python | cc00933eefef0f40710f606e9fbf2dfb97a4f063 | [
"MIT"
] | null | null | null | neutrino_api/controllers/telephony.py | NeutrinoAPI/NeutrinoAPI-Python | cc00933eefef0f40710f606e9fbf2dfb97a4f063 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
neutrino_api
This file was automatically generated for NeutrinoAPI by APIMATIC v2.0 ( https://apimatic.io ).
"""
from neutrino_api.api_helper import APIHelper
from neutrino_api.configuration import Configuration
from neutrino_api.controllers.base_controller import BaseCo... | 39.041995 | 114 | 0.598319 | 1,614 | 14,875 | 5.33767 | 0.140644 | 0.036216 | 0.03343 | 0.034823 | 0.756703 | 0.736158 | 0.725711 | 0.714335 | 0.706674 | 0.692513 | 0 | 0.002931 | 0.334924 | 14,875 | 380 | 115 | 39.144737 | 0.867886 | 0.453714 | 0 | 0.648276 | 1 | 0 | 0.07629 | 0.003141 | 0 | 0 | 0 | 0 | 0 | 1 | 0.041379 | false | 0 | 0.068966 | 0 | 0.158621 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0b13d49e2ca50ae5128b881792897cd8ab7c7b1d | 4,050 | py | Python | src/conference_scheduler/validator.py | ChahalMandeep/ConferenceScheduler | e5a0eff8796ba5711b5c3b591ff4b9a2e0f61a04 | [
"MIT"
] | 46 | 2017-04-30T17:37:38.000Z | 2022-03-29T12:52:38.000Z | src/conference_scheduler/validator.py | ChahalMandeep/ConferenceScheduler | e5a0eff8796ba5711b5c3b591ff4b9a2e0f61a04 | [
"MIT"
] | 95 | 2017-05-01T16:30:04.000Z | 2018-11-07T10:48:50.000Z | src/conference_scheduler/validator.py | ChahalMandeep/ConferenceScheduler | e5a0eff8796ba5711b5c3b591ff4b9a2e0f61a04 | [
"MIT"
] | 11 | 2017-05-01T16:17:46.000Z | 2022-03-29T12:52:41.000Z | from conference_scheduler import converter
from conference_scheduler.lp_problem import constraints
def array_violations(array, events, slots, beta=None):
"""Take a schedule in array form and return any violated constraints
Parameters
----------
array : np.array
a schedule in array for... | 27.364865 | 77 | 0.613086 | 475 | 4,050 | 5.168421 | 0.141053 | 0.041548 | 0.076171 | 0.068839 | 0.819145 | 0.767413 | 0.756008 | 0.756008 | 0.632179 | 0.56945 | 0 | 0.001808 | 0.317284 | 4,050 | 147 | 78 | 27.55102 | 0.886076 | 0.590617 | 0 | 0.37931 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.206897 | false | 0 | 0.068966 | 0 | 0.586207 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
9be603d18a2e9df5c74038d063039d768c629ddd | 7,157 | py | Python | seleniumwire/webdriver/browser.py | axgdev/selenium-wire | 8c0d2b5f144d04b5050f700abfd45b96d24d7330 | [
"MIT"
] | null | null | null | seleniumwire/webdriver/browser.py | axgdev/selenium-wire | 8c0d2b5f144d04b5050f700abfd45b96d24d7330 | [
"MIT"
] | null | null | null | seleniumwire/webdriver/browser.py | axgdev/selenium-wire | 8c0d2b5f144d04b5050f700abfd45b96d24d7330 | [
"MIT"
] | null | null | null | from selenium.webdriver import Chrome as _Chrome
from selenium.webdriver import ChromeOptions
from selenium.webdriver import Edge as _Edge
from selenium.webdriver import Firefox as _Firefox
from selenium.webdriver import Remote as _Remote
from selenium.webdriver import Safari as _Safari
from selenium.webdriver.common.d... | 34.408654 | 103 | 0.622048 | 689 | 7,157 | 6.309144 | 0.153846 | 0.201058 | 0.042328 | 0.037267 | 0.796181 | 0.796181 | 0.796181 | 0.796181 | 0.796181 | 0.796181 | 0 | 0.000971 | 0.280425 | 7,157 | 207 | 104 | 34.574879 | 0.843107 | 0.218946 | 0 | 0.658333 | 0 | 0 | 0.104776 | 0.005368 | 0 | 0 | 0 | 0 | 0.016667 | 1 | 0.083333 | false | 0.008333 | 0.075 | 0 | 0.2 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
500f2ae3b8d67964d74cf5384c61883a7d4b77d2 | 7,319 | py | Python | app/backend/core/models/flow_parser_helper_basic.py | SummaLabs/DLS | 2adba47430b456ad0f324e4c8883a896a23b3fbf | [
"MIT"
] | 32 | 2017-09-04T17:40:39.000Z | 2021-02-16T23:08:34.000Z | app/backend/core/models/flow_parser_helper_basic.py | AymanNabih/DLS | 2adba47430b456ad0f324e4c8883a896a23b3fbf | [
"MIT"
] | 3 | 2017-10-09T12:52:54.000Z | 2020-06-29T02:48:38.000Z | app/backend/core/models/flow_parser_helper_basic.py | AymanNabih/DLS | 2adba47430b456ad0f324e4c8883a896a23b3fbf | [
"MIT"
] | 20 | 2017-10-07T17:29:50.000Z | 2021-01-23T22:01:54.000Z | #!/usr/bin/python
# -*- coding: utf-8 -*-
__author__ = 'ar'
import json
####################################
# values: (is Available, is Correct but currently not available)
dictAvailableConnectionsFromTo = {
'datainput' : {
'datainput' : (False, None),
'convolution1d' : (True, None),
... | 37.341837 | 122 | 0.467004 | 514 | 7,319 | 6.626459 | 0.103113 | 0.17616 | 0.083969 | 0.109219 | 0.740752 | 0.735173 | 0.735173 | 0.735173 | 0.72842 | 0.72842 | 0 | 0.018035 | 0.35606 | 7,319 | 196 | 123 | 37.341837 | 0.704647 | 0.0138 | 0 | 0.755319 | 0 | 0 | 0.28454 | 0.00585 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.005319 | 0.005319 | 0 | 0.005319 | 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 |
5039aaae421b0f0e74c90af698218b5d45ecbeb2 | 69,147 | py | Python | tests/unit/gapic/dialogflowcx_v3beta1/test_intents.py | wuyuexin/python-dialogflow-cx | 80f36ad67c8bb6f27dc8c2c5271451b8fea48508 | [
"Apache-2.0"
] | null | null | null | tests/unit/gapic/dialogflowcx_v3beta1/test_intents.py | wuyuexin/python-dialogflow-cx | 80f36ad67c8bb6f27dc8c2c5271451b8fea48508 | [
"Apache-2.0"
] | null | null | null | tests/unit/gapic/dialogflowcx_v3beta1/test_intents.py | wuyuexin/python-dialogflow-cx | 80f36ad67c8bb6f27dc8c2c5271451b8fea48508 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law o... | 36.9375 | 111 | 0.685149 | 8,192 | 69,147 | 5.557739 | 0.044556 | 0.02214 | 0.019987 | 0.021283 | 0.897208 | 0.87285 | 0.855543 | 0.839707 | 0.821454 | 0.808254 | 0 | 0.004366 | 0.228224 | 69,147 | 1,871 | 112 | 36.957242 | 0.84878 | 0.204926 | 0 | 0.69073 | 0 | 0 | 0.094879 | 0.034636 | 0 | 0 | 0 | 0 | 0.139459 | 1 | 0.045939 | false | 0 | 0.018868 | 0.001641 | 0.066448 | 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 |
504bac9a1dd1041a958e3a2e282e1d8eee020219 | 4,213 | py | Python | tests/changes/models/test_snapshot.py | vault-the/changes | 37e23c3141b75e4785cf398d015e3dbca41bdd56 | [
"Apache-2.0"
] | 443 | 2015-01-03T16:28:39.000Z | 2021-04-26T16:39:46.000Z | tests/changes/models/test_snapshot.py | vault-the/changes | 37e23c3141b75e4785cf398d015e3dbca41bdd56 | [
"Apache-2.0"
] | 12 | 2015-07-30T19:07:16.000Z | 2016-11-07T23:11:21.000Z | tests/changes/models/test_snapshot.py | vault-the/changes | 37e23c3141b75e4785cf398d015e3dbca41bdd56 | [
"Apache-2.0"
] | 47 | 2015-01-09T10:04:00.000Z | 2020-11-18T17:58:19.000Z | from changes.config import db
from changes.models.project import ProjectOption
from changes.models.snapshot import Snapshot, SnapshotImage, SnapshotStatus
from changes.testutils.cases import TestCase
class TestSnapshotTestCase(TestCase):
def test_snapshot_change_status(self):
project = self.create_project... | 42.989796 | 85 | 0.718016 | 496 | 4,213 | 5.810484 | 0.08871 | 0.166898 | 0.112422 | 0.087786 | 0.832408 | 0.811589 | 0.785219 | 0.74254 | 0.724497 | 0.724497 | 0 | 0.01095 | 0.197959 | 4,213 | 97 | 86 | 43.43299 | 0.841965 | 0 | 0 | 0.696203 | 0 | 0 | 0.011393 | 0 | 0 | 0 | 0 | 0 | 0.126582 | 1 | 0.075949 | false | 0 | 0.050633 | 0 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.