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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
48b579ecd4f75efa4a6e1811c4acca5f403b01c2 | 128 | py | Python | analysis/webservice/metrics/__init__.py | mayadebellis/incubator-sdap-nexus | d8942edd3e969d710e4d3c490f04651cb9418673 | [
"Apache-2.0"
] | null | null | null | analysis/webservice/metrics/__init__.py | mayadebellis/incubator-sdap-nexus | d8942edd3e969d710e4d3c490f04651cb9418673 | [
"Apache-2.0"
] | null | null | null | analysis/webservice/metrics/__init__.py | mayadebellis/incubator-sdap-nexus | d8942edd3e969d710e4d3c490f04651cb9418673 | [
"Apache-2.0"
] | null | null | null | from MetricsField import MetricsField, SparkAccumulatorMetricsField, NumberMetricsField
from MetricsRecord import MetricsRecord
| 42.666667 | 87 | 0.90625 | 10 | 128 | 11.6 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078125 | 128 | 2 | 88 | 64 | 0.983051 | 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 |
48d3be2674b2b7e06236a517f25c5c32acbfe2fd | 1,086 | py | Python | tests/test_http_request.py | ycaoT/socless | 4d40944109abb24eda8e7f56712ee5edcb6c2862 | [
"Apache-2.0"
] | 88 | 2019-10-19T03:48:19.000Z | 2022-03-20T17:44:01.000Z | tests/test_http_request.py | ycaoT/socless | 4d40944109abb24eda8e7f56712ee5edcb6c2862 | [
"Apache-2.0"
] | 16 | 2019-10-06T12:04:24.000Z | 2021-10-19T17:26:33.000Z | tests/test_http_request.py | ycaoT/socless | 4d40944109abb24eda8e7f56712ee5edcb6c2862 | [
"Apache-2.0"
] | 25 | 2019-09-18T20:37:20.000Z | 2022-03-16T17:44:52.000Z | import pytest
from functions.http_request import lambda_function
def test_handle_state():
pass
# # https://docs.pytest.org/en/stable/monkeypatch.html
# def test_handle_state_with_monkeypatch_to_prevent_failure_of_external_api_call(
# monkeypatch,
# ):
# expected_telegram_message = "ATTN DR ELIAS KRONISH... | 37.448276 | 126 | 0.744936 | 142 | 1,086 | 5.429577 | 0.5 | 0.124514 | 0.089494 | 0.046693 | 0.114137 | 0.114137 | 0.114137 | 0.114137 | 0.114137 | 0 | 0 | 0 | 0.185083 | 1,086 | 28 | 127 | 38.785714 | 0.871186 | 0.864641 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0.25 | 0.5 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
48e4837948695f2821e27d57bf89589331f0aa30 | 134 | py | Python | diayn_cont/memory/replay_buffer.py | fgitmichael/SelfSupevisedSkillDiscovery | 60eee11cfd67046190dd2784bf40e97bdbed9d40 | [
"MIT"
] | null | null | null | diayn_cont/memory/replay_buffer.py | fgitmichael/SelfSupevisedSkillDiscovery | 60eee11cfd67046190dd2784bf40e97bdbed9d40 | [
"MIT"
] | 6 | 2021-02-02T23:00:02.000Z | 2022-01-13T03:13:51.000Z | diayn_cont/memory/replay_buffer.py | fgitmichael/SelfSupevisedSkillDiscovery | 60eee11cfd67046190dd2784bf40e97bdbed9d40 | [
"MIT"
] | null | null | null | from diayn.memory.replay_buffer_opt import DIAYNEnvReplayBufferOpt
class DIAYNContEnvReplayBuffer(DIAYNEnvReplayBufferOpt):
pass
| 26.8 | 66 | 0.873134 | 12 | 134 | 9.583333 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.089552 | 134 | 4 | 67 | 33.5 | 0.942623 | 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 |
48e558374ced94f2759fe2be842c6af3bb5601db | 80 | py | Python | checkout_sdk/vaults/responses/instrument.py | checkout/checkout-sdk-python | 908d25c2904508fb0130e186d7d5de2ad116f0c3 | [
"MIT"
] | 13 | 2018-08-29T09:09:11.000Z | 2021-11-26T08:30:58.000Z | checkout_sdk/vaults/responses/instrument.py | checkout/checkout-sdk-python | 908d25c2904508fb0130e186d7d5de2ad116f0c3 | [
"MIT"
] | 17 | 2018-08-30T07:39:15.000Z | 2022-03-31T16:09:38.000Z | checkout_sdk/vaults/responses/instrument.py | checkout/checkout-sdk-python | 908d25c2904508fb0130e186d7d5de2ad116f0c3 | [
"MIT"
] | 13 | 2018-09-11T13:00:55.000Z | 2021-05-19T15:19:30.000Z | from checkout_sdk.common import Resource
class Instrument(Resource):
pass
| 13.333333 | 40 | 0.7875 | 10 | 80 | 6.2 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1625 | 80 | 5 | 41 | 16 | 0.925373 | 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 |
48ef76c1db54c43935326c4fb904ec2e2881ed31 | 49 | py | Python | tests/_site/apps/customer/models.py | QueoLda/django-oscar | 8dd992d82e31d26c929b3caa0e08b57e9701d097 | [
"BSD-3-Clause"
] | 4,639 | 2015-01-01T00:42:33.000Z | 2022-03-29T18:32:12.000Z | tests/_site/apps/customer/models.py | QueoLda/django-oscar | 8dd992d82e31d26c929b3caa0e08b57e9701d097 | [
"BSD-3-Clause"
] | 2,215 | 2015-01-02T22:32:51.000Z | 2022-03-29T12:16:23.000Z | tests/_site/apps/customer/models.py | QueoLda/django-oscar | 8dd992d82e31d26c929b3caa0e08b57e9701d097 | [
"BSD-3-Clause"
] | 2,187 | 2015-01-02T06:33:31.000Z | 2022-03-31T15:32:36.000Z | from oscar.apps.customer.models import * # noqa
| 24.5 | 48 | 0.755102 | 7 | 49 | 5.285714 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 49 | 1 | 49 | 49 | 0.880952 | 0.081633 | 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 |
48fb8b0535c34517f4cc5b35487d92182b38823d | 204 | py | Python | thenewboston_node/business_logic/models/signed_request_message/__init__.py | AbhayAysola/thenewboston-node | 8a24cfd814eed590a7a1066e45b8b4877501aa35 | [
"MIT"
] | null | null | null | thenewboston_node/business_logic/models/signed_request_message/__init__.py | AbhayAysola/thenewboston-node | 8a24cfd814eed590a7a1066e45b8b4877501aa35 | [
"MIT"
] | null | null | null | thenewboston_node/business_logic/models/signed_request_message/__init__.py | AbhayAysola/thenewboston-node | 8a24cfd814eed590a7a1066e45b8b4877501aa35 | [
"MIT"
] | null | null | null | from .base import SignedRequestMessage # noqa: F401
from .coin_transfer import CoinTransferSignedRequestMessage # noqa: F401
from .coin_transfer_transaction import CoinTransferTransaction # noqa: F401
| 51 | 76 | 0.838235 | 21 | 204 | 8 | 0.52381 | 0.142857 | 0.142857 | 0.190476 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0.05 | 0.117647 | 204 | 3 | 77 | 68 | 0.883333 | 0.156863 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5b007f2e4e708b9fc466d0dae1f8ceb13fa33cc9 | 417 | py | Python | python/testData/inspections/PyArgumentListInspection/xRange.py | alexey-anufriev/intellij-community | ffcd46f14e630acdefcc76e2bfc7c43d2449013a | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/inspections/PyArgumentListInspection/xRange.py | alexey-anufriev/intellij-community | ffcd46f14e630acdefcc76e2bfc7c43d2449013a | [
"Apache-2.0"
] | 1 | 2020-07-30T19:04:47.000Z | 2020-07-30T19:04:47.000Z | python/testData/inspections/PyArgumentListInspection/xRange.py | bradleesand/intellij-community | 750ff9c10333c9c1278c00dbe8d88c877b1b9749 | [
"Apache-2.0"
] | 1 | 2020-10-15T05:56:42.000Z | 2020-10-15T05:56:42.000Z | print(xrange(<warning descr="Parameter(s) unfilledPossible callees:xrange(self: xrange, stop: int)xrange(self: xrange, start: int, stop: int, step: int = ...)">)</warning>)
print(xrange(1))
print(xrange(1, 2))
print(xrange(1, 2, 3))
print(xrange<warning descr="Unexpected argument(s)Possible callees:xrange(self: xrange,... | 69.5 | 183 | 0.70024 | 63 | 417 | 4.634921 | 0.31746 | 0.188356 | 0.219178 | 0.157534 | 0.465753 | 0.465753 | 0.465753 | 0.465753 | 0.465753 | 0.465753 | 0 | 0.026596 | 0.098321 | 417 | 5 | 184 | 83.4 | 0.75 | 0 | 0 | 0 | 0 | 0.4 | 0.621103 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 1 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
d2b80390a7147473238c7cdb9669e7d4308023b3 | 77,908 | py | Python | peripy/test/test_model.py | jd-bartlett96/PeriPy | 04cae072e22568e29b9ab8f84d821f9576ecb728 | [
"MIT"
] | 17 | 2020-12-16T15:17:47.000Z | 2022-03-03T08:04:54.000Z | peripy/test/test_model.py | jd-bartlett96/PeriPy | 04cae072e22568e29b9ab8f84d821f9576ecb728 | [
"MIT"
] | 49 | 2020-01-29T16:50:23.000Z | 2020-09-02T10:27:25.000Z | peripy/test/test_model.py | jd-bartlett96/PeriPy | 04cae072e22568e29b9ab8f84d821f9576ecb728 | [
"MIT"
] | 11 | 2021-07-05T14:03:58.000Z | 2022-03-20T14:22:44.000Z | """Tests for the model class."""
from .conftest import context_available
from ..model import (Model, DimensionalityError, FamilyError,
initial_crack_helper, InvalidIntegrator, DamageModelError)
from pyopencl import mem_flags as mf
import pyopencl as cl
from ..integrators import Euler, EulerCL, Eule... | 40.200206 | 79 | 0.619795 | 9,339 | 77,908 | 4.913053 | 0.045294 | 0.023189 | 0.017741 | 0.01639 | 0.837718 | 0.806334 | 0.766689 | 0.723601 | 0.707495 | 0.682933 | 0 | 0.032299 | 0.285465 | 77,908 | 1,937 | 80 | 40.22096 | 0.791927 | 0.090671 | 0 | 0.686131 | 0 | 0 | 0.053677 | 0.015815 | 0 | 0 | 0 | 0 | 0.128069 | 1 | 0.088918 | false | 0 | 0.005309 | 0.003981 | 0.132714 | 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 |
96012fbac3a426e5003d59653003ecc2ca4e1341 | 1,093 | py | Python | packages/syft/src/syft/experimental_flags.py | Skylarkin/PySyft | f49e0a715722ad883f18d0c5f4d580b6ecd33e22 | [
"Apache-1.1"
] | null | null | null | packages/syft/src/syft/experimental_flags.py | Skylarkin/PySyft | f49e0a715722ad883f18d0c5f4d580b6ecd33e22 | [
"Apache-1.1"
] | null | null | null | packages/syft/src/syft/experimental_flags.py | Skylarkin/PySyft | f49e0a715722ad883f18d0c5f4d580b6ecd33e22 | [
"Apache-1.1"
] | null | null | null | # stdlib
from enum import Enum
class ApacheArrowCompression(Enum):
ZSTD = "zstd"
LZ4 = "lz4"
LZ4_RAW = "lz4_raw"
BROTLI = "brotli"
SNAPPY = "snappy"
GZIP = "gzip"
NONE = 0
class ExperimentalFlags:
def __init__(self) -> None:
self._APACHE_ARROW_TENSOR_SERDE = True
self... | 26.02381 | 78 | 0.720952 | 125 | 1,093 | 5.888 | 0.248 | 0.224185 | 0.20788 | 0.269022 | 0.436141 | 0.357337 | 0.236413 | 0.236413 | 0.236413 | 0.236413 | 0 | 0.005754 | 0.204941 | 1,093 | 41 | 79 | 26.658537 | 0.841197 | 0.005489 | 0 | 0.206897 | 0 | 0 | 0.02765 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.206897 | false | 0 | 0.034483 | 0.103448 | 0.655172 | 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 |
9619395d2792e7a82b6b8123b45857a8379f4f5d | 12,286 | py | Python | encoding/models/backbone/xception.py | hongrui16/naic2020_B | 9321bdd19e7d2d47ac9c711eb8437cd364e25f44 | [
"MIT"
] | null | null | null | encoding/models/backbone/xception.py | hongrui16/naic2020_B | 9321bdd19e7d2d47ac9c711eb8437cd364e25f44 | [
"MIT"
] | null | null | null | encoding/models/backbone/xception.py | hongrui16/naic2020_B | 9321bdd19e7d2d47ac9c711eb8437cd364e25f44 | [
"MIT"
] | null | null | null | # code adapted from https://github.com/jfzhang95/pytorch-deeplab-xception/
import math
from collections import OrderedDict
import torch.nn as nn
import torch.nn.functional as F
from encoding.nn import SyncBatchNorm, GlobalAvgPool2d
from ..model_store import get_model_file
__all__ = ['Xception65', 'Xception71', 'xcepti... | 35.923977 | 118 | 0.571056 | 1,588 | 12,286 | 4.230479 | 0.112091 | 0.089759 | 0.035725 | 0.061625 | 0.756177 | 0.74546 | 0.734891 | 0.725067 | 0.725067 | 0.713456 | 0 | 0.057782 | 0.319632 | 12,286 | 341 | 119 | 36.029326 | 0.745903 | 0.043708 | 0 | 0.714844 | 0 | 0 | 0.004617 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.046875 | false | 0 | 0.023438 | 0 | 0.109375 | 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 |
826137b8bb284bac7e6eb5e13a552c0b226edf6a | 81 | py | Python | data_collector/stackexchange_credentials.py | ashryaagr/IBM-Hack-Challenge | d6d9707857d1975bca09c7dfc67a86441a8edfe5 | [
"MIT"
] | 2 | 2020-03-12T18:48:33.000Z | 2021-07-29T17:34:50.000Z | data_collector/stackexchange_credentials.py | Gateway2745/IBM-Hack-Challenge | d6d9707857d1975bca09c7dfc67a86441a8edfe5 | [
"MIT"
] | null | null | null | data_collector/stackexchange_credentials.py | Gateway2745/IBM-Hack-Challenge | d6d9707857d1975bca09c7dfc67a86441a8edfe5 | [
"MIT"
] | 8 | 2019-07-23T14:21:50.000Z | 2020-05-06T09:04:22.000Z | CLIENT_ID="Replace with your CLIENT ID"
CLIENT_KEY="Replace with your CLIENT KEY" | 40.5 | 41 | 0.814815 | 14 | 81 | 4.571429 | 0.428571 | 0.25 | 0.46875 | 0.65625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 81 | 2 | 41 | 40.5 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0.670732 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
82da93e892b021799f7c1046ed5069b8f077b92c | 95 | py | Python | django/contrib/postgres/fields/utils.py | jpmallarino/django | 659d2421c7adbbcd205604002d521d82d6b0b465 | [
"BSD-3-Clause",
"0BSD"
] | 61,676 | 2015-01-01T00:05:13.000Z | 2022-03-31T20:37:54.000Z | checkerista/.env/Lib/site-packages/django/contrib/postgres/fields/utils.py | LybaFatimaNasir/CS311S20PID02 | bc29a8c4c9ee508c74d231c015a57b1ca4dfcb39 | [
"MIT"
] | 8,884 | 2015-01-01T00:12:05.000Z | 2022-03-31T19:53:11.000Z | checkerista/.env/Lib/site-packages/django/contrib/postgres/fields/utils.py | LybaFatimaNasir/CS311S20PID02 | bc29a8c4c9ee508c74d231c015a57b1ca4dfcb39 | [
"MIT"
] | 33,143 | 2015-01-01T02:04:52.000Z | 2022-03-31T19:42:46.000Z | class AttributeSetter:
def __init__(self, name, value):
setattr(self, name, value)
| 23.75 | 36 | 0.673684 | 11 | 95 | 5.454545 | 0.727273 | 0.266667 | 0.433333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.221053 | 95 | 3 | 37 | 31.666667 | 0.810811 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
7d5bdfc4caf76577b4bf3224c17485fbf1434203 | 167 | py | Python | mayan/apps/document_signatures/runtime.py | eshbeata/open-paperless | 6b9ed1f21908116ad2795b3785b2dbd66713d66e | [
"Apache-2.0"
] | 2,743 | 2017-12-18T07:12:30.000Z | 2022-03-27T17:21:25.000Z | mayan/apps/document_signatures/runtime.py | kyper999/mayan-edms | ca7b8301a1f68548e8e718d42a728a500d67286e | [
"Apache-2.0"
] | 15 | 2020-06-06T00:00:48.000Z | 2022-03-12T00:03:54.000Z | mayan/apps/document_signatures/runtime.py | kyper999/mayan-edms | ca7b8301a1f68548e8e718d42a728a500d67286e | [
"Apache-2.0"
] | 257 | 2017-12-18T03:12:58.000Z | 2022-03-25T08:59:10.000Z | from django.utils.module_loading import import_string
from .settings import setting_storage_backend
storage_backend = import_string(setting_storage_backend.value)()
| 27.833333 | 64 | 0.868263 | 22 | 167 | 6.227273 | 0.545455 | 0.306569 | 0.306569 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.077844 | 167 | 5 | 65 | 33.4 | 0.88961 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7d72729511e9b7e46fd62a9614e89f6b92552a94 | 9,422 | py | Python | tests/test_csv_library.py | develmaycare/python-commonkit | 329e723cdcc3591cf42ca5a02893c17ec28141c4 | [
"BSD-3-Clause"
] | null | null | null | tests/test_csv_library.py | develmaycare/python-commonkit | 329e723cdcc3591cf42ca5a02893c17ec28141c4 | [
"BSD-3-Clause"
] | 7 | 2020-10-19T17:44:25.000Z | 2021-05-27T22:44:51.000Z | tests/test_csv_library.py | develmaycare/python-commonkit | 329e723cdcc3591cf42ca5a02893c17ec28141c4 | [
"BSD-3-Clause"
] | 1 | 2021-06-10T10:42:06.000Z | 2021-06-10T10:42:06.000Z | import os
from commonkit.files import read_csv
from commonkit.csv.library import *
class TestCSVFile(object):
def test_init(self):
path = os.path.join("tests", "data", "example-unnormalized-columns.csv")
keyword_mapping = KeywordMapping(
first_name="First Name",
last_name... | 34.896296 | 119 | 0.586818 | 1,152 | 9,422 | 4.646701 | 0.094618 | 0.05978 | 0.03923 | 0.054922 | 0.805156 | 0.798431 | 0.77153 | 0.741827 | 0.728377 | 0.713432 | 0 | 0.015671 | 0.275313 | 9,422 | 269 | 120 | 35.026022 | 0.768307 | 0 | 0 | 0.654545 | 0 | 0 | 0.180429 | 0.033432 | 0 | 0 | 0 | 0 | 0.281818 | 1 | 0.072727 | false | 0 | 0.013636 | 0.004545 | 0.113636 | 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 |
7d7bd56ef9c8d60729127354ee7c087596e7055e | 272 | py | Python | utils/AlphaValueWithWeight.py | jakub-tomczak/ror-gui | a4b6c8dd081fd845e255063d4bafe086e738e63f | [
"MIT"
] | null | null | null | utils/AlphaValueWithWeight.py | jakub-tomczak/ror-gui | a4b6c8dd081fd845e255063d4bafe086e738e63f | [
"MIT"
] | null | null | null | utils/AlphaValueWithWeight.py | jakub-tomczak/ror-gui | a4b6c8dd081fd845e255063d4bafe086e738e63f | [
"MIT"
] | null | null | null | class AlphaValueWithWeight:
def __init__(self, alpha_value: float, weight: float) -> None:
self.alpha_value = alpha_value
self.weight = weight
def __repr__(self) -> str:
return f'Alpha value: {self.alpha_value}, weight: {self.weight}'
| 34 | 72 | 0.658088 | 33 | 272 | 5.060606 | 0.424242 | 0.299401 | 0.251497 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.231618 | 272 | 7 | 73 | 38.857143 | 0.799043 | 0 | 0 | 0 | 0 | 0 | 0.198529 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.166667 | 0.666667 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
7da06a37a9a444fb31895bbde42c662aaff913e4 | 251 | py | Python | flowkit/_models/gates/__init__.py | whitews/FlowK | d4e43a0488606ce5479b5110486dc3db128f6a87 | [
"BSD-3-Clause"
] | 73 | 2019-02-18T01:03:06.000Z | 2022-03-18T14:03:01.000Z | flowkit/_models/gates/__init__.py | whitews/FlowK | d4e43a0488606ce5479b5110486dc3db128f6a87 | [
"BSD-3-Clause"
] | 90 | 2019-01-28T22:04:04.000Z | 2022-03-31T16:40:14.000Z | flowkit/_models/gates/__init__.py | whitews/FlowK | d4e43a0488606ce5479b5110486dc3db128f6a87 | [
"BSD-3-Clause"
] | 8 | 2019-08-19T16:58:48.000Z | 2022-01-11T08:55:23.000Z | """ gates module """
from ._gates import RectangleGate, PolygonGate, EllipsoidGate, Quadrant, QuadrantGate, BooleanGate
__all__ = [
'RectangleGate',
'PolygonGate',
'EllipsoidGate',
'Quadrant',
'QuadrantGate',
'BooleanGate'
]
| 19.307692 | 98 | 0.677291 | 18 | 251 | 9.166667 | 0.611111 | 0.290909 | 0.448485 | 0.545455 | 0.824242 | 0.824242 | 0 | 0 | 0 | 0 | 0 | 0 | 0.195219 | 251 | 12 | 99 | 20.916667 | 0.816832 | 0.047809 | 0 | 0 | 0 | 0 | 0.294372 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.111111 | 0 | 0.111111 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7db26dd8e46606e17899d2e2636f0af58a53a2a4 | 29 | py | Python | pylgr/__init__.py | Tenavi/PyLGR | b19f7f1de375dca263cba08ed7830fb54937391b | [
"MIT"
] | null | null | null | pylgr/__init__.py | Tenavi/PyLGR | b19f7f1de375dca263cba08ed7830fb54937391b | [
"MIT"
] | null | null | null | pylgr/__init__.py | Tenavi/PyLGR | b19f7f1de375dca263cba08ed7830fb54937391b | [
"MIT"
] | null | null | null | from .solve import solve_ocp
| 14.5 | 28 | 0.827586 | 5 | 29 | 4.6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 29 | 1 | 29 | 29 | 0.92 | 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 |
7dc3919025af4ade46c2a52ba791b595b591141d | 368 | py | Python | resolveit/column_stats_numeric.py | dave31415/resolver | 07d21b1267e1af3af517c5e3c0e28d8ab712146f | [
"MIT"
] | null | null | null | resolveit/column_stats_numeric.py | dave31415/resolver | 07d21b1267e1af3af517c5e3c0e28d8ab712146f | [
"MIT"
] | null | null | null | resolveit/column_stats_numeric.py | dave31415/resolver | 07d21b1267e1af3af517c5e3c0e28d8ab712146f | [
"MIT"
] | null | null | null | def mean(col):
return None
def quintile_1(col):
return None
def quintile_2(col):
return None
def quintile_3(col):
return None
def quintile_4(col):
return None
def quintile_5(col):
return None
def frac_integer(col):
return None
def frac_zero(col):
return None
def frac_tagg... | 10.222222 | 22 | 0.649457 | 58 | 368 | 3.982759 | 0.327586 | 0.38961 | 0.450216 | 0.554113 | 0.779221 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033088 | 0.26087 | 368 | 35 | 23 | 10.514286 | 0.816176 | 0.043478 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
7dd680e19914aeb3fb707c16583ececd54c69972 | 4,787 | py | Python | scripts_test/viz3D_create_json_seq2.py | vbelissen/packnet-sfm | dfba692596b08ccff17abb9423c1958cecc75b0f | [
"MIT"
] | null | null | null | scripts_test/viz3D_create_json_seq2.py | vbelissen/packnet-sfm | dfba692596b08ccff17abb9423c1958cecc75b0f | [
"MIT"
] | null | null | null | scripts_test/viz3D_create_json_seq2.py | vbelissen/packnet-sfm | dfba692596b08ccff17abb9423c1958cecc75b0f | [
"MIT"
] | null | null | null | import json
import numpy as np
from scipy.spatial.transform import Rotation as R
with open('/home/vbelissen/Downloads/test/cameras_jsons/test_bird.json') as json_base_file:
json_base_data = json.load(json_base_file)
N = 60
t = np.array([0,1,1])
count = 0
for i in range(90):
json_data = dict(json_base_dat... | 30.297468 | 119 | 0.611865 | 733 | 4,787 | 3.762619 | 0.094134 | 0.143582 | 0.073967 | 0.052212 | 0.936548 | 0.936548 | 0.926033 | 0.926033 | 0.909355 | 0.909355 | 0 | 0.03322 | 0.201379 | 4,787 | 158 | 120 | 30.297468 | 0.688203 | 0.767495 | 0 | 0 | 0 | 0 | 0.15242 | 0.122554 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.136364 | 0 | 0.136364 | 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 |
8147d077313183ab9538cbdedea6c5813f8c5ffe | 26 | py | Python | terrascript/kubernetes/__init__.py | vfoucault/python-terrascript | fe82b3d7e79ffa72b7871538f999828be0a115d0 | [
"BSD-2-Clause"
] | null | null | null | terrascript/kubernetes/__init__.py | vfoucault/python-terrascript | fe82b3d7e79ffa72b7871538f999828be0a115d0 | [
"BSD-2-Clause"
] | null | null | null | terrascript/kubernetes/__init__.py | vfoucault/python-terrascript | fe82b3d7e79ffa72b7871538f999828be0a115d0 | [
"BSD-2-Clause"
] | null | null | null | """2017-11-28 18:07:58"""
| 13 | 25 | 0.538462 | 6 | 26 | 2.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.583333 | 0.076923 | 26 | 1 | 26 | 26 | 0 | 0.730769 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
81821004968b85c54c8a480e20059720807e2f34 | 55,456 | py | Python | ciw/tests/test_state_tracker.py | CiwPython/Ciw | 8d5978108f797a6c3e42d8f70f31510f889f2dd0 | [
"MIT"
] | 107 | 2016-11-18T22:44:58.000Z | 2022-03-29T01:38:12.000Z | ciw/tests/test_state_tracker.py | CiwPython/Ciw | 8d5978108f797a6c3e42d8f70f31510f889f2dd0 | [
"MIT"
] | 117 | 2016-09-25T19:12:39.000Z | 2022-03-31T14:01:47.000Z | ciw/tests/test_state_tracker.py | CiwPython/Ciw | 8d5978108f797a6c3e42d8f70f31510f889f2dd0 | [
"MIT"
] | 34 | 2016-12-21T12:04:29.000Z | 2022-03-29T10:46:29.000Z | import unittest
import ciw
from decimal import Decimal
class TestStateTracker(unittest.TestCase):
def test_base_init_method(self):
Q = ciw.Simulation(ciw.create_network_from_yml(
'ciw/tests/testing_parameters/params.yml'))
B = ciw.trackers.StateTracker()
B.initialise(Q)
se... | 41.916856 | 106 | 0.508385 | 6,484 | 55,456 | 4.199568 | 0.035626 | 0.018362 | 0.016967 | 0.014102 | 0.899155 | 0.867132 | 0.855821 | 0.845795 | 0.833639 | 0.822732 | 0 | 0.099128 | 0.317297 | 55,456 | 1,323 | 107 | 41.916856 | 0.6201 | 0.004093 | 0 | 0.590682 | 0 | 0 | 0.054874 | 0.042088 | 0 | 0 | 0 | 0 | 0.113977 | 1 | 0.051581 | false | 0 | 0.002496 | 0 | 0.060732 | 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 |
819d4e62422543953a00970c3fa05d1ae7da3aa9 | 47 | py | Python | onir/predictors/__init__.py | bpiwowar/OpenNIR-xpm | e937730f709da11707df04517c25945f18bb64cd | [
"MIT"
] | null | null | null | onir/predictors/__init__.py | bpiwowar/OpenNIR-xpm | e937730f709da11707df04517c25945f18bb64cd | [
"MIT"
] | null | null | null | onir/predictors/__init__.py | bpiwowar/OpenNIR-xpm | e937730f709da11707df04517c25945f18bb64cd | [
"MIT"
] | null | null | null | from onir.predictors.base import BasePredictor
| 23.5 | 46 | 0.87234 | 6 | 47 | 6.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085106 | 47 | 1 | 47 | 47 | 0.953488 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
81b9dac1515c751b1302b34345d840cfe53349a6 | 13,554 | py | Python | test/test_func.py | jwodder/rst2json | 75c7fa3d3e93dc06195caaa0ec8057c024be41e0 | [
"MIT"
] | 4 | 2020-07-10T23:44:14.000Z | 2021-11-04T18:16:12.000Z | test/test_func.py | jwodder/rst2json | 75c7fa3d3e93dc06195caaa0ec8057c024be41e0 | [
"MIT"
] | 4 | 2020-07-10T22:56:47.000Z | 2020-07-10T23:24:13.000Z | test/test_func.py | jwodder/rst2json | 75c7fa3d3e93dc06195caaa0ec8057c024be41e0 | [
"MIT"
] | 1 | 2021-11-04T18:17:00.000Z | 2021-11-04T18:17:00.000Z | from copy import deepcopy
from io import StringIO
import os
from pathlib import Path
import pytest
from rst2json.core import rst2json, versioned_meta_strings
from rst2json.writers import latex
INPUT = """\
A Document
==========
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor
incididunt... | 38.288136 | 644 | 0.633761 | 1,613 | 13,554 | 5.199008 | 0.16553 | 0.027665 | 0.038636 | 0.083711 | 0.833771 | 0.812187 | 0.808371 | 0.796566 | 0.783329 | 0.776175 | 0 | 0.007697 | 0.214033 | 13,554 | 353 | 645 | 38.396601 | 0.779499 | 0.001623 | 0 | 0.686709 | 0 | 0.015823 | 0.424834 | 0.038507 | 0 | 0 | 0 | 0 | 0.088608 | 1 | 0.047468 | false | 0 | 0.022152 | 0 | 0.06962 | 0.044304 | 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 |
81bad6e10b57a0bec26cc478cb07cdabcfb20cb1 | 141 | py | Python | backend/webserver/sockets/__init__.py | jsbroks/lista | 4bf06f3a243c7c59632ce2348d1a9f6917878906 | [
"MIT"
] | null | null | null | backend/webserver/sockets/__init__.py | jsbroks/lista | 4bf06f3a243c7c59632ce2348d1a9f6917878906 | [
"MIT"
] | null | null | null | backend/webserver/sockets/__init__.py | jsbroks/lista | 4bf06f3a243c7c59632ce2348d1a9f6917878906 | [
"MIT"
] | null | null | null | from .connection import *
from .projects import *
def init_app():
# Touch underlying modules
logger.info('Loading sockets module')
| 17.625 | 41 | 0.716312 | 17 | 141 | 5.882353 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.191489 | 141 | 7 | 42 | 20.142857 | 0.877193 | 0.170213 | 0 | 0 | 0 | 0 | 0.191304 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
81d6baff636304341e565372f1d0e8c2d8934e53 | 67 | py | Python | units/shapes/line.py | doldam0/grapher | 5e82dd57be5274ab616839d10b42d2b741f2b081 | [
"MIT"
] | null | null | null | units/shapes/line.py | doldam0/grapher | 5e82dd57be5274ab616839d10b42d2b741f2b081 | [
"MIT"
] | null | null | null | units/shapes/line.py | doldam0/grapher | 5e82dd57be5274ab616839d10b42d2b741f2b081 | [
"MIT"
] | null | null | null | from units.shapes.shape import Shape
class Line(Shape):
pass
| 11.166667 | 36 | 0.731343 | 10 | 67 | 4.9 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.19403 | 67 | 5 | 37 | 13.4 | 0.907407 | 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 |
c4b304b58dda43d1ae8c7c994b816380010ee983 | 204 | py | Python | tutproject/todo/forms.py | kosarkarbasi/python_course | 106f885729fd43e79af3f061c914f02617e5f11f | [
"Apache-2.0"
] | 11 | 2021-07-15T11:14:43.000Z | 2022-02-08T08:19:57.000Z | tutproject/todo/forms.py | kosarkarbasi/python_course | 106f885729fd43e79af3f061c914f02617e5f11f | [
"Apache-2.0"
] | null | null | null | tutproject/todo/forms.py | kosarkarbasi/python_course | 106f885729fd43e79af3f061c914f02617e5f11f | [
"Apache-2.0"
] | 39 | 2021-07-15T10:42:31.000Z | 2021-07-25T13:44:25.000Z |
from django import forms
from .models import person
class SimpleForm(forms.Form):
title = forms.CharField( max_length=10, )
description = forms.CharField( max_length=10,widget=forms.Textarea)
| 20.4 | 71 | 0.754902 | 27 | 204 | 5.62963 | 0.62963 | 0.184211 | 0.223684 | 0.302632 | 0.328947 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023121 | 0.151961 | 204 | 9 | 72 | 22.666667 | 0.855491 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
480af61f175ddfcfd384803809e2b4a92bf4ad6a | 76,252 | py | Python | examples/2.py | thautwarm/PPL2020-quick-and-reusable-code-generation-for-idris | a532c6c47f4f0faaf7588bf74776a0d9835d2ba5 | [
"BSD-3-Clause"
] | 26 | 2020-03-03T19:13:02.000Z | 2022-03-29T14:47:05.000Z | examples/2.py | thautwarm/PPL2020-quick-and-reusable-code-generation-for-idris | a532c6c47f4f0faaf7588bf74776a0d9835d2ba5 | [
"BSD-3-Clause"
] | 2 | 2020-04-11T21:46:55.000Z | 2021-02-07T11:43:22.000Z | examples/2.py | thautwarm/PPL2020-quick-and-reusable-code-generation-for-idris | a532c6c47f4f0faaf7588bf74776a0d9835d2ba5 | [
"BSD-3-Clause"
] | 2 | 2021-09-14T09:58:03.000Z | 2022-01-24T16:21:42.000Z | from rts import RTS as __RTS
def Prelude_46_Bool_46__38__38_(_123_arg_95_0_125_,_123_arg_95_1_125_):
valToMatch = None
valToMatch = _123_arg_95_0_125_
caseMerged = None
if valToMatch == False:
caseMerged = _123_arg_95_0_125_
elif valToMatch == True:
caseMerged = _123_EVAL_95_0_125_(_123_arg_... | 28.473488 | 348 | 0.768242 | 11,964 | 76,252 | 4.097292 | 0.083417 | 0.048592 | 0.06479 | 0.109792 | 0.84031 | 0.759221 | 0.712607 | 0.620033 | 0.57603 | 0.550041 | 0 | 0.183143 | 0.172218 | 76,252 | 2,677 | 349 | 28.484124 | 0.593473 | 0 | 0 | 0.348011 | 0 | 0 | 0.016405 | 0 | 0 | 0 | 0 | 0 | 0.000531 | 1 | 0.300796 | false | 0 | 0.000531 | 0.282228 | 0.602122 | 0.001061 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 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 |
6fa4d95e761b50f5a93d202776ed12ef6f8e19ba | 20 | py | Python | acq4/devices/NiDAQ/__init__.py | ablot/acq4 | ba7cd340d9d0282640adb501d3788f8c0837e4c4 | [
"MIT"
] | null | null | null | acq4/devices/NiDAQ/__init__.py | ablot/acq4 | ba7cd340d9d0282640adb501d3788f8c0837e4c4 | [
"MIT"
] | null | null | null | acq4/devices/NiDAQ/__init__.py | ablot/acq4 | ba7cd340d9d0282640adb501d3788f8c0837e4c4 | [
"MIT"
] | null | null | null | from nidaq import *
| 10 | 19 | 0.75 | 3 | 20 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 20 | 1 | 20 | 20 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b50c7f1541ada8aa9b5b3eddb09c023c3c877036 | 29 | py | Python | __init__.py | HDR/KiBuzzard | b9e2cff0783b7cda9b8d68f2d2b5077b48d3a838 | [
"MIT"
] | 240 | 2021-01-11T14:49:24.000Z | 2022-03-29T22:33:49.000Z | __init__.py | HDR/KiBuzzard | b9e2cff0783b7cda9b8d68f2d2b5077b48d3a838 | [
"MIT"
] | 77 | 2021-01-12T20:23:30.000Z | 2022-03-28T12:14:34.000Z | __init__.py | HDR/KiBuzzard | b9e2cff0783b7cda9b8d68f2d2b5077b48d3a838 | [
"MIT"
] | 28 | 2021-01-17T05:44:11.000Z | 2022-01-11T19:58:46.000Z | from .KiBuzzard import plugin | 29 | 29 | 0.862069 | 4 | 29 | 6.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103448 | 29 | 1 | 29 | 29 | 0.961538 | 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 |
d23138171f6743289d59ab0cab892c35f33fb02d | 211 | py | Python | lightdo/mega/errors.py | arasHi87/RaitoNoberu | 7ed59db8975175f8927558382ebe3ec491a72672 | [
"MIT"
] | 2 | 2020-02-17T04:06:48.000Z | 2021-04-19T07:36:04.000Z | lightdo/mega/errors.py | arasHi87/RaitoNoberu | 7ed59db8975175f8927558382ebe3ec491a72672 | [
"MIT"
] | 1 | 2021-06-02T00:36:49.000Z | 2021-06-02T00:36:49.000Z | lightdo/mega/errors.py | arasHi87/RaitoNoberu | 7ed59db8975175f8927558382ebe3ec491a72672 | [
"MIT"
] | null | null | null | class ValidationError(Exception):
"""
Error in validation stage
"""
pass
class RequestError(Exception):
"""
Error in API request
"""
# TODO add error response messages
pass
| 15.071429 | 38 | 0.616114 | 21 | 211 | 6.190476 | 0.714286 | 0.215385 | 0.246154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.293839 | 211 | 13 | 39 | 16.230769 | 0.872483 | 0.379147 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
d240a815b47aa2f990330622b2904b234e19ec43 | 37,892 | py | Python | instances/passenger_demand/pas-20210421-2109-int14000000000000001e/100.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/passenger_demand/pas-20210421-2109-int14000000000000001e/100.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/passenger_demand/pas-20210421-2109-int14000000000000001e/100.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null |
"""
PASSENGERS
"""
numPassengers = 3215
passenger_arriving = (
(5, 10, 4, 5, 2, 0, 8, 7, 3, 5, 2, 0), # 0
(3, 7, 6, 1, 1, 0, 9, 14, 4, 6, 3, 0), # 1
(2, 7, 7, 3, 2, 0, 3, 14, 0, 4, 3, 0), # 2
(1, 10, 8, 2, 0, 0, 7, 6, 6, 1, 2, 0), # 3
(7, 10, 3, 2, 3, 0, 10, 9, 2, 1, 2, 0), # 4
(8, 6, 6, 5, 1, 0, 7, 11, 4... | 113.110448 | 212 | 0.729125 | 5,147 | 37,892 | 5.36565 | 0.228288 | 0.312851 | 0.247674 | 0.469276 | 0.328928 | 0.327842 | 0.327842 | 0.327842 | 0.327842 | 0.327842 | 0 | 0.819042 | 0.119128 | 37,892 | 334 | 213 | 113.449102 | 0.008359 | 0.031959 | 0 | 0.202532 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.015823 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d25cc795a6317b8d5605f777343a5d87f4b604ee | 29 | py | Python | cryptofield/fieldpolynom/__init__.py | SergeyBel/cryptofield | 4e76ff9637e5590dc2bca458023548e58370b9f5 | [
"MIT"
] | null | null | null | cryptofield/fieldpolynom/__init__.py | SergeyBel/cryptofield | 4e76ff9637e5590dc2bca458023548e58370b9f5 | [
"MIT"
] | 9 | 2020-09-07T19:05:19.000Z | 2020-11-03T19:25:06.000Z | cryptofield/fieldpolynom/__init__.py | SergeyBel/cryptofield | 4e76ff9637e5590dc2bca458023548e58370b9f5 | [
"MIT"
] | null | null | null | from .field_polynom import *
| 14.5 | 28 | 0.793103 | 4 | 29 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 29 | 1 | 29 | 29 | 0.88 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d2606acd9f141e7fd5e0bb05fe1fd7e8904f9789 | 25,540 | py | Python | tests/test_model.py | qkum/mentalist | fb6944f5f60d0964a085606abcdf6ad0dad8905f | [
"MIT"
] | 1,293 | 2017-11-07T15:36:24.000Z | 2022-03-30T06:28:34.000Z | tests/test_model.py | qkum/mentalist | fb6944f5f60d0964a085606abcdf6ad0dad8905f | [
"MIT"
] | 22 | 2018-01-17T12:49:55.000Z | 2021-12-24T03:45:08.000Z | tests/test_model.py | qkum/mentalist | fb6944f5f60d0964a085606abcdf6ad0dad8905f | [
"MIT"
] | 215 | 2017-11-07T19:55:20.000Z | 2022-03-30T06:28:36.000Z | import unittest
import warnings
import tempfile
import shutil
import os
import sys
import subprocess
sys.path.insert(1, os.path.join(sys.path[0], '..'))
from mentalist import model
run_hashcat_tests = False
class TestModel(unittest.TestCase):
def test_file_attr(self):
attr = model.FileAttr(path=self.test... | 39.90625 | 370 | 0.601684 | 3,044 | 25,540 | 4.888962 | 0.10184 | 0.102809 | 0.030305 | 0.035479 | 0.839941 | 0.820857 | 0.800564 | 0.778659 | 0.760113 | 0.732428 | 0 | 0.02672 | 0.251214 | 25,540 | 639 | 371 | 39.968701 | 0.751464 | 0.038841 | 0 | 0.61 | 0 | 0.012 | 0.101315 | 0.003391 | 0 | 0 | 0 | 0 | 0.254 | 1 | 0.054 | false | 0 | 0.016 | 0 | 0.074 | 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 |
d272d834988fadfc107bf72fccf6d6bc288401ff | 8,435 | py | Python | yauber_algo/_algo/tests/test_tstoolbox_highest_since.py | LongNguyen1012/yauber-algo | 40f7d805408a788e7f363ec02d3315ff379cc069 | [
"MIT"
] | 1 | 2019-02-09T15:34:34.000Z | 2019-02-09T15:34:34.000Z | yauber_algo/_algo/tests/test_tstoolbox_highest_since.py | LongNguyen1012/yauber-algo | 40f7d805408a788e7f363ec02d3315ff379cc069 | [
"MIT"
] | null | null | null | yauber_algo/_algo/tests/test_tstoolbox_highest_since.py | LongNguyen1012/yauber-algo | 40f7d805408a788e7f363ec02d3315ff379cc069 | [
"MIT"
] | 2 | 2018-10-10T16:01:59.000Z | 2018-11-27T16:50:56.000Z | import unittest
from yauber_algo.errors import *
class HighestSinceTestCase(unittest.TestCase):
def test_highest_since(self):
import yauber_algo.sanitychecks as sc
from numpy import array, nan, inf
import os
import sys
import pandas as pd
import numpy as np
... | 35 | 105 | 0.369532 | 974 | 8,435 | 3.12731 | 0.079055 | 0.043992 | 0.228496 | 0.039396 | 0.797768 | 0.788903 | 0.777741 | 0.746553 | 0.703217 | 0.657584 | 0 | 0.07974 | 0.48856 | 8,435 | 240 | 106 | 35.145833 | 0.626333 | 0.030113 | 0 | 0.602041 | 0 | 0 | 0.029542 | 0.002585 | 0 | 0 | 0 | 0 | 0 | 1 | 0.005102 | false | 0 | 0.045918 | 0 | 0.056122 | 0 | 0 | 0 | 0 | null | 0 | 1 | 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 |
963122032c25ce5924a24bb5f4c50c180105eca2 | 106 | py | Python | unittest_reinvent/running_modes/sample_model_tests/__init__.py | lilleswing/Reinvent-1 | ac4e3e6fa6379c6f4af883478dfd1b3407933ada | [
"Apache-2.0"
] | 183 | 2020-04-04T02:01:15.000Z | 2022-03-30T21:56:56.000Z | unittest_reinvent/running_modes/sample_model_tests/__init__.py | lilleswing/Reinvent-1 | ac4e3e6fa6379c6f4af883478dfd1b3407933ada | [
"Apache-2.0"
] | 39 | 2020-04-05T15:19:56.000Z | 2022-03-09T12:58:21.000Z | unittest_reinvent/running_modes/sample_model_tests/__init__.py | lilleswing/Reinvent-1 | ac4e3e6fa6379c6f4af883478dfd1b3407933ada | [
"Apache-2.0"
] | 70 | 2020-04-05T19:25:43.000Z | 2022-02-22T12:04:39.000Z | from unittest_reinvent.running_modes.sample_model_tests.test_sample_from_model import TestSampleFromModel
| 53 | 105 | 0.933962 | 14 | 106 | 6.571429 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037736 | 106 | 1 | 106 | 106 | 0.901961 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
967697c8b53db8643aa785a6b6baeb5ce83bef07 | 55 | py | Python | Ex41.py | TiagoM018/Python-Stuff | c868ce4872edb414d8b058aa278cc0b1ca864fcc | [
"Unlicense"
] | null | null | null | Ex41.py | TiagoM018/Python-Stuff | c868ce4872edb414d8b058aa278cc0b1ca864fcc | [
"Unlicense"
] | null | null | null | Ex41.py | TiagoM018/Python-Stuff | c868ce4872edb414d8b058aa278cc0b1ca864fcc | [
"Unlicense"
] | null | null | null | x = int and 100
print (x,x-5,x-10,x-15,x-20,x-80,x-100) | 27.5 | 39 | 0.618182 | 18 | 55 | 1.888889 | 0.555556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.306122 | 0.109091 | 55 | 2 | 39 | 27.5 | 0.387755 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
96919040356b8272b5f6dc38ef36aa2d9644b49f | 134 | py | Python | Python/any-or-all.py | DacioRomero/HackerRank | d1d43bd23e319bf8015a741eca70ba471a13c045 | [
"MIT"
] | 1 | 2020-07-28T00:08:38.000Z | 2020-07-28T00:08:38.000Z | Python/any-or-all.py | DacioRomero/HackerRank | d1d43bd23e319bf8015a741eca70ba471a13c045 | [
"MIT"
] | null | null | null | Python/any-or-all.py | DacioRomero/HackerRank | d1d43bd23e319bf8015a741eca70ba471a13c045 | [
"MIT"
] | null | null | null | _, integers = input(), input().split()
print(all(map(lambda i: int(i) > 0, integers)) and any(map(lambda i: i == i[::-1], integers)))
| 44.666667 | 94 | 0.61194 | 22 | 134 | 3.681818 | 0.590909 | 0.222222 | 0.246914 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017241 | 0.134328 | 134 | 2 | 95 | 67 | 0.681034 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.5 | 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 |
7380dd12158ef3c3f41454a614b1aca87229bc3f | 80 | py | Python | app/calculator/models.py | ShivanS93/optomcalc | 62ecd563c6e54fc6c5398bb988f4ab8421dbad64 | [
"MIT"
] | 1 | 2021-08-20T00:16:41.000Z | 2021-08-20T00:16:41.000Z | app/calculator/models.py | ShivanS93/optomcalc | 62ecd563c6e54fc6c5398bb988f4ab8421dbad64 | [
"MIT"
] | 11 | 2021-06-23T10:34:45.000Z | 2021-08-29T04:34:15.000Z | app/calculator/models.py | ShivanS93/optomcalc | 62ecd563c6e54fc6c5398bb988f4ab8421dbad64 | [
"MIT"
] | null | null | null | from django.db import models
# TODO: Count number of times files are accessed?
| 20 | 49 | 0.775 | 13 | 80 | 4.769231 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175 | 80 | 3 | 50 | 26.666667 | 0.939394 | 0.5875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 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 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
fb4d81e7f2febac26734d48a47cbdbd6aec75059 | 105 | py | Python | Wrapping/Python/paraview/apps/glance.py | xj361685640/ParaView | 0a27eef5abc5a0c0472ab0bc806c4db881156e64 | [
"Apache-2.0",
"BSD-3-Clause"
] | 815 | 2015-01-03T02:14:04.000Z | 2022-03-26T07:48:07.000Z | Wrapping/Python/paraview/apps/glance.py | xj361685640/ParaView | 0a27eef5abc5a0c0472ab0bc806c4db881156e64 | [
"Apache-2.0",
"BSD-3-Clause"
] | 9 | 2015-04-28T20:10:37.000Z | 2021-08-20T18:19:01.000Z | Wrapping/Python/paraview/apps/glance.py | xj361685640/ParaView | 0a27eef5abc5a0c0472ab0bc806c4db881156e64 | [
"Apache-2.0",
"BSD-3-Clause"
] | 328 | 2015-01-22T23:11:46.000Z | 2022-03-14T06:07:52.000Z | # for now, skipping this.
# we may eventually add support for this.
def is_supported():
return False
| 21 | 41 | 0.72381 | 16 | 105 | 4.6875 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 105 | 4 | 42 | 26.25 | 0.892857 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0.5 | 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 | 0 | 1 | 1 | 0 | 0 | 6 |
fb5a5ca37e20286f996fe2d563387c95504d9e21 | 68 | py | Python | myproject/basic_utils.py | clarka34/myproject | a24705773363beae37acfe7ba915d0b8f5f98ce1 | [
"BSD-2-Clause"
] | null | null | null | myproject/basic_utils.py | clarka34/myproject | a24705773363beae37acfe7ba915d0b8f5f98ce1 | [
"BSD-2-Clause"
] | null | null | null | myproject/basic_utils.py | clarka34/myproject | a24705773363beae37acfe7ba915d0b8f5f98ce1 | [
"BSD-2-Clause"
] | null | null | null | from .constants import pi
def multiple_by_10(x):
return 10 * x
| 13.6 | 25 | 0.705882 | 12 | 68 | 3.833333 | 0.833333 | 0.130435 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075472 | 0.220588 | 68 | 4 | 26 | 17 | 0.792453 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
fba8a4725d84ab8821df1c0dee45252f06d68079 | 409 | py | Python | hmtl/dataset_readers/__init__.py | citrusjunos/mwe_aware_dependency_parsing | 4b3aca38463293e0f819582e117a8878465b20e5 | [
"MIT"
] | null | null | null | hmtl/dataset_readers/__init__.py | citrusjunos/mwe_aware_dependency_parsing | 4b3aca38463293e0f819582e117a8878465b20e5 | [
"MIT"
] | null | null | null | hmtl/dataset_readers/__init__.py | citrusjunos/mwe_aware_dependency_parsing | 4b3aca38463293e0f819582e117a8878465b20e5 | [
"MIT"
] | null | null | null | # coding: utf-8
from hmtl.dataset_readers.dependency_parser_ontonotes import DependencyOntonotesReader
from hmtl.dataset_readers.vmwe_ontonotes import VerbalMweConllReader
from hmtl.dataset_readers.fixed_mwe_ontonotes import FixedMweConllReader
from hmtl.dataset_readers.fixed_mwe_ud import FixedMweUdConllReader
from ... | 45.444444 | 93 | 0.90709 | 47 | 409 | 7.595745 | 0.446809 | 0.112045 | 0.210084 | 0.308123 | 0.380952 | 0.380952 | 0 | 0 | 0 | 0 | 0 | 0.002604 | 0.061125 | 409 | 8 | 94 | 51.125 | 0.927083 | 0.031785 | 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 |
fbb52a82ef10d651ee7ac5be105a4abce1010020 | 207 | py | Python | modules/base/BasePython.py | tellurion-code/tellurion-bot-py | 0b0d580f4479d814ac6239a6bea07ee4f2a0ab70 | [
"MIT"
] | 9 | 2018-05-06T15:52:45.000Z | 2021-07-14T12:06:46.000Z | modules/base/BasePython.py | epenserdiscord/epenser-bot-py | a225bc5ab505d1bde9fe153c44e34554588fe238 | [
"MIT"
] | 4 | 2018-06-13T07:21:53.000Z | 2021-06-11T20:49:18.000Z | modules/base/BasePython.py | tellurion-code/tellurion-bot-py | 0b0d580f4479d814ac6239a6bea07ee4f2a0ab70 | [
"MIT"
] | 12 | 2018-06-25T18:29:03.000Z | 2021-06-10T06:26:32.000Z | """Base class for module, never use directly !!!"""
from modules.base.Base import BaseClass
class BaseClassPython(BaseClass):
"""Base class for all modules, Override it to make submodules"""
pass
| 23 | 68 | 0.719807 | 27 | 207 | 5.518519 | 0.703704 | 0.120805 | 0.161074 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 207 | 8 | 69 | 25.875 | 0.871345 | 0.502415 | 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 |
836f958867116b1defb1b79f73a8cd7992224969 | 209 | py | Python | flask/examples/base_api/app/modules/__init__.py | timpaffrath/tutorials | 0ef48677c2c75fc42039536b63f42035bf3710d9 | [
"Apache-2.0"
] | 86 | 2019-01-02T20:40:39.000Z | 2022-03-18T03:15:13.000Z | flask/examples/base_api/app/modules/__init__.py | timpaffrath/tutorials | 0ef48677c2c75fc42039536b63f42035bf3710d9 | [
"Apache-2.0"
] | 22 | 2019-01-15T19:42:08.000Z | 2022-01-03T23:04:22.000Z | flask/examples/base_api/app/modules/__init__.py | timpaffrath/tutorials | 0ef48677c2c75fc42039536b63f42035bf3710d9 | [
"Apache-2.0"
] | 54 | 2019-07-15T12:11:42.000Z | 2022-02-22T19:37:25.000Z | def init_app(app, **kwargs):
from importlib import import_module
for module_name in app.config['ENABLED_MODULES']:
import_module('.%s' % module_name, package=__name__).init_app(app, **kwargs)
| 34.833333 | 84 | 0.712919 | 29 | 209 | 4.758621 | 0.551724 | 0.101449 | 0.144928 | 0.231884 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 209 | 5 | 85 | 41.8 | 0.784091 | 0 | 0 | 0 | 0 | 0 | 0.086124 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 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 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
83739818d82290726f1f950c88e0005af2596ae1 | 33,646 | py | Python | tests/test_charge.py | hoopit/dj-stripe | 726853081cd95be86777492c23fb61de5d35a72a | [
"MIT"
] | 1 | 2020-07-28T21:31:05.000Z | 2020-07-28T21:31:05.000Z | tests/test_charge.py | hoopit/dj-stripe | 726853081cd95be86777492c23fb61de5d35a72a | [
"MIT"
] | null | null | null | tests/test_charge.py | hoopit/dj-stripe | 726853081cd95be86777492c23fb61de5d35a72a | [
"MIT"
] | null | null | null | """
dj-stripe Charge Model Tests.
"""
from copy import deepcopy
from decimal import Decimal
from unittest.mock import call, create_autospec, patch
from django.contrib.auth import get_user_model
from django.test.testcases import TestCase
from djstripe.enums import ChargeStatus, LegacySourceType
from djstripe.models im... | 34.544148 | 98 | 0.664864 | 3,554 | 33,646 | 5.951322 | 0.071469 | 0.052196 | 0.052243 | 0.058721 | 0.832916 | 0.796038 | 0.780247 | 0.76507 | 0.74266 | 0.726538 | 0 | 0.004298 | 0.24627 | 33,646 | 973 | 99 | 34.579651 | 0.829732 | 0.032307 | 0 | 0.663855 | 0 | 0 | 0.135205 | 0.111875 | 0 | 0 | 0 | 0.001028 | 0.13253 | 1 | 0.018072 | false | 0 | 0.018072 | 0 | 0.037349 | 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 |
83ac3e43a1fef044d23429b78c828393af266701 | 213 | py | Python | myblog/apps/news/views.py | IAMJACKLiNOTBRUCELi/MyBlog | 6927b21873d1c866d79fe03b3afdbc6bd3812374 | [
"MIT"
] | 1 | 2019-02-17T07:53:13.000Z | 2019-02-17T07:53:13.000Z | myblog/apps/news/views.py | IAMJACKLiNOTBRUCELi/MyBlog | 6927b21873d1c866d79fe03b3afdbc6bd3812374 | [
"MIT"
] | null | null | null | myblog/apps/news/views.py | IAMJACKLiNOTBRUCELi/MyBlog | 6927b21873d1c866d79fe03b3afdbc6bd3812374 | [
"MIT"
] | null | null | null | from django.shortcuts import render
def news_index(request):
return render(request, 'news/index.html')
def search_index(request):
return render(request, 'news/search.html')
# Create your views here.
| 16.384615 | 46 | 0.737089 | 29 | 213 | 5.344828 | 0.551724 | 0.116129 | 0.232258 | 0.309677 | 0.451613 | 0.451613 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15493 | 213 | 12 | 47 | 17.75 | 0.861111 | 0.107981 | 0 | 0 | 0 | 0 | 0.164894 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0.2 | 0.4 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
83c743294b6f3253d5ef604f7b2662a2bb7033af | 14,168 | py | Python | backend/custom_models/migrations/0022_update_pizza_test_structure.py | code-for-canada/django-nginx-reactjs-docker | 12b2f79872273bb0ac4736d709b8e0904bc54258 | [
"MIT"
] | 3 | 2019-01-04T10:53:03.000Z | 2020-01-29T16:20:38.000Z | backend/custom_models/migrations/0022_update_pizza_test_structure.py | code-for-canada/django-nginx-reactjs-docker | 12b2f79872273bb0ac4736d709b8e0904bc54258 | [
"MIT"
] | 215 | 2019-01-04T11:34:03.000Z | 2019-07-22T13:36:18.000Z | backend/custom_models/migrations/0022_update_pizza_test_structure.py | code-for-canada/django-nginx-reactjs-docker | 12b2f79872273bb0ac4736d709b8e0904bc54258 | [
"MIT"
] | 8 | 2019-01-08T22:45:11.000Z | 2020-01-29T16:20:40.000Z | # Generated by Django 2.1.7 on 2019-06-03 15:27
# Edited by J. Michael Cherry to correct the sample test child structure
from django.utils import timezone
from django.db import migrations
def reoder_emib_test(apps, schema_editor):
# get models
language = apps.get_model("custom_models", "Language")
item_t... | 31.766816 | 108 | 0.648857 | 1,924 | 14,168 | 4.443867 | 0.067048 | 0.052398 | 0.098246 | 0.133333 | 0.815789 | 0.801754 | 0.795673 | 0.766901 | 0.689357 | 0.641871 | 0 | 0.022313 | 0.240824 | 14,168 | 445 | 109 | 31.838202 | 0.772592 | 0.063594 | 0 | 0.552561 | 1 | 0 | 0.053737 | 0.002872 | 0 | 0 | 0 | 0 | 0 | 1 | 0.005391 | false | 0 | 0.005391 | 0 | 0.018868 | 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 |
f7a544468dc1032d9d3c9584aa7551541d2bea1d | 27 | py | Python | tabout/__init__.py | daverbuj/Tabout | 9474e86954905d843bb8ee773bac1423cd5ab69a | [
"MIT"
] | null | null | null | tabout/__init__.py | daverbuj/Tabout | 9474e86954905d843bb8ee773bac1423cd5ab69a | [
"MIT"
] | null | null | null | tabout/__init__.py | daverbuj/Tabout | 9474e86954905d843bb8ee773bac1423cd5ab69a | [
"MIT"
] | null | null | null | from .tabout import alertme | 27 | 27 | 0.851852 | 4 | 27 | 5.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 27 | 1 | 27 | 27 | 0.958333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f7aa9fff50af5ad37f2bc2e2e9fef461f9bcc354 | 5,166 | py | Python | pages/Wine_type.py | ubco-mds-2020-labs/WineVison | 93778bf055c3c59913718f802a652c47ec6a849a | [
"MIT"
] | 1 | 2021-02-26T01:46:22.000Z | 2021-02-26T01:46:22.000Z | pages/Wine_type.py | ubco-mds-2020-labs/dashboard-project-data551_group8 | 93778bf055c3c59913718f802a652c47ec6a849a | [
"MIT"
] | 1 | 2021-03-10T18:51:21.000Z | 2021-03-10T19:15:36.000Z | pages/Wine_type.py | ubco-mds-2020-labs/dashboard-project-data551_group8 | 93778bf055c3c59913718f802a652c47ec6a849a | [
"MIT"
] | null | null | null | import numpy as np
import pandas as pd
import altair as alt
import dash
import dash_html_components as html
import dash_core_components as dcc
from dash.dependencies import Input, Output
import dash_bootstrap_components as dbc
from utils import Header, make_dash_table,Header2
# Allow large data set
alt.data_transfo... | 25.574257 | 82 | 0.427023 | 491 | 5,166 | 4.452138 | 0.264766 | 0.027447 | 0.032937 | 0.046661 | 0.773102 | 0.752973 | 0.728271 | 0.728271 | 0.728271 | 0.675206 | 0 | 0.025943 | 0.425474 | 5,166 | 202 | 83 | 25.574257 | 0.71058 | 0.027681 | 0 | 0.835526 | 0 | 0 | 0.183413 | 0.012161 | 0 | 0 | 0 | 0 | 0 | 1 | 0.013158 | false | 0 | 0.059211 | 0.013158 | 0.085526 | 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 |
f7dff73421c2ad676c1d6e72861402c39813c3cd | 43 | py | Python | pykonkeio/__init__.py | jedmeng/python-konkeio | 41cc091d13f9c97611b1bcf12a2980010fde88e1 | [
"Apache-2.0"
] | 14 | 2018-04-22T19:07:34.000Z | 2021-10-11T13:29:37.000Z | pykonkeio/__init__.py | jedmeng/python-konkeio | 41cc091d13f9c97611b1bcf12a2980010fde88e1 | [
"Apache-2.0"
] | 6 | 2018-04-30T13:31:57.000Z | 2021-04-07T11:33:27.000Z | pykonkeio/__init__.py | jedmeng/python-konkeio | 41cc091d13f9c97611b1bcf12a2980010fde88e1 | [
"Apache-2.0"
] | 8 | 2018-04-30T15:45:44.000Z | 2021-08-12T08:47:28.000Z | from .__main__ import KonekeDevice, Switch
| 21.5 | 42 | 0.837209 | 5 | 43 | 6.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116279 | 43 | 1 | 43 | 43 | 0.842105 | 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 |
f71262a1fa4b6dff99df3d2b7d5579426f7bbd7e | 159 | py | Python | dashboard/rest_api/admin.py | rauterRaphael/HomeMonitoringSystem | 779379e2d6144ad11b79422eadebc753b6b936af | [
"MIT"
] | null | null | null | dashboard/rest_api/admin.py | rauterRaphael/HomeMonitoringSystem | 779379e2d6144ad11b79422eadebc753b6b936af | [
"MIT"
] | null | null | null | dashboard/rest_api/admin.py | rauterRaphael/HomeMonitoringSystem | 779379e2d6144ad11b79422eadebc753b6b936af | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import SensorNode
from .models import SensorData
admin.site.register(SensorNode)
admin.site.register(SensorData) | 26.5 | 32 | 0.842767 | 21 | 159 | 6.380952 | 0.47619 | 0.149254 | 0.238806 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08805 | 159 | 6 | 33 | 26.5 | 0.924138 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 1 | 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 |
f71883577f39ef70d1dc2c52c00b5ff024d4497c | 1,400 | py | Python | likes/urls.py | CMPUT404-stev-sand-pant-ashw-mehr/CMPUT404-stev-sand-pant-ashw-mehr-repo | 0f96d938e9e3ec51103f2b20cb9673bd0b145343 | [
"MIT"
] | null | null | null | likes/urls.py | CMPUT404-stev-sand-pant-ashw-mehr/CMPUT404-stev-sand-pant-ashw-mehr-repo | 0f96d938e9e3ec51103f2b20cb9673bd0b145343 | [
"MIT"
] | 50 | 2021-10-08T00:01:43.000Z | 2021-12-06T06:34:29.000Z | likes/urls.py | CMPUT404-stev-sand-pant-ashw-mehr/CMPUT404-stev-sand-pant-ashw-mehr-repo | 0f96d938e9e3ec51103f2b20cb9673bd0b145343 | [
"MIT"
] | null | null | null | from django.urls import re_path
from .api import PostLikeViewSet, CommentLikeViewSet, AuthorLikeViewSet
urlpatterns = [
re_path(r'^author/(?P<author_id>[a-z0-9-\.-]+)/post/(?P<post_id>[a-z0-9-:\.-]+)/likes/?$', PostLikeViewSet.as_view({
"get": "get_post_likes",
"post": "add_post_like",
... | 46.666667 | 166 | 0.531429 | 183 | 1,400 | 3.830601 | 0.163934 | 0.055635 | 0.07418 | 0.094151 | 0.830243 | 0.830243 | 0.830243 | 0.798859 | 0.798859 | 0.798859 | 0 | 0.023152 | 0.197857 | 1,400 | 30 | 167 | 46.666667 | 0.601069 | 0 | 0 | 0.576923 | 0 | 0.192308 | 0.499643 | 0.316203 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.076923 | 0 | 0.076923 | 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 |
f72726ceb124706a8c674c54488644e60cd85184 | 3,806 | py | Python | test/validation/test_request_history.py | thenetcircle/dino | 1047c3458e91a1b4189e9f48f1393b3a68a935b3 | [
"Apache-2.0"
] | 150 | 2016-10-05T11:09:36.000Z | 2022-03-06T16:24:41.000Z | test/validation/test_request_history.py | thenetcircle/dino | 1047c3458e91a1b4189e9f48f1393b3a68a935b3 | [
"Apache-2.0"
] | 27 | 2017-03-02T03:37:02.000Z | 2022-02-10T04:59:54.000Z | test/validation/test_request_history.py | thenetcircle/dino | 1047c3458e91a1b4189e9f48f1393b3a68a935b3 | [
"Apache-2.0"
] | 21 | 2016-11-11T07:51:48.000Z | 2020-04-26T21:38:33.000Z | # Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the Li... | 38.06 | 77 | 0.696532 | 514 | 3,806 | 4.844358 | 0.202335 | 0.056225 | 0.056225 | 0.072289 | 0.735341 | 0.735341 | 0.722088 | 0.722088 | 0.719277 | 0.698394 | 0 | 0.006601 | 0.203889 | 3,806 | 99 | 78 | 38.444444 | 0.815182 | 0.135838 | 0 | 0.753425 | 0 | 0 | 0.023497 | 0 | 0 | 0 | 0 | 0 | 0.136986 | 1 | 0.150685 | false | 0 | 0.041096 | 0 | 0.205479 | 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 |
f7552733e67cd303b792bd7edb19e00c5ff71dbd | 135 | py | Python | authserver/utilities/errors.py | brighthive/authserver | 848201324761269bc96b75ad9cb5242e2a6ee5a5 | [
"MIT"
] | 3 | 2019-07-31T16:10:26.000Z | 2021-05-14T20:06:07.000Z | authserver/utilities/errors.py | brighthive/authserver | 848201324761269bc96b75ad9cb5242e2a6ee5a5 | [
"MIT"
] | 25 | 2019-08-20T20:19:59.000Z | 2021-05-14T19:06:41.000Z | authserver/utilities/errors.py | brighthive/authserver | 848201324761269bc96b75ad9cb5242e2a6ee5a5 | [
"MIT"
] | 1 | 2020-04-29T18:18:21.000Z | 2020-04-29T18:18:21.000Z | class RecordNotFoundError(Exception):
def __init__(self, record_id):
super().__init__()
self.record_id = record_id
| 27 | 37 | 0.681481 | 15 | 135 | 5.4 | 0.6 | 0.296296 | 0.345679 | 0.395062 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.214815 | 135 | 4 | 38 | 33.75 | 0.764151 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f7880b58c4e3f334c1e437a884d5d3cfc2e7b4fb | 3,372 | py | Python | main/controller/cityobject_controller.py | emhayusa/4d_api | cbf380c150d6f7a01954346492fe9a7751a6603b | [
"MIT"
] | null | null | null | main/controller/cityobject_controller.py | emhayusa/4d_api | cbf380c150d6f7a01954346492fe9a7751a6603b | [
"MIT"
] | null | null | null | main/controller/cityobject_controller.py | emhayusa/4d_api | cbf380c150d6f7a01954346492fe9a7751a6603b | [
"MIT"
] | null | null | null | from flask import request, jsonify
from flask_restplus import Resource
from ..config import CITYDB_CONNECTION_SERVER, CITYDB_CONNECTION_PORT, POSTGRES_DB_CITY, CITYDB_CONNECTION_USER, CITYDB_CONNECTION_PASSWORD
from ..util.dto import CityObjectDto
import psycopg2
api = CityObjectDto.api
@api.route('/')
class CityOb... | 34.408163 | 179 | 0.713523 | 480 | 3,372 | 4.8125 | 0.227083 | 0.066667 | 0.018182 | 0.017316 | 0.77316 | 0.77316 | 0.77316 | 0.747186 | 0.747186 | 0.747186 | 0 | 0.004979 | 0.166074 | 3,372 | 98 | 180 | 34.408163 | 0.816501 | 0.36121 | 0 | 0.679245 | 0 | 0 | 0.117062 | 0.011848 | 0 | 0 | 0 | 0 | 0 | 1 | 0.037736 | false | 0.056604 | 0.09434 | 0 | 0.245283 | 0.150943 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
e3b7a1cabe88b9ddd891af70ac6642e857954180 | 118 | py | Python | chat/context_processors.py | aseem-hegshetye/Video_call_and_chat_in_Django | 5a4d20079930a83224e7b4a4ad3afdf9cf66e128 | [
"MIT"
] | 42 | 2020-10-16T14:31:36.000Z | 2022-03-08T06:12:02.000Z | chat/context_processors.py | JohnKinyanjui/Video_call_and_chat_in_Django | 5a4d20079930a83224e7b4a4ad3afdf9cf66e128 | [
"MIT"
] | 1 | 2021-03-16T22:34:32.000Z | 2021-03-16T22:34:32.000Z | chat/context_processors.py | JohnKinyanjui/Video_call_and_chat_in_Django | 5a4d20079930a83224e7b4a4ad3afdf9cf66e128 | [
"MIT"
] | 22 | 2020-11-05T07:49:06.000Z | 2022-01-20T10:13:51.000Z | import os
def redishost_processor(request):
return {'redishost': os.environ.get('REDISHOST', '127.0.0.1:8000')}
| 19.666667 | 71 | 0.70339 | 17 | 118 | 4.823529 | 0.764706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096154 | 0.118644 | 118 | 5 | 72 | 23.6 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0.271186 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
5422546ece5da8fb71c1d22bce5fe4d550c35a5c | 23 | py | Python | __init__.py | margrietpalm/im2movie | 073f6a0944e0d9819ba18bd42c665cec7d0125f0 | [
"MIT"
] | 1 | 2020-04-04T19:30:09.000Z | 2020-04-04T19:30:09.000Z | __init__.py | margrietpalm/im2movie | 073f6a0944e0d9819ba18bd42c665cec7d0125f0 | [
"MIT"
] | null | null | null | __init__.py | margrietpalm/im2movie | 073f6a0944e0d9819ba18bd42c665cec7d0125f0 | [
"MIT"
] | null | null | null | from .im2movie import * | 23 | 23 | 0.782609 | 3 | 23 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.05 | 0.130435 | 23 | 1 | 23 | 23 | 0.85 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
54257f07563add917347b52e00a4b53b416b2d23 | 240 | py | Python | src/utils.py | shimech/snkrs-pass-checker | 178ce65815adf5a342fff57a464b3b6073e53227 | [
"MIT"
] | 2 | 2021-03-04T04:44:54.000Z | 2021-03-22T14:53:06.000Z | src/utils.py | shimech/snkrs-pass-checker | 178ce65815adf5a342fff57a464b3b6073e53227 | [
"MIT"
] | null | null | null | src/utils.py | shimech/snkrs-pass-checker | 178ce65815adf5a342fff57a464b3b6073e53227 | [
"MIT"
] | null | null | null | import datetime
class Utils:
@staticmethod
def get_datetime_now():
return datetime.datetime.now()
@classmethod
def print_log(cls, description):
print("[{}] {}".format(cls.get_datetime_now(), description))
| 20 | 68 | 0.658333 | 26 | 240 | 5.884615 | 0.576923 | 0.215686 | 0.183007 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2125 | 240 | 11 | 69 | 21.818182 | 0.809524 | 0 | 0 | 0 | 0 | 0 | 0.029167 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.125 | 0.125 | 0.625 | 0.25 | 1 | 0 | 0 | null | 1 | 1 | 0 | 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 |
5428759074458f38e4aa7cb1060b0290b76c4e71 | 141 | py | Python | glue_genomics_viewers/genome_track/qt/__init__.py | nmearl/glue-genomics-viewers | d6ddd39dbafdb8dad785bcac3f20f3f0fd6abb9b | [
"BSD-3-Clause"
] | null | null | null | glue_genomics_viewers/genome_track/qt/__init__.py | nmearl/glue-genomics-viewers | d6ddd39dbafdb8dad785bcac3f20f3f0fd6abb9b | [
"BSD-3-Clause"
] | 17 | 2021-07-22T14:25:01.000Z | 2021-09-17T16:22:18.000Z | glue_genomics_viewers/genome_track/qt/__init__.py | nmearl/glue-genomics-viewers | d6ddd39dbafdb8dad785bcac3f20f3f0fd6abb9b | [
"BSD-3-Clause"
] | 1 | 2021-08-15T06:33:09.000Z | 2021-08-15T06:33:09.000Z | from .data_viewer import GenomeTrackViewer # noqa
def setup():
from glue.config import qt_client
qt_client.add(GenomeTrackViewer)
| 20.142857 | 50 | 0.765957 | 18 | 141 | 5.833333 | 0.722222 | 0.152381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170213 | 141 | 6 | 51 | 23.5 | 0.897436 | 0.028369 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
58393a6585a199121e801ace958640271f8bf9fd | 421 | py | Python | mlapp/utils/exceptions/framework_exceptions.py | kerenleibovich/mlapp | 0b8dfaba7a7070ab68cb29ff61dd1c7dd8076693 | [
"Apache-2.0"
] | 33 | 2021-02-26T10:41:09.000Z | 2021-11-07T12:35:32.000Z | mlapp/utils/exceptions/framework_exceptions.py | kerenleibovich/mlapp | 0b8dfaba7a7070ab68cb29ff61dd1c7dd8076693 | [
"Apache-2.0"
] | 17 | 2021-03-04T15:37:21.000Z | 2021-04-06T12:00:13.000Z | mlapp/utils/exceptions/framework_exceptions.py | kerenleibovich/mlapp | 0b8dfaba7a7070ab68cb29ff61dd1c7dd8076693 | [
"Apache-2.0"
] | 9 | 2021-03-03T20:02:41.000Z | 2021-10-05T13:03:56.000Z | from mlapp.utils.exceptions.base_exceptions import FrameworkException
class SkipServiceException(FrameworkException):
pass
class SkipToLocalException(FrameworkException):
pass
class MissingConnectionException(FrameworkException):
pass
class UnsupportedFileType(FrameworkException):
pass
class D... | 16.192308 | 69 | 0.812352 | 32 | 421 | 10.65625 | 0.46875 | 0.387097 | 0.395894 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137767 | 421 | 25 | 70 | 16.84 | 0.939394 | 0 | 0 | 0.461538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.461538 | 0.076923 | 0 | 0.538462 | 0 | 0 | 0 | 1 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
583bcb4d3457620f68b3fc22b26539f3183fbe1c | 31 | py | Python | src/dcscaffold/__init__.py | egyanamtech/dcs | 22152da925afb86de789607a722a92d0aeb053dc | [
"MIT"
] | null | null | null | src/dcscaffold/__init__.py | egyanamtech/dcs | 22152da925afb86de789607a722a92d0aeb053dc | [
"MIT"
] | 1 | 2021-06-14T06:25:22.000Z | 2021-06-21T10:33:26.000Z | src/dcscaffold/__init__.py | egyanamtech/dcscaffold | 22152da925afb86de789607a722a92d0aeb053dc | [
"MIT"
] | null | null | null | from .libdcs import DCScaffold
| 15.5 | 30 | 0.83871 | 4 | 31 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 31 | 1 | 31 | 31 | 0.962963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
58488cb6062fc879df76940e240a823895336d22 | 29 | py | Python | sendowl_python/__init__.py | aaron235/sendowl-python | a519431d88359f2147dc5288cf78ab579fc4a5d7 | [
"MIT"
] | null | null | null | sendowl_python/__init__.py | aaron235/sendowl-python | a519431d88359f2147dc5288cf78ab579fc4a5d7 | [
"MIT"
] | null | null | null | sendowl_python/__init__.py | aaron235/sendowl-python | a519431d88359f2147dc5288cf78ab579fc4a5d7 | [
"MIT"
] | null | null | null | from .sendowl import SendOwl
| 14.5 | 28 | 0.827586 | 4 | 29 | 6 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 29 | 1 | 29 | 29 | 0.96 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
586e58ed2b9ef3d094c9d4de36b28fe5f5ddce53 | 87 | py | Python | custom/_legacy/pathindia/models.py | johan--/commcare-hq | 86ee99c54f55ee94e4c8f2f6f30fc44e10e69ebd | [
"BSD-3-Clause"
] | null | null | null | custom/_legacy/pathindia/models.py | johan--/commcare-hq | 86ee99c54f55ee94e4c8f2f6f30fc44e10e69ebd | [
"BSD-3-Clause"
] | 1 | 2022-03-12T01:03:25.000Z | 2022-03-12T01:03:25.000Z | custom/apps/gsid/models.py | johan--/commcare-hq | 86ee99c54f55ee94e4c8f2f6f30fc44e10e69ebd | [
"BSD-3-Clause"
] | null | null | null | # Stub models file
from dimagi.ext.couchdbkit import Document
class _(Document): pass
| 17.4 | 42 | 0.793103 | 12 | 87 | 5.666667 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 87 | 4 | 43 | 21.75 | 0.906667 | 0.183908 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0.5 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
5870077891d97980605d05f626efe73bb1a2140d | 168 | py | Python | python/ray/experimental/__init__.py | kifarid/ray | 43c97c2afb979987be82fa50048674e9b6776d5d | [
"Apache-2.0"
] | 3 | 2021-08-29T20:41:21.000Z | 2022-01-31T18:47:51.000Z | python/ray/experimental/__init__.py | QPC-database/amazon-ray | 55aa4cac02a412b96252aea4e8c3f177a28324a1 | [
"Apache-2.0"
] | 70 | 2021-01-13T04:28:37.000Z | 2022-03-12T08:03:17.000Z | python/ray/experimental/__init__.py | majacQ/ray | bc08c6cdcc7ddf4da751ca2a972defd3db509061 | [
"Apache-2.0"
] | 1 | 2020-01-16T20:52:25.000Z | 2020-01-16T20:52:25.000Z | from ray.experimental.dynamic_resources import set_resource
from ray.experimental.packaging.load_package import load_package
__all__ = ["set_resource", "load_package"]
| 42 | 64 | 0.85119 | 22 | 168 | 6.045455 | 0.545455 | 0.24812 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 168 | 3 | 65 | 56 | 0.852564 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 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 |
543ccf0811de8285723b9fa3bb2cc83cd011ad63 | 118 | py | Python | parsers/__init__.py | girdeux31/oposGV | e4905de3713cd63e1930712f1b34c3816e85494b | [
"MIT"
] | null | null | null | parsers/__init__.py | girdeux31/oposGV | e4905de3713cd63e1930712f1b34c3816e85494b | [
"MIT"
] | null | null | null | parsers/__init__.py | girdeux31/oposGV | e4905de3713cd63e1930712f1b34c3816e85494b | [
"MIT"
] | null | null | null |
from .part_2_parser import Part2Parser
from .part_3_parser import Part3Parser
from .part_1_parser import Part1Parser
| 23.6 | 38 | 0.864407 | 18 | 118 | 5.333333 | 0.555556 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.057143 | 0.110169 | 118 | 4 | 39 | 29.5 | 0.857143 | 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 |
544784d5783572b762880905d415a737567508e0 | 33,719 | py | Python | data_loader/data_loaders.py | lixiaoyu0575/physionet_challenge2020_pytorch | 39b5aeeead440eaa88d6fdaf4a8a70c15373e062 | [
"MIT"
] | 1 | 2021-05-24T08:09:30.000Z | 2021-05-24T08:09:30.000Z | data_loader/data_loaders.py | lixiaoyu0575/physionet_challenge2020_pytorch | 39b5aeeead440eaa88d6fdaf4a8a70c15373e062 | [
"MIT"
] | null | null | null | data_loader/data_loaders.py | lixiaoyu0575/physionet_challenge2020_pytorch | 39b5aeeead440eaa88d6fdaf4a8a70c15373e062 | [
"MIT"
] | null | null | null | import os
import numpy as np
import pandas as pd
from scipy.io import loadmat
import torch
from torchvision import datasets, transforms
from torch.utils.data import TensorDataset, Dataset
from base import BaseDataLoader, BaseDataLoader2, BaseDataLoader3
from utils.dataset import ECGDatasetWithIndex
from sklearn.preproc... | 39.529894 | 233 | 0.613393 | 4,071 | 33,719 | 4.822894 | 0.073201 | 0.066008 | 0.015229 | 0.010085 | 0.797239 | 0.765967 | 0.74916 | 0.737751 | 0.726699 | 0.723082 | 0 | 0.026991 | 0.271509 | 33,719 | 853 | 234 | 39.529894 | 0.772309 | 0.129452 | 0 | 0.773788 | 0 | 0 | 0.05261 | 0.006572 | 0 | 0 | 0 | 0 | 0 | 1 | 0.021544 | false | 0.001795 | 0.034111 | 0 | 0.078995 | 0.105925 | 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 |
548604c03d350fdd5ffc18577f6e4abf985dccbc | 40,885 | py | Python | cockatrice/indexer_http.py | mosuka/basilisk | abe2de265af234bd78053ccc974ca4218a25cad3 | [
"Apache-2.0"
] | 17 | 2018-10-19T02:36:41.000Z | 2022-01-29T01:02:50.000Z | cockatrice/indexer_http.py | mosuka/basilisk | abe2de265af234bd78053ccc974ca4218a25cad3 | [
"Apache-2.0"
] | 23 | 2018-10-28T16:54:00.000Z | 2019-02-15T17:09:25.000Z | cockatrice/indexer_http.py | mosuka/basilisk | abe2de265af234bd78053ccc974ca4218a25cad3 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# Copyright (c) 2019 Minoru Osuka
#
# 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 l... | 37.926716 | 119 | 0.576666 | 4,441 | 40,885 | 5.034677 | 0.063499 | 0.09258 | 0.059931 | 0.033991 | 0.787334 | 0.771099 | 0.764032 | 0.746813 | 0.732144 | 0.721141 | 0 | 0.004731 | 0.317574 | 40,885 | 1,077 | 120 | 37.961931 | 0.796638 | 0.021426 | 0 | 0.734043 | 0 | 0 | 0.077652 | 0.013259 | 0 | 0 | 0 | 0 | 0 | 1 | 0.055556 | false | 0 | 0.018913 | 0 | 0.128842 | 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 |
b70917b41a354da047fd032cd7bdcc95d3787708 | 94 | py | Python | Problem1/Sets/Introduction to Sets.py | Joanna-O-Ben/ADM-HW1 | 0a914d4ab5462fa563980644d3f5d777af61aef9 | [
"MIT"
] | null | null | null | Problem1/Sets/Introduction to Sets.py | Joanna-O-Ben/ADM-HW1 | 0a914d4ab5462fa563980644d3f5d777af61aef9 | [
"MIT"
] | null | null | null | Problem1/Sets/Introduction to Sets.py | Joanna-O-Ben/ADM-HW1 | 0a914d4ab5462fa563980644d3f5d777af61aef9 | [
"MIT"
] | null | null | null | def average(array):
# your code goes here
return sum(set(array)) / len(set(array))
| 13.428571 | 44 | 0.62766 | 14 | 94 | 4.214286 | 0.785714 | 0.271186 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.234043 | 94 | 6 | 45 | 15.666667 | 0.819444 | 0.202128 | 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 |
b73035aa55417c7bb8e081d0ff59303b990b3fc9 | 27 | py | Python | plugins/pelican-plugins/libravatar/__init__.py | dbgriffith01/blog_source | bc5cd3e1ac1ff068de0cbb78b1470a7db743cd53 | [
"MIT"
] | 2 | 2021-03-25T06:13:29.000Z | 2021-03-26T16:55:26.000Z | plugins/pelican-plugins/libravatar/__init__.py | dbgriffith01/blog_source | bc5cd3e1ac1ff068de0cbb78b1470a7db743cd53 | [
"MIT"
] | 1 | 2021-12-13T20:50:25.000Z | 2021-12-13T20:50:25.000Z | pelican-plugins/libravatar/__init__.py | JN-Blog/jn-blog.com | 669bf9a9c6813f2b7980792fb137f6718077aea1 | [
"MIT"
] | 3 | 2021-03-24T11:58:31.000Z | 2022-01-12T16:03:06.000Z | from . libravatar import *
| 13.5 | 26 | 0.740741 | 3 | 27 | 6.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.185185 | 27 | 1 | 27 | 27 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3f99f35667c439c703e91a04111c909758cbe3f8 | 42 | py | Python | picbackend/views/v2/provider_plan_network_views/provider_network_views/__init__.py | bbcawodu/careadvisors-backend | 5ebd3c0fc189b2486cea92b2a13c0bd8a0ee3838 | [
"MIT"
] | null | null | null | picbackend/views/v2/provider_plan_network_views/provider_network_views/__init__.py | bbcawodu/careadvisors-backend | 5ebd3c0fc189b2486cea92b2a13c0bd8a0ee3838 | [
"MIT"
] | null | null | null | picbackend/views/v2/provider_plan_network_views/provider_network_views/__init__.py | bbcawodu/careadvisors-backend | 5ebd3c0fc189b2486cea92b2a13c0bd8a0ee3838 | [
"MIT"
] | null | null | null | from .views import *
from .tools import *
| 14 | 20 | 0.714286 | 6 | 42 | 5 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 42 | 2 | 21 | 21 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3fab485e7b86ef17a3791b5e2a74baaeb6006917 | 1,193 | py | Python | ProgettoLube/WebInspector/venv/Lib/site-packages/tensorflow/python/keras/api/_v2/keras/applications/efficientnet/__init__.py | Lube-Project/ProgettoLube | cbf33971e2c2e865783ec1a2302625539186a338 | [
"MIT"
] | null | null | null | ProgettoLube/WebInspector/venv/Lib/site-packages/tensorflow/python/keras/api/_v2/keras/applications/efficientnet/__init__.py | Lube-Project/ProgettoLube | cbf33971e2c2e865783ec1a2302625539186a338 | [
"MIT"
] | null | null | null | ProgettoLube/WebInspector/venv/Lib/site-packages/tensorflow/python/keras/api/_v2/keras/applications/efficientnet/__init__.py | Lube-Project/ProgettoLube | cbf33971e2c2e865783ec1a2302625539186a338 | [
"MIT"
] | 1 | 2021-01-28T01:57:41.000Z | 2021-01-28T01:57:41.000Z | # This file is MACHINE GENERATED! Do not edit.
# Generated by: tensorflow/python/tools/api/generator/create_python_api.py script.
"""EfficientNet models for Keras.
Reference paper:
- [EfficientNet: Rethinking Model Scaling for Convolutional Neural Networks]
(https://arxiv.org/abs/1905.11946) (ICML 2019)
"""
fr... | 44.185185 | 82 | 0.855826 | 139 | 1,193 | 7.244604 | 0.417266 | 0.174777 | 0.19861 | 0.248262 | 0.546177 | 0.546177 | 0.546177 | 0 | 0 | 0 | 0 | 0.019161 | 0.081308 | 1,193 | 26 | 83 | 45.884615 | 0.899635 | 0.255658 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.923077 | 0 | 0.923077 | 0.153846 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3fb06c11bbf0151f3faeb1dbb3fb33ff120ff0e8 | 31,533 | py | Python | cluster_vcf_records/tests/test_vcf_record.py | bricoletc/cluster_vcf_records | 12eed6746044cb5efa8746033eef94ac189f7fcf | [
"MIT"
] | 1 | 2018-01-08T18:28:34.000Z | 2018-01-08T18:28:34.000Z | cluster_vcf_records/tests/test_vcf_record.py | bricoletc/cluster_vcf_records | 12eed6746044cb5efa8746033eef94ac189f7fcf | [
"MIT"
] | 10 | 2018-07-24T09:39:57.000Z | 2020-12-16T14:28:13.000Z | cluster_vcf_records/tests/test_vcf_record.py | bricoletc/cluster_vcf_records | 12eed6746044cb5efa8746033eef94ac189f7fcf | [
"MIT"
] | 6 | 2018-01-08T14:09:19.000Z | 2019-02-11T16:27:55.000Z | import itertools
import unittest
import pyfastaq
from cluster_vcf_records import vcf_record
class TestVcfRecord(unittest.TestCase):
def test_VcfRecord_constructor(self):
"""test VcfRecord constructor"""
line = "ref_42\t11\tid_foo\tA\tG\t42.42\tPASS\tKMER=31;SVLEN=0;SVTYPE=SNP\tGT:COV:GT_CONF\t1/... | 48.068598 | 178 | 0.624203 | 4,879 | 31,533 | 3.890961 | 0.070506 | 0.06969 | 0.138432 | 0.142699 | 0.85551 | 0.820849 | 0.77402 | 0.730247 | 0.689159 | 0.675358 | 0 | 0.086178 | 0.206609 | 31,533 | 655 | 179 | 48.141985 | 0.672636 | 0.02648 | 0 | 0.397138 | 0 | 0.162791 | 0.339471 | 0.324034 | 0 | 0 | 0 | 0 | 0.252236 | 1 | 0.041145 | false | 0.218247 | 0.007156 | 0 | 0.050089 | 0.001789 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
3fbfef7fb8ff3cd705c9e378c801c802d4c959fe | 78 | py | Python | cilantro_audit/admin_page.py | CapstoneCilantro/CilantroAuditNewFeature | 10b4548b4d6178bbbb5ba1d5fd46f5b7c51a527d | [
"MIT"
] | null | null | null | cilantro_audit/admin_page.py | CapstoneCilantro/CilantroAuditNewFeature | 10b4548b4d6178bbbb5ba1d5fd46f5b7c51a527d | [
"MIT"
] | null | null | null | cilantro_audit/admin_page.py | CapstoneCilantro/CilantroAuditNewFeature | 10b4548b4d6178bbbb5ba1d5fd46f5b7c51a527d | [
"MIT"
] | null | null | null | from kivy.uix.screenmanager import Screen
class AdminPage(Screen):
pass
| 13 | 41 | 0.769231 | 10 | 78 | 6 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 78 | 5 | 42 | 15.6 | 0.923077 | 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 |
b20bf942734d499a5745c321df14e6011ee12416 | 971 | py | Python | sickrage/application/sitecustomize.py | rootwyrm/lxc-media | 578872013250dbe92cd9a41f8780276a248a1972 | [
"Unlicense"
] | 3 | 2016-10-14T09:58:10.000Z | 2017-07-27T18:36:54.000Z | sickrage/application/sitecustomize.py | rootwyrm/lxc-media | 578872013250dbe92cd9a41f8780276a248a1972 | [
"Unlicense"
] | null | null | null | sickrage/application/sitecustomize.py | rootwyrm/lxc-media | 578872013250dbe92cd9a41f8780276a248a1972 | [
"Unlicense"
] | null | null | null | # sitecustomize.py
# application = global
# ver = 76e9f69f9b04199f0d4cb0395e234b06
import site
import platform
import os
import sys
site_version = sys.version[:3]
path = os.path.join(os.path.sep, 'usr', 'local', 'lib', 'python'+site_version)
if os.path.exists(path):
site.addsitedir(path)
path = os.path.join(os.... | 26.972222 | 95 | 0.699279 | 147 | 971 | 4.571429 | 0.176871 | 0.160714 | 0.089286 | 0.125 | 0.806548 | 0.806548 | 0.806548 | 0.806548 | 0.806548 | 0.806548 | 0 | 0.026807 | 0.116375 | 971 | 35 | 96 | 27.742857 | 0.75641 | 0.07827 | 0 | 0.521739 | 0 | 0 | 0.140449 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.173913 | 0 | 0.173913 | 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 |
b758a49a753bea89555e5469622d432b1c68aba0 | 23,196 | py | Python | tests/test_load_random.py | DolphDev/PSV | 1cb22e20b15e10b01f104b879debb4864b93bfe9 | [
"MIT"
] | null | null | null | tests/test_load_random.py | DolphDev/PSV | 1cb22e20b15e10b01f104b879debb4864b93bfe9 | [
"MIT"
] | 5 | 2018-01-08T14:32:02.000Z | 2020-08-11T13:12:20.000Z | tests/test_load_random.py | DolphDev/PSV | 1cb22e20b15e10b01f104b879debb4864b93bfe9 | [
"MIT"
] | null | null | null | import psv
import unittest
import string
from random import randint, uniform
import os
filenames = ["tests/dataset-folder-random/", "tests/dataset-only-one-random/", "tests/dataset-only-one-empty/", "tests/dataset-bad/"]
for filename in filenames:
if not os.path.exists(os.path.dirname(filename)):
try:
... | 43.276119 | 176 | 0.634032 | 3,212 | 23,196 | 4.414384 | 0.070361 | 0.091403 | 0.044996 | 0.072361 | 0.861979 | 0.843854 | 0.833063 | 0.796389 | 0.781578 | 0.75774 | 0 | 0.023337 | 0.229652 | 23,196 | 536 | 177 | 43.276119 | 0.770161 | 0.063201 | 0 | 0.502404 | 0 | 0 | 0.222801 | 0.175679 | 0 | 0 | 0 | 0 | 0.026442 | 1 | 0.084135 | false | 0.004808 | 0.0625 | 0 | 0.161058 | 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 |
b78ad899cb75ad2f5694b2b92c867953c48b11d1 | 118 | py | Python | Chapter 11/ch11_2_8.py | bpbpublications/TEST-YOUR-SKILLS-IN-PYTHON-LANGUAGE | f6a4194684515495d00aa38347a725dd08f39a0c | [
"MIT"
] | null | null | null | Chapter 11/ch11_2_8.py | bpbpublications/TEST-YOUR-SKILLS-IN-PYTHON-LANGUAGE | f6a4194684515495d00aa38347a725dd08f39a0c | [
"MIT"
] | null | null | null | Chapter 11/ch11_2_8.py | bpbpublications/TEST-YOUR-SKILLS-IN-PYTHON-LANGUAGE | f6a4194684515495d00aa38347a725dd08f39a0c | [
"MIT"
] | null | null | null | def func(t1):
m=min(tuple(t1))
print("Tuple has min value:", m)
func([1,11,111])
# Tuple has min value:1 | 19.666667 | 37 | 0.584746 | 22 | 118 | 3.136364 | 0.545455 | 0.231884 | 0.318841 | 0.463768 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098901 | 0.228814 | 118 | 6 | 38 | 19.666667 | 0.659341 | 0.177966 | 0 | 0 | 0 | 0 | 0.21978 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.25 | 0.25 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b7a0a11c0161f07928e28c958340d2507f438aef | 81 | py | Python | examples/pkg_data/testpkg/__init__.py | flupke/py2app | 8eb6c618f9c63d6ac970fb145a7f7782b71bcb4d | [
"MIT"
] | 81 | 2015-11-29T12:17:39.000Z | 2021-08-02T07:06:51.000Z | examples/pkg_data/testpkg/__init__.py | flupke/py2app | 8eb6c618f9c63d6ac970fb145a7f7782b71bcb4d | [
"MIT"
] | 11 | 2016-10-23T16:34:10.000Z | 2022-01-30T05:45:54.000Z | examples/pkg_data/testpkg/__init__.py | flupke/py2app | 8eb6c618f9c63d6ac970fb145a7f7782b71bcb4d | [
"MIT"
] | 21 | 2016-01-25T18:46:31.000Z | 2021-01-08T17:38:03.000Z | import os
print file(os.path.join(os.path.dirname(__file__), 'data.txt')).read()
| 27 | 70 | 0.728395 | 14 | 81 | 3.928571 | 0.714286 | 0.218182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.061728 | 81 | 2 | 71 | 40.5 | 0.723684 | 0 | 0 | 0 | 0 | 0 | 0.098765 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.5 | null | null | 0.5 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
b7af29444086a8c42e589db1538adc507ad32a8b | 16,952 | py | Python | lemur/api_keys/views.py | x-lhan/lemur | 1d8aaa4a242af610363e961167bc31691b358773 | [
"Apache-2.0"
] | null | null | null | lemur/api_keys/views.py | x-lhan/lemur | 1d8aaa4a242af610363e961167bc31691b358773 | [
"Apache-2.0"
] | null | null | null | lemur/api_keys/views.py | x-lhan/lemur | 1d8aaa4a242af610363e961167bc31691b358773 | [
"Apache-2.0"
] | null | null | null | """
.. module: lemur.api_keys.views
:platform: Unix
:copyright: (c) 2018 by Netflix Inc., see AUTHORS for more
:license: Apache, see LICENSE for more details.
.. moduleauthor:: Eric Coan <kungfury@instructure.com>
"""
from datetime import datetime
from flask import Blueprint, g
from flask_restful import ... | 29.227586 | 125 | 0.538403 | 1,814 | 16,952 | 4.895259 | 0.100331 | 0.030405 | 0.014865 | 0.027027 | 0.858559 | 0.832658 | 0.820833 | 0.809685 | 0.800676 | 0.762387 | 0 | 0.024055 | 0.359958 | 16,952 | 579 | 126 | 29.278066 | 0.794378 | 0.423726 | 0 | 0.656934 | 0 | 0 | 0.135071 | 0.010716 | 0 | 0 | 0 | 0 | 0 | 1 | 0.116788 | false | 0 | 0.065693 | 0 | 0.437956 | 0.014599 | 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 |
b7d3cab42c4d37aebf44fc08659d8435306f5701 | 26 | py | Python | update/__init__.py | gcarrarom/fancy-jira | c8e9d4dea328ffe86da6de54f67da0e2bde996f5 | [
"MIT"
] | 3 | 2021-03-31T21:20:49.000Z | 2021-11-13T11:14:38.000Z | update/__init__.py | gcarrarom/fancy-jira | c8e9d4dea328ffe86da6de54f67da0e2bde996f5 | [
"MIT"
] | null | null | null | update/__init__.py | gcarrarom/fancy-jira | c8e9d4dea328ffe86da6de54f67da0e2bde996f5 | [
"MIT"
] | null | null | null | from .update import update | 26 | 26 | 0.846154 | 4 | 26 | 5.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 26 | 1 | 26 | 26 | 0.956522 | 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 |
b7d5e441be78df1990177c978cfdeecdb65755a1 | 110 | py | Python | chainerio/__init__.py | msakai/pfio | 29e5c6d6b15d33c7e7e468b42c58d24dae3d8cad | [
"MIT"
] | null | null | null | chainerio/__init__.py | msakai/pfio | 29e5c6d6b15d33c7e7e468b42c58d24dae3d8cad | [
"MIT"
] | null | null | null | chainerio/__init__.py | msakai/pfio | 29e5c6d6b15d33c7e7e468b42c58d24dae3d8cad | [
"MIT"
] | null | null | null | import sys
# make sure pfio is in sys.modules
import pfio # NOQA
sys.modules[__name__] = __import__('pfio')
| 18.333333 | 42 | 0.736364 | 17 | 110 | 4.294118 | 0.588235 | 0.273973 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163636 | 110 | 5 | 43 | 22 | 0.793478 | 0.336364 | 0 | 0 | 0 | 0 | 0.057143 | 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 |
b7e7ea21e9bf51a86cf08c90aa7a692f550676ac | 26 | py | Python | lib/models/ops/__init__.py | ziniuwan/maed | 9e1f1c37eba81da86c8d9c62dc9be41a01abff5b | [
"MIT"
] | 145 | 2021-08-15T13:22:08.000Z | 2022-03-29T13:37:19.000Z | lib/models/ops/__init__.py | vkirilenko/maed | 9e1f1c37eba81da86c8d9c62dc9be41a01abff5b | [
"MIT"
] | 9 | 2021-09-17T14:58:15.000Z | 2022-03-29T07:43:08.000Z | lib/models/ops/__init__.py | vkirilenko/maed | 9e1f1c37eba81da86c8d9c62dc9be41a01abff5b | [
"MIT"
] | 17 | 2021-08-15T13:22:10.000Z | 2022-01-17T02:34:14.000Z | from .drop import DropPath | 26 | 26 | 0.846154 | 4 | 26 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 26 | 1 | 26 | 26 | 0.956522 | 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 |
4d011bf40f1a0a44da38b96075fa24a93be90a4c | 11,506 | py | Python | sklift/tests/test_metrics.py | rishawsingh/scikit-uplift | a46f11d24025f8489577640271abfc4d847d0334 | [
"MIT"
] | 403 | 2019-12-21T09:36:57.000Z | 2022-03-30T09:36:56.000Z | sklift/tests/test_metrics.py | fspofficial/scikit-uplift | c9dd56aa0277e81ef7c4be62bf2fd33432e46f36 | [
"MIT"
] | 100 | 2020-02-29T11:52:21.000Z | 2022-03-29T23:14:33.000Z | sklift/tests/test_metrics.py | fspofficial/scikit-uplift | c9dd56aa0277e81ef7c4be62bf2fd33432e46f36 | [
"MIT"
] | 81 | 2019-12-26T08:28:44.000Z | 2022-03-22T09:08:54.000Z | import pytest
import numpy as np
from sklearn.tree import DecisionTreeClassifier
from ..models import SoloModel
from sklearn.utils._testing import assert_array_almost_equal
from ..metrics import uplift_curve, uplift_auc_score, perfect_uplift_curve
from ..metrics import qini_curve, qini_auc_score, perfect_qini_curve... | 36.29653 | 117 | 0.641752 | 1,767 | 11,506 | 3.88455 | 0.053198 | 0.053904 | 0.116404 | 0.150641 | 0.822261 | 0.80507 | 0.775204 | 0.75204 | 0.738782 | 0.721445 | 0 | 0.054568 | 0.213193 | 11,506 | 317 | 118 | 36.29653 | 0.703634 | 0 | 0 | 0.575107 | 0 | 0 | 0.033371 | 0 | 0 | 0 | 0 | 0 | 0.218884 | 1 | 0.06867 | false | 0 | 0.034335 | 0 | 0.107296 | 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 |
4d2d77c7aa35326490be822a0080e3d17ee589ac | 5,694 | py | Python | MDAF/TestFunctions/McCormick.py | ejeanboris/MDAF_COMPLETE | e99c9762ea7304acc0a6795d33a55449a9800d89 | [
"CC0-1.0"
] | 1 | 2020-12-30T23:04:51.000Z | 2020-12-30T23:04:51.000Z | MDAF/TestFunctions/McCormick.py | ejeanboris/MDAF_COMPLETE | e99c9762ea7304acc0a6795d33a55449a9800d89 | [
"CC0-1.0"
] | null | null | null | MDAF/TestFunctions/McCormick.py | ejeanboris/MDAF_COMPLETE | e99c9762ea7304acc0a6795d33a55449a9800d89 | [
"CC0-1.0"
] | null | null | null | import math
def main(args):
'''
>>> main([-0.547, -1.547])
0
#_# dimmensions: 2
#_# upper: [4, 3]
#_# lower: [-1.5, -3]
#_# minimum: [-0.547, -1.547]
#_# opti: 0
#_# cm_angle: array([[4.79655921e-01], [8.11936213e-02], [4.88211174e-01], [1.07483727e-01], [1.3... | 142.35 | 1,511 | 0.422901 | 624 | 5,694 | 3.8125 | 0.334936 | 0.060109 | 0.029424 | 0.020177 | 0.074401 | 0.045818 | 0 | 0 | 0 | 0 | 0 | 0.546109 | 0.365824 | 5,694 | 39 | 1,512 | 146 | 0.112711 | 0.956972 | 0 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0.125 | 0 | 0.625 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
4d316605ca298b3ff6a23e50d830cd7bc15f9a05 | 11,139 | py | Python | flavorsync/test/validation_unit_tests.py | Fiware/ops.Flavor-sync | d4f3eb1ff3a76eb824b327f5b23632f09ebf2cda | [
"Apache-2.0"
] | null | null | null | flavorsync/test/validation_unit_tests.py | Fiware/ops.Flavor-sync | d4f3eb1ff3a76eb824b327f5b23632f09ebf2cda | [
"Apache-2.0"
] | null | null | null | flavorsync/test/validation_unit_tests.py | Fiware/ops.Flavor-sync | d4f3eb1ff3a76eb824b327f5b23632f09ebf2cda | [
"Apache-2.0"
] | null | null | null | import flavorsync.test.util as util
from flavorsync.validator import factory_selector
from flavorsync.validator.concrete_factories.xml_validator_factory import XMLValidatorFactory
from flavorsync.validator.concrete_factories.json_validator_factory import JSONValidatorFactory
from flavorsync.validator.validator_factory... | 39.360424 | 95 | 0.791274 | 1,247 | 11,139 | 6.673617 | 0.056937 | 0.073059 | 0.084595 | 0.078106 | 0.910839 | 0.88236 | 0.85268 | 0.837539 | 0.827806 | 0.770368 | 0 | 0.000314 | 0.141934 | 11,139 | 283 | 96 | 39.360424 | 0.87037 | 0 | 0 | 0.665049 | 0 | 0 | 0.049461 | 0.040395 | 0 | 0 | 0 | 0 | 0.140777 | 1 | 0.131068 | false | 0 | 0.048544 | 0 | 0.179612 | 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 |
4d4945d5084066f9462aae9fe3b1500bdf5e08a2 | 28,297 | py | Python | jetmontecarlo/montecarlo/integrator.py | samcaf/JetMonteCarlo | 71f50f3bb53a4f68ed927eaeaed5ee258da0dd34 | [
"MIT"
] | null | null | null | jetmontecarlo/montecarlo/integrator.py | samcaf/JetMonteCarlo | 71f50f3bb53a4f68ed927eaeaed5ee258da0dd34 | [
"MIT"
] | null | null | null | jetmontecarlo/montecarlo/integrator.py | samcaf/JetMonteCarlo | 71f50f3bb53a4f68ed927eaeaed5ee258da0dd34 | [
"MIT"
] | null | null | null | import numpy as np
from scipy import interpolate
import dill
# Local utils
from jetmontecarlo.utils.hist_utils import histDerivative
from jetmontecarlo.montecarlo.sampler import simpleSampler
MIN_LOG_BIN = 1e-15
#######################################
# Integrator Class:
#######################################
class... | 37.679095 | 80 | 0.597625 | 3,123 | 28,297 | 5.346782 | 0.115914 | 0.016768 | 0.010121 | 0.01078 | 0.817643 | 0.768775 | 0.750689 | 0.734339 | 0.711223 | 0.703078 | 0 | 0.009147 | 0.292964 | 28,297 | 750 | 81 | 37.729333 | 0.825461 | 0.329505 | 0 | 0.629333 | 0 | 0 | 0.053821 | 0 | 0 | 0 | 0 | 0 | 0.048 | 1 | 0.090667 | false | 0.013333 | 0.013333 | 0 | 0.128 | 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 |
4d5d8a66e70e40fccfe16aac262253b9edeb2174 | 27 | py | Python | agnpy/synchrotron/__init__.py | vuillaut/agnpy | b3c9c09ca59c067f0739510e26e43e2693b42c99 | [
"BSD-3-Clause"
] | 25 | 2020-01-24T09:27:45.000Z | 2022-03-03T11:58:06.000Z | agnpy/synchrotron/__init__.py | vuillaut/agnpy | b3c9c09ca59c067f0739510e26e43e2693b42c99 | [
"BSD-3-Clause"
] | 107 | 2020-02-14T16:21:14.000Z | 2022-03-24T16:38:28.000Z | agnpy/synchrotron/__init__.py | vuillaut/agnpy | b3c9c09ca59c067f0739510e26e43e2693b42c99 | [
"BSD-3-Clause"
] | 17 | 2020-01-18T05:46:51.000Z | 2022-03-20T21:33:28.000Z | from .synchrotron import *
| 13.5 | 26 | 0.777778 | 3 | 27 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 27 | 1 | 27 | 27 | 0.913043 | 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 |
4d7c0d921a7e7d542442c6c71d62033b2e41421b | 663 | py | Python | warp/cli/compilation/Contract.py | swapnilraj/warp | 2fb1fa105fc5c46b2e53790fb0a2f7165b4133a1 | [
"Apache-2.0"
] | null | null | null | warp/cli/compilation/Contract.py | swapnilraj/warp | 2fb1fa105fc5c46b2e53790fb0a2f7165b4133a1 | [
"Apache-2.0"
] | null | null | null | warp/cli/compilation/Contract.py | swapnilraj/warp | 2fb1fa105fc5c46b2e53790fb0a2f7165b4133a1 | [
"Apache-2.0"
] | null | null | null | from __future__ import annotations
from dataclasses import dataclass
from eth_hash.auto import keccak
from enum import Enum
import abc
class Language(Enum):
SOL = 0
VYPER = 1
class Contract(abc.ABC):
@abc.abstractmethod
def get_compiler_dir(self):
pass
@abc.abstractmethod
def get_code... | 18.416667 | 44 | 0.677225 | 83 | 663 | 5.216867 | 0.433735 | 0.235566 | 0.277136 | 0.277136 | 0.26097 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004049 | 0.254902 | 663 | 35 | 45 | 18.942857 | 0.87247 | 0 | 0 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0.222222 | 0.185185 | 0 | 0.555556 | 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 |
4d9bcb6d98e93568373af53ad30e955c6a3ae7cb | 27 | py | Python | src/euler_python_package/euler_python/medium/p157.py | wilsonify/euler | 5214b776175e6d76a7c6d8915d0e062d189d9b79 | [
"MIT"
] | null | null | null | src/euler_python_package/euler_python/medium/p157.py | wilsonify/euler | 5214b776175e6d76a7c6d8915d0e062d189d9b79 | [
"MIT"
] | null | null | null | src/euler_python_package/euler_python/medium/p157.py | wilsonify/euler | 5214b776175e6d76a7c6d8915d0e062d189d9b79 | [
"MIT"
] | null | null | null | def problem157():
pass
| 9 | 17 | 0.62963 | 3 | 27 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 0.259259 | 27 | 2 | 18 | 13.5 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
4de476fa3b2c6a640eb0a38f8ababbaaca24fd02 | 45 | py | Python | src/print_colorized/__init__.py | Heydarchi/PrintColorized | 1bc4fb74191368e8e20a304bddb6b4545e7c08bd | [
"MIT"
] | null | null | null | src/print_colorized/__init__.py | Heydarchi/PrintColorized | 1bc4fb74191368e8e20a304bddb6b4545e7c08bd | [
"MIT"
] | null | null | null | src/print_colorized/__init__.py | Heydarchi/PrintColorized | 1bc4fb74191368e8e20a304bddb6b4545e7c08bd | [
"MIT"
] | null | null | null | from print_colorized.PrintColorized import *
| 22.5 | 44 | 0.866667 | 5 | 45 | 7.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088889 | 45 | 1 | 45 | 45 | 0.926829 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
4dec4fda5aea78f1d360f62dfc110b9d9ddea656 | 28 | py | Python | machina/dataset/__init__.py | hopelessoptimism/machina | 4cbc8b1015bb8c5a4d4efddf965a9370d28d1e51 | [
"MIT"
] | null | null | null | machina/dataset/__init__.py | hopelessoptimism/machina | 4cbc8b1015bb8c5a4d4efddf965a9370d28d1e51 | [
"MIT"
] | null | null | null | machina/dataset/__init__.py | hopelessoptimism/machina | 4cbc8b1015bb8c5a4d4efddf965a9370d28d1e51 | [
"MIT"
] | 1 | 2020-12-20T12:47:07.000Z | 2020-12-20T12:47:07.000Z | from .inside_airbnb import * | 28 | 28 | 0.821429 | 4 | 28 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107143 | 28 | 1 | 28 | 28 | 0.88 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
150cc8617f5d13623f8071621ae1288ad0736957 | 28 | py | Python | larning/abc.py | tasigabi97/larning | 6489bb47c9d6bc08e58349d4cff621d108a3cb0a | [
"MIT"
] | null | null | null | larning/abc.py | tasigabi97/larning | 6489bb47c9d6bc08e58349d4cff621d108a3cb0a | [
"MIT"
] | null | null | null | larning/abc.py | tasigabi97/larning | 6489bb47c9d6bc08e58349d4cff621d108a3cb0a | [
"MIT"
] | null | null | null | from larning.abc_i import *
| 14 | 27 | 0.785714 | 5 | 28 | 4.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 28 | 1 | 28 | 28 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
12773951d57b0920a3a0967ca99efe7b18ab2233 | 2,638 | py | Python | frappe-bench/env/lib/python2.7/site-packages/gocardless_pro/resources/creditor.py | Semicheche/foa_frappe_docker | a186b65d5e807dd4caf049e8aeb3620a799c1225 | [
"MIT"
] | null | null | null | frappe-bench/env/lib/python2.7/site-packages/gocardless_pro/resources/creditor.py | Semicheche/foa_frappe_docker | a186b65d5e807dd4caf049e8aeb3620a799c1225 | [
"MIT"
] | null | null | null | frappe-bench/env/lib/python2.7/site-packages/gocardless_pro/resources/creditor.py | Semicheche/foa_frappe_docker | a186b65d5e807dd4caf049e8aeb3620a799c1225 | [
"MIT"
] | null | null | null | # WARNING: Do not edit by hand, this file was generated by Crank:
#
# https://github.com/gocardless/crank
#
class Creditor(object):
"""A thin wrapper around a creditor, providing easy access to its
attributes.
Example:
creditor = client.creditors.get()
creditor.id
"""
def __init__(s... | 17.824324 | 69 | 0.622441 | 289 | 2,638 | 5.484429 | 0.252595 | 0.203155 | 0.167823 | 0.272555 | 0.434069 | 0.222082 | 0.118612 | 0.118612 | 0 | 0 | 0 | 0.003168 | 0.282032 | 2,638 | 147 | 70 | 17.945578 | 0.833685 | 0.107278 | 0 | 0.328125 | 1 | 0 | 0.112117 | 0.044847 | 0 | 0 | 0 | 0 | 0 | 1 | 0.328125 | false | 0 | 0 | 0.296875 | 0.65625 | 0 | 0 | 0 | 0 | null | 1 | 0 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
1288bc15eb29f602bcb5dc952fb9da8700bdc3a4 | 339 | py | Python | kafkaSchemaManager/implementation/helpers/JsonObjectSerializer.py | YendiyarovSV/kafka-avro-producer-topkrabbensteam | d7a318b465ff38897150a4a4db267309793373bc | [
"Apache-2.0"
] | null | null | null | kafkaSchemaManager/implementation/helpers/JsonObjectSerializer.py | YendiyarovSV/kafka-avro-producer-topkrabbensteam | d7a318b465ff38897150a4a4db267309793373bc | [
"Apache-2.0"
] | null | null | null | kafkaSchemaManager/implementation/helpers/JsonObjectSerializer.py | YendiyarovSV/kafka-avro-producer-topkrabbensteam | d7a318b465ff38897150a4a4db267309793373bc | [
"Apache-2.0"
] | null | null | null | from ...abstract.AbstractObjectSerializer import AbstractObjectSerializer
import json
class JsonObjectSerializer(AbstractObjectSerializer):
def serializeObject(self,deserializedData):
return json.dumps(deserializedData)
def deserializeObject(self,serializedData):
return json.loa... | 33.9 | 73 | 0.769912 | 26 | 339 | 10.038462 | 0.615385 | 0.229885 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168142 | 339 | 9 | 74 | 37.666667 | 0.925532 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.285714 | 0.285714 | 1 | 0 | 1 | 0 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 6 |
12a8c8c4375276526a0d975c525f979335c6ef99 | 8,251 | py | Python | homeassistant/components/zwave/discovery_schemas.py | cyrus19901/home-assistant | f6416746ac23316b6c77f36cb63c2f8983a0ba76 | [
"Apache-2.0"
] | null | null | null | homeassistant/components/zwave/discovery_schemas.py | cyrus19901/home-assistant | f6416746ac23316b6c77f36cb63c2f8983a0ba76 | [
"Apache-2.0"
] | null | null | null | homeassistant/components/zwave/discovery_schemas.py | cyrus19901/home-assistant | f6416746ac23316b6c77f36cb63c2f8983a0ba76 | [
"Apache-2.0"
] | null | null | null | """Zwave discovery schemas."""
from . import const
DEFAULT_VALUES_SCHEMA = {
'power': {
const.DISC_COMMAND_CLASS: [const.COMMAND_CLASS_SENSOR_MULTILEVEL,
const.COMMAND_CLASS_METER],
const.DISC_LABEL: ['Power'],
const.DISC_OPTIONAL: True,
},
}
DISC... | 41.255 | 79 | 0.635317 | 874 | 8,251 | 5.518307 | 0.104119 | 0.18474 | 0.098694 | 0.100145 | 0.855069 | 0.79266 | 0.780842 | 0.758656 | 0.716981 | 0.649388 | 0 | 0.001341 | 0.277057 | 8,251 | 199 | 80 | 41.462312 | 0.807209 | 0.006181 | 0 | 0.540816 | 0 | 0 | 0.032345 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.005102 | 0 | 0.005102 | 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 |
12b0fb6657031fcbd22bdf27dcf4ac724cbf1292 | 133 | py | Python | parser/fase2/team24/Ejemplo3D.py | DavidTortola/tytus | b2d29b6a74ee35db27b299f4da8f23f75d96663f | [
"MIT"
] | null | null | null | parser/fase2/team24/Ejemplo3D.py | DavidTortola/tytus | b2d29b6a74ee35db27b299f4da8f23f75d96663f | [
"MIT"
] | null | null | null | parser/fase2/team24/Ejemplo3D.py | DavidTortola/tytus | b2d29b6a74ee35db27b299f4da8f23f75d96663f | [
"MIT"
] | null | null | null | import sql
sql.execute("create DATABASE EJEMPLO;")
sql.execute("SELECT * FROM X;")
sql.execute("SELECT * FROM Y;")
sql.execute("3D") | 22.166667 | 39 | 0.706767 | 20 | 133 | 4.7 | 0.55 | 0.425532 | 0.340426 | 0.425532 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008403 | 0.105263 | 133 | 6 | 40 | 22.166667 | 0.781513 | 0 | 0 | 0 | 0 | 0 | 0.432836 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.2 | 0 | 0.2 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
12c153cc00702f759f0451836eb6802d34ffd317 | 149 | py | Python | hijax/setup/__init__.py | angusturner/hijax | b237ed66f4074c13d60904d15ddffed29df47ead | [
"MIT"
] | 1 | 2021-11-15T12:18:41.000Z | 2021-11-15T12:18:41.000Z | hijax/setup/__init__.py | angusturner/hijax | b237ed66f4074c13d60904d15ddffed29df47ead | [
"MIT"
] | null | null | null | hijax/setup/__init__.py | angusturner/hijax | b237ed66f4074c13d60904d15ddffed29df47ead | [
"MIT"
] | null | null | null | from .setup_loaders import setup_loaders
from ..loaders import Loaders
from .setup_worker import setup_worker
from .setup_config import setup_config
| 29.8 | 40 | 0.85906 | 22 | 149 | 5.545455 | 0.272727 | 0.221311 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107383 | 149 | 4 | 41 | 37.25 | 0.917293 | 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 |
12ebeeb8a97670d35a9eff9568de23a5e341f749 | 43 | py | Python | tests/data/validate/validate_testcase.py | balihoo/blambda | 305e55a6c02ba99d2d6fa2086202442cfb4c1108 | [
"MIT"
] | null | null | null | tests/data/validate/validate_testcase.py | balihoo/blambda | 305e55a6c02ba99d2d6fa2086202442cfb4c1108 | [
"MIT"
] | 2 | 2020-03-23T17:33:12.000Z | 2021-06-29T10:32:35.000Z | tests/data/validate/validate_testcase.py | balihoo/blambda | 305e55a6c02ba99d2d6fa2086202442cfb4c1108 | [
"MIT"
] | 2 | 2017-10-03T21:40:35.000Z | 2017-10-25T17:02:31.000Z | # File used for unit tests
import include
| 10.75 | 26 | 0.767442 | 7 | 43 | 4.714286 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.209302 | 43 | 3 | 27 | 14.333333 | 0.970588 | 0.55814 | 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 |
4225536c73fbbd494ac8020d13156369b05093ab | 151 | py | Python | csg_dicoms_anonymizer/__init__.py | lrq3000/csg_dicoms_anonymizer | bd7d631b8b657e54086585c04593ed8470670f0d | [
"MIT"
] | 1 | 2021-04-01T22:26:47.000Z | 2021-04-01T22:26:47.000Z | csg_dicoms_anonymizer/__init__.py | lrq3000/csg_dicoms_anonymizer | bd7d631b8b657e54086585c04593ed8470670f0d | [
"MIT"
] | 1 | 2019-04-08T08:59:23.000Z | 2019-04-09T16:43:29.000Z | csg_dicoms_anonymizer/__init__.py | lrq3000/csg_dicoms_anonymizer | bd7d631b8b657e54086585c04593ed8470670f0d | [
"MIT"
] | 3 | 2017-08-08T11:41:31.000Z | 2021-09-30T08:52:08.000Z | from ._version import __version__
from .csg_dicoms_anonymizer import main as csg_dicoms_anonymizer
__all__ = ['__version__', 'csg_dicoms_anonymizer']
| 30.2 | 64 | 0.834437 | 19 | 151 | 5.631579 | 0.473684 | 0.252336 | 0.53271 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.099338 | 151 | 4 | 65 | 37.75 | 0.786765 | 0 | 0 | 0 | 0 | 0 | 0.211921 | 0.139073 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 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 |
42917ba10cdc996724d749297a8ad98f91eb4681 | 624 | py | Python | libmproxy/protocol/handle.py | sdelafond/mitmproxy | 66e1520c2017dedfae45dd7415d1a794930d5f3c | [
"MIT"
] | 1 | 2016-08-07T11:29:11.000Z | 2016-08-07T11:29:11.000Z | libmproxy/protocol/handle.py | sdelafond/mitmproxy | 66e1520c2017dedfae45dd7415d1a794930d5f3c | [
"MIT"
] | null | null | null | libmproxy/protocol/handle.py | sdelafond/mitmproxy | 66e1520c2017dedfae45dd7415d1a794930d5f3c | [
"MIT"
] | null | null | null | from __future__ import absolute_import
from . import http, tcp
protocols = {
'http': dict(handler=http.HTTPHandler, flow=http.HTTPFlow),
'tcp': dict(handler=tcp.TCPHandler)
}
def _handler(conntype, connection_handler):
if conntype in protocols:
return protocols[conntype]["handler"](connection_han... | 28.363636 | 69 | 0.767628 | 70 | 624 | 6.585714 | 0.371429 | 0.221258 | 0.27115 | 0.208243 | 0.190889 | 0.190889 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137821 | 624 | 22 | 69 | 28.363636 | 0.856877 | 0.024038 | 0 | 0 | 0 | 0 | 0.023026 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.214286 | false | 0 | 0.142857 | 0.142857 | 0.571429 | 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 |
42af6e6c288a0ef327e26f44dd337431e7fdf6e6 | 21 | py | Python | src/__init__.py | yash26061981/nlp_similarity | bcdc5db2c399c1ce592277eda9a7e888a14f5159 | [
"MIT"
] | 1 | 2021-02-12T12:14:17.000Z | 2021-02-12T12:14:17.000Z | src/__init__.py | yash26061981/nlp_similarity | bcdc5db2c399c1ce592277eda9a7e888a14f5159 | [
"MIT"
] | null | null | null | src/__init__.py | yash26061981/nlp_similarity | bcdc5db2c399c1ce592277eda9a7e888a14f5159 | [
"MIT"
] | null | null | null | from .nlpsim import * | 21 | 21 | 0.761905 | 3 | 21 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 21 | 1 | 21 | 21 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
35ea8307d9ccdcac2d050bb9924301f27a5402f2 | 257,662 | py | Python | instances/passenger_demand/pas-20210422-1717-int12e/78.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/passenger_demand/pas-20210422-1717-int12e/78.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/passenger_demand/pas-20210422-1717-int12e/78.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null |
"""
PASSENGERS
"""
numPassengers = 22765
passenger_arriving = (
(5, 8, 2, 3, 5, 5, 1, 1, 2, 5, 2, 0, 0, 7, 3, 3, 2, 6, 3, 1, 0, 2, 0, 0, 1, 0), # 0
(5, 6, 13, 2, 6, 3, 2, 2, 1, 0, 1, 1, 0, 6, 14, 6, 6, 3, 2, 2, 2, 5, 2, 0, 3, 0), # 1
(6, 6, 4, 6, 3, 0, 3, 5, 0, 1, 1, 3, 0, 6, 7, 3, 7, 5, 2, 7, 6, 3, 3, 2, 0, 0)... | 275.574332 | 493 | 0.768984 | 32,987 | 257,662 | 6.006215 | 0.221754 | 0.359769 | 0.345233 | 0.654126 | 0.374825 | 0.36678 | 0.365402 | 0.365261 | 0.365261 | 0.365261 | 0 | 0.849396 | 0.095994 | 257,662 | 934 | 494 | 275.869379 | 0.001198 | 0.015567 | 0 | 0.200873 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.005459 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.