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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
de893056369fb071b7b2c09dad1e3929103c3caa | 28 | py | Python | test-packages/package-test-plugins/testplugin/foo/__init__.py | EvanPlettGML/straight.plugin | 0b505f6a4be862289b18a822ad467f512e3dbab2 | [
"MIT"
] | 72 | 2015-02-13T21:16:38.000Z | 2022-02-22T12:48:26.000Z | test-packages/package-test-plugins/testplugin/foo/__init__.py | EvanPlettGML/straight.plugin | 0b505f6a4be862289b18a822ad467f512e3dbab2 | [
"MIT"
] | 15 | 2015-05-07T21:52:58.000Z | 2022-02-25T15:39:19.000Z | test-packages/package-test-plugins/testplugin/foo/__init__.py | EvanPlettGML/straight.plugin | 0b505f6a4be862289b18a822ad467f512e3dbab2 | [
"MIT"
] | 10 | 2015-02-13T21:16:40.000Z | 2021-08-12T20:47:51.000Z | def do(i):
return i + 2
| 9.333333 | 16 | 0.5 | 6 | 28 | 2.333333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.055556 | 0.357143 | 28 | 2 | 17 | 14 | 0.722222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
dea2d72528a7b1e2958f4b13b4f02337b95803ce | 135 | py | Python | tests/unittests/eventhub_mock_functions/eventhub_trigger_iot/__init__.py | yojagad/azure-functions-python-worker | d5a1587a4ccf56af64f211a64f0b7a3d6cf976c9 | [
"MIT"
] | null | null | null | tests/unittests/eventhub_mock_functions/eventhub_trigger_iot/__init__.py | yojagad/azure-functions-python-worker | d5a1587a4ccf56af64f211a64f0b7a3d6cf976c9 | [
"MIT"
] | null | null | null | tests/unittests/eventhub_mock_functions/eventhub_trigger_iot/__init__.py | yojagad/azure-functions-python-worker | d5a1587a4ccf56af64f211a64f0b7a3d6cf976c9 | [
"MIT"
] | null | null | null | import json
import azure.functions as func
def main(event: func.EventHubEvent) -> str:
return json.dumps(event.iothub_metadata)
| 16.875 | 44 | 0.762963 | 19 | 135 | 5.368421 | 0.789474 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 135 | 7 | 45 | 19.285714 | 0.886957 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
a0fc6223dfde9c2536f568e7aebe009e4dd9023d | 80 | py | Python | hwrt/segmentation/__init__.py | MartinThoma/hwrt | 7b274fa3022292bb1215eaec99f1826f64f98a07 | [
"MIT"
] | 65 | 2015-04-08T12:11:22.000Z | 2022-02-28T23:46:53.000Z | hwrt/segmentation/__init__.py | MartinThoma/hwrt | 7b274fa3022292bb1215eaec99f1826f64f98a07 | [
"MIT"
] | 35 | 2015-01-05T11:56:30.000Z | 2022-03-12T00:55:38.000Z | hwrt/segmentation/__init__.py | MartinThoma/hwrt | 7b274fa3022292bb1215eaec99f1826f64f98a07 | [
"MIT"
] | 18 | 2015-01-19T15:57:25.000Z | 2021-02-15T20:38:32.000Z | # Local modules
from .beam import * # noqa
from .segmentation import * # noqa
| 20 | 35 | 0.7 | 10 | 80 | 5.6 | 0.7 | 0.357143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2125 | 80 | 3 | 36 | 26.666667 | 0.888889 | 0.2875 | 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 |
19b60c4867764c21d9ac43613d8d9da9c1fe38a4 | 42 | py | Python | cride/rides/models/__init__.py | sgg10/cride | e241028430656c54aa0133a173efad656cab233d | [
"MIT"
] | null | null | null | cride/rides/models/__init__.py | sgg10/cride | e241028430656c54aa0133a173efad656cab233d | [
"MIT"
] | null | null | null | cride/rides/models/__init__.py | sgg10/cride | e241028430656c54aa0133a173efad656cab233d | [
"MIT"
] | null | null | null | from .rides import *
from .rating import * | 21 | 21 | 0.738095 | 6 | 42 | 5.166667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 42 | 2 | 21 | 21 | 0.885714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
19fc75b0a5fb22956679040f4b3981cf267fcb4c | 97 | py | Python | terrascript/local/__init__.py | hugovk/python-terrascript | 08fe185904a70246822f5cfbdc9e64e9769ec494 | [
"BSD-2-Clause"
] | 4 | 2022-02-07T21:08:14.000Z | 2022-03-03T04:41:28.000Z | terrascript/local/__init__.py | hugovk/python-terrascript | 08fe185904a70246822f5cfbdc9e64e9769ec494 | [
"BSD-2-Clause"
] | null | null | null | terrascript/local/__init__.py | hugovk/python-terrascript | 08fe185904a70246822f5cfbdc9e64e9769ec494 | [
"BSD-2-Clause"
] | 2 | 2022-02-06T01:49:42.000Z | 2022-02-08T14:15:00.000Z | # terrascript/local/__init__.py
import terrascript
class local(terrascript.Provider):
pass
| 13.857143 | 34 | 0.783505 | 11 | 97 | 6.545455 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.134021 | 97 | 6 | 35 | 16.166667 | 0.857143 | 0.298969 | 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 |
c249fa52df5f80ff10569b24b519bf611598e546 | 1,236 | py | Python | trainable/features/vgg.py | hiltonjp/trainable | 3b1432c9c816285680f14e292eaef26cdbe213cf | [
"MIT"
] | 1 | 2018-12-17T19:38:00.000Z | 2018-12-17T19:38:00.000Z | trainable/features/vgg.py | hiltonjp/trainable | 3b1432c9c816285680f14e292eaef26cdbe213cf | [
"MIT"
] | null | null | null | trainable/features/vgg.py | hiltonjp/trainable | 3b1432c9c816285680f14e292eaef26cdbe213cf | [
"MIT"
] | null | null | null | import torch.nn as nn
from torchvision.models import vgg19
class AvgPoolVGG(nn.Module):
"""AvgPoolVGG(vgg=torchvision.models.vgg19)
A pretrained average-pooling vgg model for feature matching.
Args:
vgg: Any of the vgg models in torchvision.models
"""
def __init__(self, vgg=vgg19):
... | 22.472727 | 64 | 0.615696 | 163 | 1,236 | 4.564417 | 0.282209 | 0.122312 | 0.05914 | 0.067204 | 0.744624 | 0.744624 | 0.647849 | 0.647849 | 0.647849 | 0.647849 | 0 | 0.015573 | 0.272654 | 1,236 | 54 | 65 | 22.888889 | 0.812013 | 0.244337 | 0 | 0.740741 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.296296 | false | 0 | 0.074074 | 0.148148 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
5f01e6938efa16cd1ab412e943b67f60ccdad452 | 83,510 | py | Python | tests/test_sm.py | dapu/femagtools | 95eaf750adc2013232cdf482e523b3900ac6eb08 | [
"BSD-2-Clause"
] | null | null | null | tests/test_sm.py | dapu/femagtools | 95eaf750adc2013232cdf482e523b3900ac6eb08 | [
"BSD-2-Clause"
] | null | null | null | tests/test_sm.py | dapu/femagtools | 95eaf750adc2013232cdf482e523b3900ac6eb08 | [
"BSD-2-Clause"
] | null | null | null | import femagtools.machine.sm
import pathlib
import pytest
import numpy as np
@pytest.fixture
def sm():
smpars = {"m": 3, "p": 3, "r1": 0.01, "r2": 40, "rotor_mass": 9.941, "kfric_b": 1,
"ldq": [
{"ex_current": 0.6, "i1": [0.0, 82.0, 164.0, 246.0, 328.0, 410.0],
"... | 73.126095 | 123 | 0.251311 | 9,341 | 83,510 | 2.241088 | 0.117011 | 0.329703 | 0.476498 | 0.613929 | 0.517722 | 0.434174 | 0.421515 | 0.343222 | 0.331231 | 0.296217 | 0 | 0.610845 | 0.607795 | 83,510 | 1,141 | 124 | 73.190184 | 0.028303 | 0 | 0 | 0.328056 | 0 | 0 | 0.009113 | 0 | 0 | 0 | 0 | 0 | 0.00088 | 1 | 0.001759 | false | 0 | 0.003518 | 0 | 0.006157 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a03ed9501ed65d2386151942d8dce042f05f393c | 113 | py | Python | tests/conftest.py | mgrau/atomphys | 8624748eb61a2c6e1f70a5784a9d3fc242ff50b1 | [
"MIT"
] | 3 | 2021-10-07T11:33:43.000Z | 2022-03-16T13:27:17.000Z | tests/conftest.py | mgrau/atomphys | 8624748eb61a2c6e1f70a5784a9d3fc242ff50b1 | [
"MIT"
] | 2 | 2021-10-07T14:49:36.000Z | 2021-10-21T20:36:36.000Z | tests/conftest.py | mgrau/atomphys | 8624748eb61a2c6e1f70a5784a9d3fc242ff50b1 | [
"MIT"
] | null | null | null | import pytest
from atomphys import Atom
@pytest.fixture(scope="module")
def rubidium():
return Atom("Rb")
| 12.555556 | 31 | 0.716814 | 15 | 113 | 5.4 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.159292 | 113 | 8 | 32 | 14.125 | 0.852632 | 0 | 0 | 0 | 0 | 0 | 0.070796 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.4 | 0.2 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
a07a0edfe24d8614d2f8e66fce437442943c42b6 | 235 | py | Python | interage/api/managers/__init__.py | IntMed/interage_python_sdk | 70ea7d0b850c7664113210a18305a0fcffe5ed7f | [
"MIT"
] | 1 | 2017-03-02T11:47:32.000Z | 2017-03-02T11:47:32.000Z | interage/api/managers/__init__.py | weynelucas/interage_python_sdk | 70ea7d0b850c7664113210a18305a0fcffe5ed7f | [
"MIT"
] | null | null | null | interage/api/managers/__init__.py | weynelucas/interage_python_sdk | 70ea7d0b850c7664113210a18305a0fcffe5ed7f | [
"MIT"
] | null | null | null | from .base import APIManager
from .managers import (InteracaoAPIManager, PrincipioAtivoAPIManager, MedicamentoAPIManager)
__all__ = [
'APIManager',
'InteracaoAPIManager', 'PrincipioAtivoAPIManager', 'MedicamentoAPIManager',
]
| 29.375 | 92 | 0.795745 | 15 | 235 | 12.2 | 0.6 | 0.469945 | 0.699454 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114894 | 235 | 7 | 93 | 33.571429 | 0.879808 | 0 | 0 | 0 | 0 | 0 | 0.314894 | 0.191489 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 1 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
a091c5fa076cabb5a88c655a96b60dfb213ac029 | 8,778 | py | Python | aospy_user/runs/gfdl_runs.py | spencerahill/aospy-obj-lib | 76803806e8c6b0042c901735eed1c88042d4e4ed | [
"Apache-2.0"
] | 3 | 2015-10-27T19:32:17.000Z | 2021-05-07T12:41:30.000Z | aospy_user/runs/gfdl_runs.py | spencerahill/aospy-obj-lib | 76803806e8c6b0042c901735eed1c88042d4e4ed | [
"Apache-2.0"
] | 11 | 2015-09-25T15:45:59.000Z | 2020-03-31T13:50:29.000Z | aospy_user/runs/gfdl_runs.py | spencerahill/aospy-obj-lib | 76803806e8c6b0042c901735eed1c88042d4e4ed | [
"Apache-2.0"
] | null | null | null | """aospy.Run objects for simulations from various GFDL models."""
import datetime
from aospy import Run
from aospy.data_loader import GFDLDataLoader
# SM2.1
sm2_cont = Run(
name='cont',
data_loader=GFDLDataLoader(
data_direc=('/archive/Yi.Ming/sm2.1_fixed/SM2.1U_Control-1860_lm2_aie'
... | 31.017668 | 79 | 0.63306 | 1,129 | 8,778 | 4.607617 | 0.117803 | 0.096117 | 0.147636 | 0.096886 | 0.888889 | 0.885429 | 0.87697 | 0.870819 | 0.743368 | 0.733948 | 0 | 0.115339 | 0.233538 | 8,778 | 282 | 80 | 31.12766 | 0.657848 | 0.011962 | 0 | 0.525926 | 0 | 0 | 0.327254 | 0.299434 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.011111 | 0 | 0.011111 | 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 |
a09ae054433e28a292f4a34248304c8ad9acb4c3 | 4,332 | py | Python | Reinforcement Learning/grid_world.py | jakelong0509/master | 0507a796d0c40d5b28e54f162e5639ddfe2d1c2a | [
"MIT"
] | null | null | null | Reinforcement Learning/grid_world.py | jakelong0509/master | 0507a796d0c40d5b28e54f162e5639ddfe2d1c2a | [
"MIT"
] | null | null | null | Reinforcement Learning/grid_world.py | jakelong0509/master | 0507a796d0c40d5b28e54f162e5639ddfe2d1c2a | [
"MIT"
] | null | null | null | """import numpy as np
import matplotlib.pyplot as plt
class Grid:
def __init__(self, height, weight, start):
self.height = height
self.weight = weight
self.i = start[0]
self.j = start[1]
def set(self, rewards, actions):
self.rewards = rewards
self.ac... | 25.482353 | 67 | 0.427516 | 586 | 4,332 | 3.075085 | 0.095563 | 0.055494 | 0.059933 | 0.044395 | 0.921199 | 0.893452 | 0.893452 | 0.893452 | 0.893452 | 0.893452 | 0 | 0.046529 | 0.394737 | 4,332 | 169 | 68 | 25.633136 | 0.640732 | 0.482456 | 0 | 0.253521 | 0 | 0 | 0.014037 | 0 | 0 | 0 | 0 | 0 | 0.014085 | 1 | 0.15493 | false | 0 | 0 | 0.056338 | 0.267606 | 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 |
261a6512c03ec6c0a8df024482454299e770ae00 | 30 | py | Python | src/nvim/testdir/pyxfile/pyx.py | uga-rosa/neovim | afbf89dc0120b1db5782a0bf807dc7c8db70ccf6 | [
"Vim"
] | 48,021 | 2015-01-01T07:55:49.000Z | 2022-03-31T23:54:18.000Z | src/nvim/testdir/pyxfile/pyx.py | uga-rosa/neovim | afbf89dc0120b1db5782a0bf807dc7c8db70ccf6 | [
"Vim"
] | 13,385 | 2015-01-01T05:24:41.000Z | 2022-03-31T22:59:21.000Z | src/nvim/testdir/pyxfile/pyx.py | uga-rosa/neovim | afbf89dc0120b1db5782a0bf807dc7c8db70ccf6 | [
"Vim"
] | 5,282 | 2015-01-02T08:22:32.000Z | 2022-03-31T14:33:22.000Z | import sys
print(sys.version)
| 10 | 18 | 0.8 | 5 | 30 | 4.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 30 | 2 | 19 | 15 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
cd24ef7bb022cb5344f4779e07050be2e6b406ce | 26 | py | Python | Data_loader/__init__.py | Gorilla-Lab-SCUT/OrthDNNs | 7391b1751334c485feea212a80abc4dc8430dc1e | [
"BSD-3-Clause"
] | 4 | 2021-07-15T07:34:30.000Z | 2022-03-30T08:23:46.000Z | Data_loader/__init__.py | Gorilla-Lab-SCUT/OrthDNNs | 7391b1751334c485feea212a80abc4dc8430dc1e | [
"BSD-3-Clause"
] | 1 | 2020-02-11T10:55:46.000Z | 2020-02-11T10:55:46.000Z | Data_loader/__init__.py | Yuxin-Wen/OrthDNNs | 7391b1751334c485feea212a80abc4dc8430dc1e | [
"BSD-3-Clause"
] | 1 | 2021-11-23T03:31:09.000Z | 2021-11-23T03:31:09.000Z | from . import Data_loader
| 13 | 25 | 0.807692 | 4 | 26 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 26 | 1 | 26 | 26 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
269b2cbd75b429cf7d826f525f6550f5e4ca0eb6 | 98 | py | Python | libp2p/security/exceptions.py | swedneck/py-libp2p | 85457fa308100ed0e5802849bf3918ffae486239 | [
"Apache-2.0",
"MIT"
] | 315 | 2019-02-13T01:29:09.000Z | 2022-03-28T13:44:07.000Z | libp2p/security/exceptions.py | pipermerriam/py-libp2p | 379a157d6b67e86a616b2458af519bbe5fb26a51 | [
"Apache-2.0",
"MIT"
] | 249 | 2019-02-22T05:00:07.000Z | 2022-03-29T16:30:46.000Z | libp2p/security/exceptions.py | ralexstokes/py-libp2p | 5144ab82894623969cb17baf0d4c64bd0a274068 | [
"Apache-2.0",
"MIT"
] | 77 | 2019-02-24T19:45:17.000Z | 2022-03-30T03:20:09.000Z | from libp2p.exceptions import BaseLibp2pError
class HandshakeFailure(BaseLibp2pError):
pass
| 16.333333 | 45 | 0.826531 | 9 | 98 | 9 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035294 | 0.132653 | 98 | 5 | 46 | 19.6 | 0.917647 | 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 |
26bf63467b3727e5b69099c0adfcc1778b9c0d0e | 17,649 | py | Python | ledcontrol/driver/ledcontrol_rpi_ws281x_driver.py | JosephAntony1/led-control | 4dc49c5b57bb6fb66b00aac05b692ddabb857d6e | [
"MIT"
] | null | null | null | ledcontrol/driver/ledcontrol_rpi_ws281x_driver.py | JosephAntony1/led-control | 4dc49c5b57bb6fb66b00aac05b692ddabb857d6e | [
"MIT"
] | null | null | null | ledcontrol/driver/ledcontrol_rpi_ws281x_driver.py | JosephAntony1/led-control | 4dc49c5b57bb6fb66b00aac05b692ddabb857d6e | [
"MIT"
] | null | null | null | # This file was automatically generated by SWIG (http://www.swig.org).
# Version 4.0.2
#
# Do not make changes to this file unless you know what you are doing--modify
# the SWIG interface file instead.
from sys import version_info as _swig_python_version_info
if _swig_python_version_info < (2, 7, 0):
raise Runtime... | 56.567308 | 153 | 0.840614 | 2,609 | 17,649 | 5.029513 | 0.097739 | 0.194178 | 0.283798 | 0.373419 | 0.794848 | 0.742798 | 0.652797 | 0.575446 | 0.354214 | 0.273434 | 0 | 0.075481 | 0.096209 | 17,649 | 311 | 154 | 56.749196 | 0.747163 | 0.042325 | 0 | 0.108225 | 1 | 0 | 0.01493 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.194805 | false | 0 | 0.025974 | 0.142857 | 0.705628 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
26cbbfb7f976b07d0b7e861760295acf5e84ff9f | 371 | py | Python | scripts/reactor/easyhontaleBoss.py | G00dBye/YYMS | 1de816fc842b6598d5b4b7896b6ab0ee8f7cdcfb | [
"MIT"
] | 54 | 2019-04-16T23:24:48.000Z | 2021-12-18T11:41:50.000Z | scripts/reactor/easyhontaleBoss.py | G00dBye/YYMS | 1de816fc842b6598d5b4b7896b6ab0ee8f7cdcfb | [
"MIT"
] | 3 | 2019-05-19T15:19:41.000Z | 2020-04-27T16:29:16.000Z | scripts/reactor/easyhontaleBoss.py | G00dBye/YYMS | 1de816fc842b6598d5b4b7896b6ab0ee8f7cdcfb | [
"MIT"
] | 49 | 2020-11-25T23:29:16.000Z | 2022-03-26T16:20:24.000Z | # Easy horntail gem
sm.spawnMob(8810202, 95, 260, False)
sm.spawnMob(8810203, 95, 260, False)
sm.spawnMob(8810204, 95, 260, False)
sm.spawnMob(8810205, 95, 260, False)
sm.spawnMob(8810206, 95, 260, False)
sm.spawnMob(8810207, 95, 260, False)
sm.spawnMob(8810208, 95, 260, False)
sm.spawnMob(8810209, 95, 260, False)
sm.s... | 33.727273 | 36 | 0.735849 | 59 | 371 | 4.627119 | 0.305085 | 0.32967 | 0.32967 | 0.395604 | 0.586081 | 0 | 0 | 0 | 0 | 0 | 0 | 0.326284 | 0.107817 | 371 | 11 | 37 | 33.727273 | 0.498489 | 0.045822 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 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 |
f859e46592fe82127e26d25296c7b571674dc3d5 | 1,146 | py | Python | pirates/leveleditor/worldData/GameAreaSandboxCaveA.py | Willy5s/Pirates-Online-Rewritten | 7434cf98d9b7c837d57c181e5dabd02ddf98acb7 | [
"BSD-3-Clause"
] | 81 | 2018-04-08T18:14:24.000Z | 2022-01-11T07:22:15.000Z | pirates/leveleditor/worldData/GameAreaSandboxCaveA.py | Willy5s/Pirates-Online-Rewritten | 7434cf98d9b7c837d57c181e5dabd02ddf98acb7 | [
"BSD-3-Clause"
] | 4 | 2018-09-13T20:41:22.000Z | 2022-01-08T06:57:00.000Z | pirates/leveleditor/worldData/GameAreaSandboxCaveA.py | Willy5s/Pirates-Online-Rewritten | 7434cf98d9b7c837d57c181e5dabd02ddf98acb7 | [
"BSD-3-Clause"
] | 26 | 2018-05-26T12:49:27.000Z | 2021-09-11T09:11:59.000Z | from pandac.PandaModules import Point3, VBase3
objectStruct = {'Objects': {'1163554532.64sdnaik': {'Type': 'Island Game Area','Name': 'GameAreaSandboxCaveA','Objects': {'1163718959.63sdnaik': {'Type': 'Locator Node','Name': 'portal_interior_1','Hpr': VBase3(90.0, 0.0, 0.0),'Pos': Point3(520.909, -421.176, 52.838),'Scal... | 573 | 1,099 | 0.673647 | 156 | 1,146 | 4.897436 | 0.391026 | 0.02356 | 0.02356 | 0.031414 | 0.45288 | 0.287958 | 0.158377 | 0.158377 | 0.136126 | 0.065445 | 0 | 0.265005 | 0.054974 | 1,146 | 2 | 1,099 | 573 | 0.440443 | 0 | 0 | 0 | 0 | 0 | 0.568439 | 0.228422 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
f8cc4fce6f05b9e04e50b39d786edb012e3a2736 | 55 | py | Python | enthought/traits/protocols/generate.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 3 | 2016-12-09T06:05:18.000Z | 2018-03-01T13:00:29.000Z | enthought/traits/protocols/generate.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 1 | 2020-12-02T00:51:32.000Z | 2020-12-02T08:48:55.000Z | enthought/traits/protocols/generate.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | null | null | null | # proxy module
from traits.protocols.generate import *
| 18.333333 | 39 | 0.8 | 7 | 55 | 6.285714 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.127273 | 55 | 2 | 40 | 27.5 | 0.916667 | 0.218182 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3e3a222baa801def196eaf026923f04923624ace | 76 | py | Python | drum/__init__.py | slmnv5/pepelats | 044efa45be4c15289de9e300d681c2008af69962 | [
"MIT"
] | 1 | 2022-01-06T02:51:25.000Z | 2022-01-06T02:51:25.000Z | drum/__init__.py | slmnv5/pepelats | 044efa45be4c15289de9e300d681c2008af69962 | [
"MIT"
] | null | null | null | drum/__init__.py | slmnv5/pepelats | 044efa45be4c15289de9e300d681c2008af69962 | [
"MIT"
] | 1 | 2021-12-01T20:52:21.000Z | 2021-12-01T20:52:21.000Z | from drum._drumloader import DrumLoader
from drum._realdrum import RealDrum
| 25.333333 | 39 | 0.868421 | 10 | 76 | 6.4 | 0.5 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 76 | 2 | 40 | 38 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e42476a56418b10ddff3d2e11030d3d0367d24b6 | 182 | py | Python | tests/test_classical/__init__.py | ajaysub110/JigglypuffRL | 083fd26d05b7eac018e6db7d32c4be4587461766 | [
"MIT"
] | null | null | null | tests/test_classical/__init__.py | ajaysub110/JigglypuffRL | 083fd26d05b7eac018e6db7d32c4be4587461766 | [
"MIT"
] | null | null | null | tests/test_classical/__init__.py | ajaysub110/JigglypuffRL | 083fd26d05b7eac018e6db7d32c4be4587461766 | [
"MIT"
] | null | null | null | from tests.test_classical.test_agents import TestAgents
from tests.test_classical.test_bandits import TestBandit
from tests.test_classical.test_common import TestModels, TestTrainer
| 45.5 | 68 | 0.89011 | 25 | 182 | 6.24 | 0.48 | 0.173077 | 0.25 | 0.423077 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 182 | 3 | 69 | 60.666667 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
e43d297d7653330e8b775af4c9cf22d1216372e1 | 149 | py | Python | tools/utils.py | BobuxBot/BobuxAdmin | 81786bbccd6a440de9e1f8599cbb7a53d5a1d3b2 | [
"MIT"
] | 2 | 2022-02-08T17:06:39.000Z | 2022-02-19T01:55:12.000Z | tools/utils.py | BobuxBot/BobuxAdmin | 81786bbccd6a440de9e1f8599cbb7a53d5a1d3b2 | [
"MIT"
] | 2 | 2022-02-09T07:32:38.000Z | 2022-02-13T07:36:43.000Z | tools/utils.py | BobuxBot/BobuxAdmin | 81786bbccd6a440de9e1f8599cbb7a53d5a1d3b2 | [
"MIT"
] | null | null | null | from datetime import timedelta, datetime
def to_discord_timestamp(delta: timedelta):
return f"<t:{int((datetime.now() + delta).timestamp())}>"
| 24.833333 | 61 | 0.724832 | 19 | 149 | 5.578947 | 0.736842 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.120805 | 149 | 5 | 62 | 29.8 | 0.80916 | 0 | 0 | 0 | 0 | 0 | 0.315436 | 0.295302 | 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 |
e458b8ab58a399bf110c1d57179939ad6057e7b1 | 2,381 | py | Python | pychemia/searcher/tests/test_searcher_clusters.py | quanshengwu/PyChemia | 98e9f7a1118b694dbda3ee75411ff8f8d7b9688b | [
"MIT"
] | 1 | 2021-03-26T12:34:45.000Z | 2021-03-26T12:34:45.000Z | pychemia/searcher/tests/test_searcher_clusters.py | quanshengwu/PyChemia | 98e9f7a1118b694dbda3ee75411ff8f8d7b9688b | [
"MIT"
] | null | null | null | pychemia/searcher/tests/test_searcher_clusters.py | quanshengwu/PyChemia | 98e9f7a1118b694dbda3ee75411ff8f8d7b9688b | [
"MIT"
] | null | null | null | import unittest
class SearcherTest(unittest.TestCase):
def notest_harmony(self):
"""
Tests (pychemia.searcher.harmony) with LJ Clusters :
"""
import pychemia
pychemia.pcm_log.debug('HarmonySearch')
popu = pychemia.population.LJCluster('LJ', composition='... | 37.203125 | 120 | 0.618228 | 236 | 2,381 | 6.131356 | 0.20339 | 0.132688 | 0.132688 | 0.160332 | 0.794057 | 0.781617 | 0.781617 | 0.781617 | 0.781617 | 0.651693 | 0 | 0.023604 | 0.270475 | 2,381 | 63 | 121 | 37.793651 | 0.809442 | 0.105418 | 0 | 0.65 | 0 | 0 | 0.051081 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1 | false | 0 | 0.125 | 0 | 0.25 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e4e7047c6ab06c71f3fbc05897d44b3837769340 | 83 | py | Python | test/run/t398.py | timmartin/skulpt | 2e3a3fbbaccc12baa29094a717ceec491a8a6750 | [
"MIT"
] | 2,671 | 2015-01-03T08:23:25.000Z | 2022-03-31T06:15:48.000Z | test/run/t398.py | timmartin/skulpt | 2e3a3fbbaccc12baa29094a717ceec491a8a6750 | [
"MIT"
] | 972 | 2015-01-05T08:11:00.000Z | 2022-03-29T13:47:15.000Z | test/run/t398.py | timmartin/skulpt | 2e3a3fbbaccc12baa29094a717ceec491a8a6750 | [
"MIT"
] | 845 | 2015-01-03T19:53:36.000Z | 2022-03-29T18:34:22.000Z | print zip([8, 9, 10], [11, 12, 13])
print zip([1, 2, 3])
print zip()
print zip([])
| 16.6 | 35 | 0.542169 | 17 | 83 | 2.647059 | 0.647059 | 0.711111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.191176 | 0.180723 | 83 | 4 | 36 | 20.75 | 0.470588 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 1 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
e4f70b504c346a484d8fe3a7d00e95d7176d3041 | 1,262 | py | Python | src/statsplotter.py | gorcajo/spotify-dude | 8c16960906bebf19673fec9c1477fc526259d024 | [
"MIT"
] | null | null | null | src/statsplotter.py | gorcajo/spotify-dude | 8c16960906bebf19673fec9c1477fc526259d024 | [
"MIT"
] | null | null | null | src/statsplotter.py | gorcajo/spotify-dude | 8c16960906bebf19673fec9c1477fc526259d024 | [
"MIT"
] | null | null | null | import matplotlib.pyplot as plt
import numpy as np
import uuid
from entities import Plottable
def plot_as_bar_graph(plottable):
x_axis = []
y_axis = []
for x_value in plottable.x_axis:
x_axis.append(x_value)
for y_value in plottable.y_axis:
y_axis.append(y_value)
y_pos = np.ara... | 22.140351 | 53 | 0.637876 | 196 | 1,262 | 3.903061 | 0.260204 | 0.065359 | 0.073203 | 0.035294 | 0.760784 | 0.760784 | 0.760784 | 0.760784 | 0.760784 | 0.760784 | 0 | 0.006167 | 0.229002 | 1,262 | 56 | 54 | 22.535714 | 0.780062 | 0 | 0 | 0.736842 | 0 | 0 | 0.041204 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.052632 | false | 0 | 0.105263 | 0 | 0.210526 | 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 |
90003c628f469812da1eb37b4b855239dbff7f07 | 68 | py | Python | superstructure/infrastructure/storage/__init.py | MultifokalHirn/superstructure | 61672613da627d8c1bbd9250ca83df1d99bb1194 | [
"MIT"
] | 3 | 2020-06-06T13:03:25.000Z | 2021-03-19T08:32:23.000Z | superstructure/infrastructure/storage/__init.py | MultifokalHirn/superstructure | 61672613da627d8c1bbd9250ca83df1d99bb1194 | [
"MIT"
] | 309 | 2020-06-06T14:49:03.000Z | 2022-03-31T00:02:09.000Z | superstructure/infrastructure/storage/__init.py | MultifokalHirn/superstructure | 61672613da627d8c1bbd9250ca83df1d99bb1194 | [
"MIT"
] | 1 | 2020-06-09T11:18:00.000Z | 2020-06-09T11:18:00.000Z | from .pickled import * # noqa # nosec
from .redis import * # noqa
| 22.666667 | 38 | 0.661765 | 9 | 68 | 5 | 0.666667 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.235294 | 68 | 2 | 39 | 34 | 0.865385 | 0.235294 | 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 |
901f937a05619811b0e9fa38fd2c77e9c142714d | 37 | py | Python | scormxblock/__init__.py | fccn/edx_xblock_scorm | ff4f6a8a498b5c32273b0960c3ff9de80c0afe50 | [
"Apache-2.0"
] | 36 | 2016-04-18T20:27:41.000Z | 2022-01-13T13:20:50.000Z | scormxblock/__init__.py | fccn/edx_xblock_scorm | ff4f6a8a498b5c32273b0960c3ff9de80c0afe50 | [
"Apache-2.0"
] | 25 | 2016-05-30T15:13:36.000Z | 2022-02-21T07:57:15.000Z | scormxblock/__init__.py | fccn/edx_xblock_scorm | ff4f6a8a498b5c32273b0960c3ff9de80c0afe50 | [
"Apache-2.0"
] | 51 | 2016-04-26T19:35:15.000Z | 2021-11-08T23:00:10.000Z | from .scormxblock import ScormXBlock
| 18.5 | 36 | 0.864865 | 4 | 37 | 8 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 37 | 1 | 37 | 37 | 0.969697 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5f7bf32403c4882d2106bf96ab7660945a2e7801 | 96 | py | Python | venv/lib/python3.8/site-packages/future/moves/socketserver.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/future/moves/socketserver.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/future/moves/socketserver.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/bf/c6/4b/bab0f11ce82cb9b626d6279f8e5a679c941cc7656e4541adf4508907d9 | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.40625 | 0 | 96 | 1 | 96 | 96 | 0.489583 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5fa2ac09c4ec100ad2bb57428fd0fe0f556c3198 | 343 | py | Python | python/anyascii/_data/_01c.py | casept/anyascii | d4f426b91751254b68eaa84c6cd23099edd668e6 | [
"ISC"
] | null | null | null | python/anyascii/_data/_01c.py | casept/anyascii | d4f426b91751254b68eaa84c6cd23099edd668e6 | [
"ISC"
] | null | null | null | python/anyascii/_data/_01c.py | casept/anyascii | d4f426b91751254b68eaa84c6cd23099edd668e6 | [
"ISC"
] | null | null | null | b=" 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 a t g m l a k j m w i s h n r u c d n y e p d n r o t b n h m m ' , . v d o s t t ' e u A B G D E V Z T I K' L M N O P' Zh R S T' U P K Gh Q' Sh Ch Ts Dz Ts' Ch' Kh J H Ey Y W Q Ow F E ' G ' E \"... | 343 | 343 | 0.346939 | 108 | 343 | 1.101852 | 0.407407 | 0.033613 | 0.05042 | 0.067227 | 0.168067 | 0.168067 | 0.168067 | 0.168067 | 0.168067 | 0.168067 | 0 | 0.138889 | 0.580175 | 343 | 1 | 343 | 343 | 0.6875 | 0 | 0 | 0 | 0 | 1 | 0.918605 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5faeb7fa13e72041e1ad1671dfa22265cd64cfd5 | 103 | py | Python | libgcv/model/faster_rcnn/__init__.py | bhaveshbaranda/Human-Object-Relation-Network | 8f358fa14fe14c7c02758359dce2a5c625be87c1 | [
"MIT"
] | 2 | 2020-09-18T12:16:39.000Z | 2021-07-08T01:41:33.000Z | libgcv/model/faster_rcnn/__init__.py | bhaveshbaranda/Human-Object-Relation-Network | 8f358fa14fe14c7c02758359dce2a5c625be87c1 | [
"MIT"
] | 2 | 2020-09-18T12:16:34.000Z | 2021-07-15T05:33:26.000Z | libgcv/model/faster_rcnn/__init__.py | bhaveshbaranda/Human-Object-Relation-Network | 8f358fa14fe14c7c02758359dce2a5c625be87c1 | [
"MIT"
] | 6 | 2020-09-17T05:57:54.000Z | 2021-07-15T05:34:01.000Z | """Faster-RCNN Object Detection."""
from __future__ import absolute_import
from .faster_rcnn import *
| 20.6 | 38 | 0.786408 | 13 | 103 | 5.769231 | 0.615385 | 0.266667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116505 | 103 | 4 | 39 | 25.75 | 0.824176 | 0.281553 | 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 |
081d10359a854427b08f208f142f6f43b5b2aee5 | 61 | py | Python | src/lambda-python-example/handler.py | sbstjn/cdk-lambda-fleet | b2927c05786e78472648b1519bb5c82579b4e220 | [
"MIT"
] | 17 | 2020-12-06T16:46:31.000Z | 2021-06-16T18:00:21.000Z | src/lambda-python-example/handler.py | sbstjn/cdk-lambda-fleet | b2927c05786e78472648b1519bb5c82579b4e220 | [
"MIT"
] | 3 | 2020-12-06T16:25:58.000Z | 2021-03-04T21:28:18.000Z | src/lambda-python-example/handler.py | sbstjn/cdk-lambda-fleet | b2927c05786e78472648b1519bb5c82579b4e220 | [
"MIT"
] | 3 | 2021-03-04T18:43:23.000Z | 2021-06-16T18:00:23.000Z | import os
def run(event, context):
return 'Done: python' | 15.25 | 25 | 0.688525 | 9 | 61 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.196721 | 61 | 4 | 25 | 15.25 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0.193548 | 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 |
082185772645afae6441c2b9c8987447a68645ef | 46 | py | Python | utils/__init__.py | ijmbarr/pythonic-metal | da4b8a496fae3c9211d7f52338568a8e354cd94d | [
"MIT"
] | 23 | 2017-08-25T02:40:16.000Z | 2021-05-13T01:29:40.000Z | utils/__init__.py | ijmbarr/pythonic-metal | da4b8a496fae3c9211d7f52338568a8e354cd94d | [
"MIT"
] | null | null | null | utils/__init__.py | ijmbarr/pythonic-metal | da4b8a496fae3c9211d7f52338568a8e354cd94d | [
"MIT"
] | 6 | 2017-10-20T20:31:49.000Z | 2021-02-20T22:03:25.000Z |
import utils.tokenizer
import utils.colouring | 15.333333 | 22 | 0.869565 | 6 | 46 | 6.666667 | 0.666667 | 0.55 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 46 | 3 | 23 | 15.333333 | 0.952381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
083838fb72d28de7dda2ea4a493dec51dad7c45c | 26 | py | Python | models/__init__.py | ackness/GazeFlow | ca6b7d548571f85af84bdec77292758ab5d36449 | [
"MIT"
] | 12 | 2020-12-29T12:00:20.000Z | 2022-02-07T08:26:24.000Z | models/__init__.py | ackness/GazeFlow | ca6b7d548571f85af84bdec77292758ab5d36449 | [
"MIT"
] | 1 | 2022-02-12T11:26:20.000Z | 2022-02-12T11:26:28.000Z | models/__init__.py | ackness/GazeFlow | ca6b7d548571f85af84bdec77292758ab5d36449 | [
"MIT"
] | 2 | 2021-08-20T14:40:01.000Z | 2022-01-02T10:32:04.000Z | from .gazeflow import Glow | 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 |
f235d82edec1bb6596fdc81d0194a1638935d708 | 26 | py | Python | src/zuthaka/backendapi/services/ClassHandlers/Covenant/__init__.py | justinforbes/zuthaka | 26b4d37c6e280ff16858f37882752e9d15eac817 | [
"BSD-3-Clause"
] | 129 | 2021-08-05T21:10:35.000Z | 2022-03-08T06:38:50.000Z | src/zuthaka/backendapi/services/ClassHandlers/Covenant/__init__.py | justinforbes/zuthaka | 26b4d37c6e280ff16858f37882752e9d15eac817 | [
"BSD-3-Clause"
] | 2 | 2021-08-20T06:11:16.000Z | 2021-09-08T03:25:09.000Z | src/zuthaka/backendapi/services/ClassHandlers/Covenant/__init__.py | justinforbes/zuthaka | 26b4d37c6e280ff16858f37882752e9d15eac817 | [
"BSD-3-Clause"
] | 16 | 2021-08-06T01:01:20.000Z | 2022-02-02T14:19:17.000Z | from .covenantc2 import *
| 13 | 25 | 0.769231 | 3 | 26 | 6.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.045455 | 0.153846 | 26 | 1 | 26 | 26 | 0.863636 | 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 |
f2bab902292b34d83bcfa28be9ab722470895fb1 | 150 | py | Python | alexa_skills/helpers/__init__.py | johnyob/Alexa-Skills | 3679a887bb519042511a16fbb848254dc0ee43a0 | [
"MIT"
] | null | null | null | alexa_skills/helpers/__init__.py | johnyob/Alexa-Skills | 3679a887bb519042511a16fbb848254dc0ee43a0 | [
"MIT"
] | null | null | null | alexa_skills/helpers/__init__.py | johnyob/Alexa-Skills | 3679a887bb519042511a16fbb848254dc0ee43a0 | [
"MIT"
] | null | null | null | from alexa_skills.helpers.Constants import NON_PRIMATIVES
from alexa_skills.helpers.Util import Struct, is_dialog_complete, is_request_type, is_intent | 75 | 92 | 0.886667 | 23 | 150 | 5.434783 | 0.695652 | 0.144 | 0.24 | 0.352 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 150 | 2 | 92 | 75 | 0.892857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
4b4224908ae525f2a12682e868b72a429fad4af4 | 42 | py | Python | backend/src/session/src/google_oauth/__init__.py | parveenchahal/authonline.net | d9c25262705feb5820f63569e0dd3ab42c61199b | [
"Apache-2.0"
] | null | null | null | backend/src/session/src/google_oauth/__init__.py | parveenchahal/authonline.net | d9c25262705feb5820f63569e0dd3ab42c61199b | [
"Apache-2.0"
] | 1 | 2022-02-27T12:27:57.000Z | 2022-02-27T12:27:57.000Z | backend/src/session/src/google_oauth/__init__.py | parveenchahal/authonline.net | d9c25262705feb5820f63569e0dd3ab42c61199b | [
"Apache-2.0"
] | null | null | null | from ._oauth_operations import GoogleOauth | 42 | 42 | 0.904762 | 5 | 42 | 7.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 42 | 1 | 42 | 42 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4b810a505d7f76456f89ddc3761558a209896b7e | 52 | py | Python | utokenize/testdata/basic_multilevel.py | MaxTurchin/pycopy-lib | d7a69fc2a28031e2ca475c29239f715c1809d8cc | [
"PSF-2.0"
] | 126 | 2019-07-19T14:42:41.000Z | 2022-03-21T22:22:19.000Z | utokenize/testdata/basic_multilevel.py | MaxTurchin/pycopy-lib | d7a69fc2a28031e2ca475c29239f715c1809d8cc | [
"PSF-2.0"
] | 38 | 2019-08-28T01:46:31.000Z | 2022-03-17T05:46:51.000Z | utokenize/testdata/basic_multilevel.py | MaxTurchin/pycopy-lib | d7a69fc2a28031e2ca475c29239f715c1809d8cc | [
"PSF-2.0"
] | 55 | 2019-08-02T09:32:33.000Z | 2021-12-22T11:25:51.000Z | def foo():
if 1:
if 2:
pass
| 10.4 | 16 | 0.307692 | 7 | 52 | 2.285714 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 0.596154 | 52 | 4 | 17 | 13 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0.25 | 0 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 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 |
29b6acac421dacea89b81b4e043fec7633dfe01e | 42 | py | Python | hn_rank/__init__.py | RhettTrickett/hacker-news-rank | 58ec0d27c3f4fe04468b76257d1371383973241a | [
"MIT"
] | 6 | 2018-06-20T07:47:01.000Z | 2021-06-22T06:17:59.000Z | hn_rank/__init__.py | RhettTrickett/hacker-news-rank | 58ec0d27c3f4fe04468b76257d1371383973241a | [
"MIT"
] | 1 | 2018-08-07T07:06:45.000Z | 2018-08-07T07:06:45.000Z | hn_rank/__init__.py | RhettTrickett/hacker-news-rank | 58ec0d27c3f4fe04468b76257d1371383973241a | [
"MIT"
] | 2 | 2018-06-22T08:22:24.000Z | 2018-08-03T16:39:48.000Z | from .core import rank_urls, rank_articles | 42 | 42 | 0.857143 | 7 | 42 | 4.857143 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 42 | 1 | 42 | 42 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
29d8872c736a0dcda922161991ea9ae31d4acdcc | 795 | py | Python | hw/hw01/tests/q4c.py | surajrampure/data-94-sp21 | 074543103579c28d796c681f78f3c38449825328 | [
"BSD-3-Clause"
] | 1 | 2020-11-21T09:42:52.000Z | 2020-11-21T09:42:52.000Z | hw/hw01/tests/q4c.py | surajrampure/data-94-sp21 | 074543103579c28d796c681f78f3c38449825328 | [
"BSD-3-Clause"
] | null | null | null | hw/hw01/tests/q4c.py | surajrampure/data-94-sp21 | 074543103579c28d796c681f78f3c38449825328 | [
"BSD-3-Clause"
] | null | null | null | test = { 'name': 'q4c',
'points': 1,
'suites': [ { 'cases': [ {'code': ">>> is_valid_november_2020_sweden('Sweden', '2020-11-04')\nTrue", 'hidden': False, 'locked': False},
{'code': ">>> not is_valid_november_2020_sweden('sweden', '2020-11-04')\nTrue", 'hidden': False,... | 72.272727 | 150 | 0.464151 | 76 | 795 | 4.644737 | 0.381579 | 0.07932 | 0.169972 | 0.215297 | 0.779037 | 0.70255 | 0.70255 | 0.70255 | 0.70255 | 0.70255 | 0 | 0.096045 | 0.332075 | 795 | 10 | 151 | 79.5 | 0.568738 | 0 | 0 | 0 | 0 | 0 | 0.481761 | 0.196226 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d9aab02e821fe150f86ce60a9dccf96ee23acedc | 21,154 | py | Python | tests/components/mqtt/test_config_flow.py | jaspervanheuven/core | 58c00da8a046e65ec0744426b3e2aa613249e9d9 | [
"Apache-2.0"
] | 3 | 2020-11-27T06:26:27.000Z | 2020-12-09T14:55:16.000Z | tests/components/mqtt/test_config_flow.py | jaspervanheuven/core | 58c00da8a046e65ec0744426b3e2aa613249e9d9 | [
"Apache-2.0"
] | 13 | 2021-12-16T06:18:53.000Z | 2022-03-31T06:26:03.000Z | tests/components/mqtt/test_config_flow.py | jaspervanheuven/core | 58c00da8a046e65ec0744426b3e2aa613249e9d9 | [
"Apache-2.0"
] | 1 | 2020-12-09T14:55:21.000Z | 2020-12-09T14:55:21.000Z | """Test config flow."""
from unittest.mock import patch
import pytest
import voluptuous as vol
from homeassistant import config_entries, data_entry_flow
from homeassistant.components import mqtt
from homeassistant.components.hassio import HassioServiceInfo
from homeassistant.core import HomeAssistant
from homeassista... | 32.796899 | 87 | 0.639217 | 2,603 | 21,154 | 4.934307 | 0.080292 | 0.044223 | 0.047649 | 0.050685 | 0.837667 | 0.813999 | 0.768608 | 0.748832 | 0.716988 | 0.689583 | 0 | 0.012625 | 0.239907 | 21,154 | 644 | 88 | 32.847826 | 0.786181 | 0.050392 | 0 | 0.693837 | 0 | 0 | 0.145037 | 0.014019 | 0 | 0 | 0 | 0 | 0.180915 | 1 | 0.013917 | false | 0.019881 | 0.017893 | 0 | 0.039761 | 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 |
8a4f64a79aa752959f3d9d5cee719ec3631adea7 | 12,902 | py | Python | pgradd/tests/test_RINGparser_RDkitwrapper_test.py | VlachosGroup/PythonGroupAdditivity | 114218addd528ebec82655edf4ca0d2d125d3543 | [
"MIT"
] | 2 | 2019-09-20T22:02:52.000Z | 2022-03-07T10:53:20.000Z | pgradd/tests/test_RINGparser_RDkitwrapper_test.py | VlachosGroup/PythonGroupAdditivity | 114218addd528ebec82655edf4ca0d2d125d3543 | [
"MIT"
] | 10 | 2019-06-12T18:31:48.000Z | 2021-11-17T17:53:57.000Z | pgradd/tests/test_RINGparser_RDkitwrapper_test.py | VlachosGroup/PythonGroupAdditivity | 114218addd528ebec82655edf4ca0d2d125d3543 | [
"MIT"
] | 2 | 2019-11-20T10:29:02.000Z | 2020-06-02T08:08:18.000Z | # -*- coding: utf-8 -*-
from pgradd.RINGParser.Reader import Read
from rdkit import Chem
import unittest
class TestRINGParser(unittest.TestCase):
def test_molquery(self):
testmol = Chem.MolFromSmiles('CCC')
s = """
fragment a{
C labeled c1
C labeled c2 single bond ... | 32.094527 | 79 | 0.481631 | 1,390 | 12,902 | 4.380576 | 0.079137 | 0.095254 | 0.07144 | 0.133355 | 0.866481 | 0.842503 | 0.800131 | 0.773033 | 0.751519 | 0.746592 | 0 | 0.050129 | 0.400093 | 12,902 | 401 | 80 | 32.174564 | 0.736563 | 0.001628 | 0 | 0.653951 | 0 | 0 | 0.286513 | 0 | 0 | 0 | 0 | 0 | 0.079019 | 1 | 0.079019 | false | 0 | 0.008174 | 0 | 0.089918 | 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 |
8a5f5c1f7ef5252d4d1bc59e5dc9d0a1cff4291b | 152 | py | Python | twitter_sentence_generator/transformers/list_transformer.py | DEV3L/python-heroku-twitter-random-sentence-generator | ca19ea5c5450a2998964beda2792000aa0c2521a | [
"Beerware"
] | 1 | 2021-01-12T17:06:54.000Z | 2021-01-12T17:06:54.000Z | twitter_sentence_generator/transformers/list_transformer.py | DEV3L/python-heroku-twitter-random-sentence-generator | ca19ea5c5450a2998964beda2792000aa0c2521a | [
"Beerware"
] | null | null | null | twitter_sentence_generator/transformers/list_transformer.py | DEV3L/python-heroku-twitter-random-sentence-generator | ca19ea5c5450a2998964beda2792000aa0c2521a | [
"Beerware"
] | null | null | null | class ListTransformer():
def __init__(self, _list):
self._list = _list
@property
def tuple(self):
return tuple(self._list)
| 19 | 32 | 0.618421 | 17 | 152 | 5.058824 | 0.529412 | 0.27907 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.276316 | 152 | 7 | 33 | 21.714286 | 0.781818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.166667 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
8a69d1114364f2cb12f99b99c1f1ad009a640866 | 2,849 | py | Python | tests/integration/test_local_project.py | cheese/packit | 790b01a30575b6bfd680fdc991542ba60e40a9f2 | [
"MIT"
] | 1 | 2020-12-28T18:00:22.000Z | 2020-12-28T18:00:22.000Z | tests/integration/test_local_project.py | cheese/packit | 790b01a30575b6bfd680fdc991542ba60e40a9f2 | [
"MIT"
] | 7 | 2020-12-28T19:57:35.000Z | 2021-04-17T14:43:15.000Z | tests/integration/test_local_project.py | cheese/packit | 790b01a30575b6bfd680fdc991542ba60e40a9f2 | [
"MIT"
] | null | null | null | # Copyright Contributors to the Packit project.
# SPDX-License-Identifier: MIT
import subprocess
from pathlib import Path
from ogr import GithubService, GitlabService
from packit.local_project import LocalProject
from tests.spellbook import initiate_git_repo
def test_pr_id_and_ref(tmp_path: Path):
""" p-s passes... | 29.677083 | 86 | 0.607582 | 352 | 2,849 | 4.667614 | 0.221591 | 0.133901 | 0.08521 | 0.107121 | 0.821668 | 0.821668 | 0.800974 | 0.800974 | 0.800974 | 0.800974 | 0 | 0.005143 | 0.24921 | 2,849 | 95 | 87 | 29.989474 | 0.762973 | 0.076869 | 0 | 0.675 | 0 | 0 | 0.135807 | 0.035195 | 0 | 0 | 0 | 0 | 0.025 | 1 | 0.025 | false | 0 | 0.0625 | 0 | 0.0875 | 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 |
8a6a9973398dffc8ceede3ec2f004b9b182d900a | 141 | py | Python | my/materialistic.py | aluhrs13/HPI | e750666e30e8987f3a4c46755857dc85dd64446c | [
"MIT"
] | 69 | 2019-10-04T03:07:17.000Z | 2020-03-13T14:53:15.000Z | my/materialistic.py | aluhrs13/HPI | e750666e30e8987f3a4c46755857dc85dd64446c | [
"MIT"
] | 1 | 2019-10-15T22:50:57.000Z | 2019-10-15T23:00:28.000Z | my/materialistic.py | aluhrs13/HPI | e750666e30e8987f3a4c46755857dc85dd64446c | [
"MIT"
] | 1 | 2020-01-02T12:13:18.000Z | 2020-01-02T12:13:18.000Z | from .core.warnings import high
high("DEPRECATED! Please use my.hackernews.materialistic instead.")
from .hackernews.materialistic import *
| 28.2 | 67 | 0.808511 | 17 | 141 | 6.705882 | 0.705882 | 0.403509 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.099291 | 141 | 4 | 68 | 35.25 | 0.897638 | 0 | 0 | 0 | 0 | 0 | 0.41844 | 0.191489 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8a9711997accb9770342d7917e0cade0024c9d4a | 145 | py | Python | Euclid/test.py | Joe1sn/CryotoWork | 34bb3d98b975e69f3e977c934e8c41f42ee129c8 | [
"MIT"
] | null | null | null | Euclid/test.py | Joe1sn/CryotoWork | 34bb3d98b975e69f3e977c934e8c41f42ee129c8 | [
"MIT"
] | null | null | null | Euclid/test.py | Joe1sn/CryotoWork | 34bb3d98b975e69f3e977c934e8c41f42ee129c8 | [
"MIT"
] | null | null | null | from Eucild import Eucild
print(Eucild(120,3))
print(Eucild(3,120))
print(Eucild(0,0))
print(Eucild(-2,-3))
print(Eucild("hello","world")) | 20.714286 | 30 | 0.682759 | 24 | 145 | 4.125 | 0.416667 | 0.555556 | 0.242424 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.092308 | 0.103448 | 145 | 7 | 30 | 20.714286 | 0.669231 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.166667 | 0 | 0.166667 | 0.833333 | 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 |
8aac30258b07c44f0ea7a8123af61956fbdef6cc | 91 | py | Python | faker/providers/date_time/es_ES/__init__.py | dandycheung/faker | 3220f8299c8e6364eeca2007b726c9d22d50918c | [
"MIT"
] | null | null | null | faker/providers/date_time/es_ES/__init__.py | dandycheung/faker | 3220f8299c8e6364eeca2007b726c9d22d50918c | [
"MIT"
] | null | null | null | faker/providers/date_time/es_ES/__init__.py | dandycheung/faker | 3220f8299c8e6364eeca2007b726c9d22d50918c | [
"MIT"
] | null | null | null | from ..es import Provider as DateTimeProvider
class Provider(DateTimeProvider):
pass
| 15.166667 | 45 | 0.78022 | 10 | 91 | 7.1 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164835 | 91 | 5 | 46 | 18.2 | 0.934211 | 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 |
8ab65f2e207979d6b4bf30702e44cefe9fe48765 | 68 | py | Python | client/pipes/__init__.py | chiaweil/pipelines | 401706556799b258a51da4649c251d89462ec658 | [
"Apache-2.0"
] | 1 | 2022-02-14T09:43:44.000Z | 2022-02-14T09:43:44.000Z | client/pipes/__init__.py | chiaweil/pipelines | 401706556799b258a51da4649c251d89462ec658 | [
"Apache-2.0"
] | null | null | null | client/pipes/__init__.py | chiaweil/pipelines | 401706556799b258a51da4649c251d89462ec658 | [
"Apache-2.0"
] | 1 | 2022-02-14T09:43:45.000Z | 2022-02-14T09:43:45.000Z | from .client import *
from .inference import *
from .server import * | 22.666667 | 24 | 0.75 | 9 | 68 | 5.666667 | 0.555556 | 0.392157 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.161765 | 68 | 3 | 25 | 22.666667 | 0.894737 | 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 |
76f429fca7f4d3dbd8cef0539499f92c498e9feb | 8,042 | py | Python | yaql/standard_library/common.py | nzlosh/yaql | bb65fc64026d431ffb866d02825deb3a0e4b5943 | [
"Apache-2.0"
] | 112 | 2015-10-18T02:57:41.000Z | 2022-03-28T18:26:36.000Z | yaql/standard_library/common.py | nzlosh/yaql | bb65fc64026d431ffb866d02825deb3a0e4b5943 | [
"Apache-2.0"
] | 3 | 2020-06-09T11:54:38.000Z | 2021-04-30T06:12:37.000Z | yaql/standard_library/common.py | nzlosh/yaql | bb65fc64026d431ffb866d02825deb3a0e4b5943 | [
"Apache-2.0"
] | 27 | 2015-12-10T00:10:02.000Z | 2022-03-20T21:51:01.000Z | # Copyright (c) 2015 Mirantis, Inc.
#
# 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... | 23.175793 | 78 | 0.657797 | 1,038 | 8,042 | 5.024085 | 0.120424 | 0.048322 | 0.058677 | 0.061361 | 0.863471 | 0.792138 | 0.790221 | 0.788303 | 0.788303 | 0.788303 | 0 | 0.002584 | 0.230042 | 8,042 | 346 | 79 | 23.242775 | 0.839632 | 0.540164 | 0 | 0.585366 | 0 | 0 | 0.087275 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.182927 | false | 0 | 0.012195 | 0 | 0.365854 | 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 |
0a029acc3f3049d4c570e788c164678931fdace5 | 32,346 | py | Python | tests/test_sierra_parser.py | BookOps-CAT/QCbotB | 258a3dd4a0b346c0fee82fe332e368c0b5c91440 | [
"MIT"
] | null | null | null | tests/test_sierra_parser.py | BookOps-CAT/QCbotB | 258a3dd4a0b346c0fee82fe332e368c0b5c91440 | [
"MIT"
] | 15 | 2018-01-19T17:39:08.000Z | 2020-12-16T17:57:12.000Z | tests/test_sierra_parser.py | BookOps-CAT/QCbotB | 258a3dd4a0b346c0fee82fe332e368c0b5c91440 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
import unittest
from datetime import datetime
from context import sierra_parser
class TestParser(unittest.TestCase):
"""Test parsing of Sierra lists exported to file"""
def test_verifying_bib_id(self):
self.assertEqual(
sierra_parser.verify_bib_id('b119955209'), ... | 35.820598 | 213 | 0.530854 | 3,319 | 32,346 | 4.904188 | 0.128352 | 0.205689 | 0.195306 | 0.243841 | 0.827671 | 0.817473 | 0.771825 | 0.590834 | 0.432451 | 0.255575 | 0 | 0.03109 | 0.371545 | 32,346 | 902 | 214 | 35.86031 | 0.769628 | 0.016138 | 0 | 0.656682 | 0 | 0.002304 | 0.142969 | 0.003018 | 0 | 0 | 0 | 0 | 0.321429 | 1 | 0.021889 | false | 0 | 0.003456 | 0 | 0.026498 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0a1d9e9786e840bb30d3220dc7c0850535a579c8 | 8,084 | py | Python | playground/test_rnn.py | stevenchen521/quant_ml | f7d5efc49c934724f97fcafacc560f4a35b24551 | [
"MIT"
] | 5 | 2019-02-14T03:12:22.000Z | 2022-01-24T18:43:07.000Z | playground/test_rnn.py | stevenchen521/quant_ml | f7d5efc49c934724f97fcafacc560f4a35b24551 | [
"MIT"
] | null | null | null | playground/test_rnn.py | stevenchen521/quant_ml | f7d5efc49c934724f97fcafacc560f4a35b24551 | [
"MIT"
] | 2 | 2019-11-13T18:56:13.000Z | 2021-12-31T01:25:22.000Z | import unittest
import tensorflow as tf
from .rnn_enh import MultiInputLSTMCell
from tensorflow.python.framework.tensor_shape import TensorShape
import numpy as np
import os
from helper.util import get_logger
class RNNTestCase(unittest.TestCase):
LOG_DIR = './logs'
def setUp(self):
self.LOGGER = g... | 34.4 | 104 | 0.631123 | 1,019 | 8,084 | 4.802748 | 0.140334 | 0.063343 | 0.085819 | 0.029424 | 0.842051 | 0.826931 | 0.819575 | 0.803228 | 0.733347 | 0.733347 | 0 | 0.069509 | 0.25433 | 8,084 | 234 | 105 | 34.547009 | 0.742369 | 0.24332 | 0 | 0.568966 | 0 | 0 | 0.016744 | 0.003647 | 0 | 0 | 0 | 0 | 0 | 1 | 0.12069 | false | 0 | 0.060345 | 0.034483 | 0.232759 | 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 |
0a2a4779cfd1fbc28d7e5e9d6358df0aad3d721a | 42 | py | Python | goldsberry/sportvu/__init__.py | motraor3/py-Goldsberry | fe238b07142cff64eda37e402bb003251af13f9b | [
"MIT"
] | 268 | 2015-07-28T18:49:06.000Z | 2022-03-06T03:08:18.000Z | goldsberry/sportvu/__init__.py | motraor3/py-Goldsberry | fe238b07142cff64eda37e402bb003251af13f9b | [
"MIT"
] | 24 | 2015-07-06T22:50:59.000Z | 2021-07-05T05:10:26.000Z | goldsberry/sportvu/__init__.py | motraor3/py-Goldsberry | fe238b07142cff64eda37e402bb003251af13f9b | [
"MIT"
] | 85 | 2015-08-08T17:45:28.000Z | 2021-11-10T09:35:26.000Z | from goldsberry.sportvu._SportVu2 import * | 42 | 42 | 0.857143 | 5 | 42 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025641 | 0.071429 | 42 | 1 | 42 | 42 | 0.871795 | 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 |
0a659c5f115b2e705b7c1a1bbdc91ea33857a790 | 169 | py | Python | modules/app_email/EmailParser/ost_parser.py | naaya17/carpe | fa2e3cfebe20f8839c985e5b9b78b538800172a1 | [
"Apache-2.0"
] | 56 | 2019-02-07T06:21:45.000Z | 2022-03-21T08:19:24.000Z | modules/app_email/EmailParser/ost_parser.py | naaya17/carpe | fa2e3cfebe20f8839c985e5b9b78b538800172a1 | [
"Apache-2.0"
] | 5 | 2020-05-25T17:29:00.000Z | 2021-12-13T20:49:08.000Z | modules/app_email/EmailParser/ost_parser.py | naaya17/carpe | fa2e3cfebe20f8839c985e5b9b78b538800172a1 | [
"Apache-2.0"
] | 31 | 2019-03-13T10:23:49.000Z | 2021-11-04T12:14:58.000Z | import EmailParser.pst_parser
"""
if __name__ == "__main__":
pass
else:
from EmailBoxClass import EmailBox
EmailBox.main = EmailParser.pst_parser.main
"""
| 16.9 | 47 | 0.715976 | 19 | 169 | 5.842105 | 0.631579 | 0.252252 | 0.36036 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.183432 | 169 | 9 | 48 | 18.777778 | 0.804348 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
0a6f1707341f08e50621a8059a817b5a455fcc83 | 75,843 | py | Python | ckanext/datastore/tests/test_search.py | shubhamsharma10/ckan | 08a8c31970ad9f58265aeaae53157058dba2e5a3 | [
"Apache-2.0"
] | 1 | 2021-03-20T20:45:04.000Z | 2021-03-20T20:45:04.000Z | ckanext/datastore/tests/test_search.py | shubhamsharma10/ckan | 08a8c31970ad9f58265aeaae53157058dba2e5a3 | [
"Apache-2.0"
] | null | null | null | ckanext/datastore/tests/test_search.py | shubhamsharma10/ckan | 08a8c31970ad9f58265aeaae53157058dba2e5a3 | [
"Apache-2.0"
] | 2 | 2019-03-06T11:24:13.000Z | 2019-03-15T01:31:49.000Z | # encoding: utf-8
import json
import pytest
import sqlalchemy.orm as orm
import ckan.lib.create_test_data as ctd
import ckan.logic as logic
import ckan.model as model
import ckan.plugins as p
import ckan.tests.factories as factories
import ckan.tests.helpers as helpers
import ckan.tests.legacy as tests
import ckanext... | 37.490361 | 95 | 0.527933 | 8,238 | 75,843 | 4.684996 | 0.054382 | 0.058039 | 0.045343 | 0.051872 | 0.881487 | 0.868662 | 0.850784 | 0.839876 | 0.829952 | 0.812359 | 0 | 0.0248 | 0.320544 | 75,843 | 2,022 | 96 | 37.508902 | 0.724152 | 0.014069 | 0 | 0.668101 | 0 | 0 | 0.234 | 0.027498 | 0 | 0 | 0 | 0 | 0.084454 | 1 | 0.039268 | false | 0.001076 | 0.006455 | 0 | 0.051103 | 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 |
6a605abae7e4ee590087c3d9facd08045b5b0e46 | 97 | py | Python | Game/__init__.py | anchitmulye/Sudoku-pygame | 55aaf692dd4063a015b67d0b53a2284c78451987 | [
"MIT"
] | 3 | 2018-07-18T05:18:20.000Z | 2020-11-03T19:44:39.000Z | Game/__init__.py | anchitmulye/Sudoku-pygame | 55aaf692dd4063a015b67d0b53a2284c78451987 | [
"MIT"
] | null | null | null | Game/__init__.py | anchitmulye/Sudoku-pygame | 55aaf692dd4063a015b67d0b53a2284c78451987 | [
"MIT"
] | 4 | 2019-06-11T05:48:48.000Z | 2022-01-26T14:08:37.000Z | from Game.HighScore import Highscore
from Game.Level import Level
from Game.Sudoku import Sudoku
| 24.25 | 36 | 0.845361 | 15 | 97 | 5.466667 | 0.4 | 0.292683 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123711 | 97 | 3 | 37 | 32.333333 | 0.964706 | 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 |
6a84e44403cec177c412cb74a3725e6712a3f59e | 29,097 | py | Python | lib/modules/collection/osx/keychaindump.py | mibboy/EmPyre | 63548b18e3c242bf44bc40e4156e8153ca20eb91 | [
"BSD-3-Clause"
] | 527 | 2017-02-02T13:59:45.000Z | 2022-03-19T03:22:05.000Z | lib/modules/collection/osx/keychaindump.py | mibboy/EmPyre | 63548b18e3c242bf44bc40e4156e8153ca20eb91 | [
"BSD-3-Clause"
] | 9 | 2017-02-02T14:06:04.000Z | 2017-12-28T08:21:10.000Z | lib/modules/collection/osx/keychaindump.py | mibboy/EmPyre | 63548b18e3c242bf44bc40e4156e8153ca20eb91 | [
"BSD-3-Clause"
] | 164 | 2017-02-02T14:05:35.000Z | 2022-03-22T16:47:58.000Z | class Module:
def __init__(self, mainMenu, params=[]):
# metadata info about the module, not modified during runtime
self.info = {
# name for the module that will appear in module menus
'Name': 'Webcam',
# list of one or more authors for the module
... | 309.542553 | 25,897 | 0.91463 | 772 | 29,097 | 34.465026 | 0.700777 | 0.002706 | 0.001278 | 0.001203 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.052011 | 0.040554 | 29,097 | 93 | 25,898 | 312.870968 | 0.901064 | 0.033406 | 0 | 0.070175 | 0 | 0.017544 | 0.947445 | 0.923249 | 0 | 1 | 0 | 0 | 0 | 1 | 0.035088 | false | 0 | 0.035088 | 0 | 0.105263 | 0.035088 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6a91a625ea1858a6778b2a05eefecfc7bdff3157 | 27 | py | Python | bin/specsim3d/__init__.py | LutzGross/fingal | 4b6fcc02871e7ba1a98f37ffd18f1a16a5fe6a48 | [
"Apache-2.0"
] | null | null | null | bin/specsim3d/__init__.py | LutzGross/fingal | 4b6fcc02871e7ba1a98f37ffd18f1a16a5fe6a48 | [
"Apache-2.0"
] | null | null | null | bin/specsim3d/__init__.py | LutzGross/fingal | 4b6fcc02871e7ba1a98f37ffd18f1a16a5fe6a48 | [
"Apache-2.0"
] | null | null | null | from .spectralsim 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 |
6ab71f773426e60db4bc36c29bea27d52ebfcf38 | 174 | py | Python | numerical_tic_tac_toe/__init__.py | gbroques/numerical-tic-tac-toe | 143f4ec7a8417a551b3ed64253c5f6d7ad49b3d8 | [
"MIT"
] | 1 | 2022-03-29T01:44:27.000Z | 2022-03-29T01:44:27.000Z | numerical_tic_tac_toe/__init__.py | gbroques/numerical-tic-tac-toe | 143f4ec7a8417a551b3ed64253c5f6d7ad49b3d8 | [
"MIT"
] | null | null | null | numerical_tic_tac_toe/__init__.py | gbroques/numerical-tic-tac-toe | 143f4ec7a8417a551b3ed64253c5f6d7ad49b3d8 | [
"MIT"
] | null | null | null | from .action import Action
from .numerical_tic_tac_toe import GameState
from .numerical_tic_tac_toe import NumericalTicTacToe
from .player import Max
from .player import Min
| 29 | 53 | 0.856322 | 26 | 174 | 5.5 | 0.461538 | 0.181818 | 0.223776 | 0.265734 | 0.391608 | 0.391608 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114943 | 174 | 5 | 54 | 34.8 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
6ad87290005890120de007fa53c2b59a95a9c2c2 | 79 | py | Python | src/stactools/sentinel2/utils.py | constantinius/sentinel2 | 29f32dbffbb623b01cf4be2c27646cb79a877b23 | [
"Apache-2.0"
] | 1 | 2022-03-28T19:13:50.000Z | 2022-03-28T19:13:50.000Z | src/stactools/sentinel2/utils.py | constantinius/sentinel2 | 29f32dbffbb623b01cf4be2c27646cb79a877b23 | [
"Apache-2.0"
] | 13 | 2021-06-24T13:35:06.000Z | 2022-03-31T19:54:57.000Z | src/stactools/sentinel2/utils.py | constantinius/sentinel2 | 29f32dbffbb623b01cf4be2c27646cb79a877b23 | [
"Apache-2.0"
] | 2 | 2021-09-08T07:57:19.000Z | 2022-01-06T10:42:18.000Z | def extract_gsd(image_path: str) -> float:
return float(image_path[-7:-5])
| 26.333333 | 42 | 0.696203 | 13 | 79 | 4 | 0.769231 | 0.346154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.029412 | 0.139241 | 79 | 2 | 43 | 39.5 | 0.735294 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
0a7cc39ac42bbc5849c8282d768ac469e1c429dd | 161 | py | Python | brushtech/brushtech/doctype/estimate_bom/test_estimate_bom.py | Momscode-Technologies/brushtech | 0ad9e5b39f29ed0e75b71b0e40853bbda9e967c9 | [
"MIT"
] | null | null | null | brushtech/brushtech/doctype/estimate_bom/test_estimate_bom.py | Momscode-Technologies/brushtech | 0ad9e5b39f29ed0e75b71b0e40853bbda9e967c9 | [
"MIT"
] | null | null | null | brushtech/brushtech/doctype/estimate_bom/test_estimate_bom.py | Momscode-Technologies/brushtech | 0ad9e5b39f29ed0e75b71b0e40853bbda9e967c9 | [
"MIT"
] | 3 | 2022-03-30T04:00:34.000Z | 2022-03-30T04:11:44.000Z | # Copyright (c) 2022, Momscode Technologies and Contributors
# See license.txt
# import frappe
import unittest
class TestEstimateBOM(unittest.TestCase):
pass
| 17.888889 | 60 | 0.795031 | 19 | 161 | 6.736842 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028777 | 0.136646 | 161 | 8 | 61 | 20.125 | 0.892086 | 0.546584 | 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 |
0a91d93bf2ba49a605e944d46de6c98fe517942d | 256 | py | Python | setup.py | danielezambelli/latex2mathml | ef1b3455073a6027bf6384030075940b6fa1f1c2 | [
"MIT"
] | null | null | null | setup.py | danielezambelli/latex2mathml | ef1b3455073a6027bf6384030075940b6fa1f1c2 | [
"MIT"
] | null | null | null | setup.py | danielezambelli/latex2mathml | ef1b3455073a6027bf6384030075940b6fa1f1c2 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# __author__ = "Ronie Martinez"
# __copyright__ = "Copyright 2016-2019, Ronie Martinez"
# __credits__ = ["Ronie Martinez"]
# __maintainer__ = "Ronie Martinez"
# __email__ = "ronmarti18@gmail.com"
from setuptools import setup
setup()
| 25.6 | 55 | 0.738281 | 28 | 256 | 6.035714 | 0.714286 | 0.307692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.045045 | 0.132813 | 256 | 9 | 56 | 28.444444 | 0.716216 | 0.804688 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
0af3151e1846c051ae2fa0056cebe4d981b7f2e3 | 101 | py | Python | opentracing_prometheus/__init__.py | casualjim/python-opentracing-prometheus | d00fa3166611717bc22d662fad930d0c573be5f1 | [
"MIT"
] | 1 | 2019-11-14T08:57:48.000Z | 2019-11-14T08:57:48.000Z | opentracing_prometheus/__init__.py | casualjim/python-opentracing-prometheus | d00fa3166611717bc22d662fad930d0c573be5f1 | [
"MIT"
] | null | null | null | opentracing_prometheus/__init__.py | casualjim/python-opentracing-prometheus | d00fa3166611717bc22d662fad930d0c573be5f1 | [
"MIT"
] | null | null | null | from tracing import TracerMiddleware
from metrics import PrometheusMetricsFactory, PrometheusReporter | 50.5 | 64 | 0.910891 | 9 | 101 | 10.222222 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.079208 | 101 | 2 | 64 | 50.5 | 0.989247 | 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 |
7c268a2d348f38e46d734631e5391d902dd233a3 | 379 | py | Python | uimnet/workers/__init__.py | facebookresearch/uimnet | d7544cf5fb4c65cb262dca203afb0db4ba6c569d | [
"MIT"
] | 7 | 2021-07-28T18:40:20.000Z | 2022-01-26T23:50:41.000Z | uimnet/workers/__init__.py | facebookresearch/uimnet | d7544cf5fb4c65cb262dca203afb0db4ba6c569d | [
"MIT"
] | 10 | 2021-08-31T13:44:56.000Z | 2021-08-31T14:10:12.000Z | uimnet/workers/__init__.py | facebookresearch/uimnet | d7544cf5fb4c65cb262dca203afb0db4ba6c569d | [
"MIT"
] | 1 | 2021-11-06T01:55:58.000Z | 2021-11-06T01:55:58.000Z | #!/usr/bin/env python3
#
# # Copyright (c) 2021 Facebook, inc. and its affiliates. All Rights Reserved
#
#
from uimnet.workers.base import *
from uimnet.workers.evaluator import *
from uimnet.workers.trainer import *
from uimnet.workers.embeddings_extractor import *
from uimnet.workers.calibrator import *
from uimnet.w... | 29.153846 | 77 | 0.783641 | 51 | 379 | 5.803922 | 0.529412 | 0.236486 | 0.402027 | 0.466216 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015015 | 0.121372 | 379 | 12 | 78 | 31.583333 | 0.873874 | 0.253298 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7ca6620c9a94c4e0e5b8f32c68601989bf4fcc52 | 127 | py | Python | chroma/chroma/bvh/__init__.py | youngsm/chroma | 1e183c26aaff46fb9b0425ad8eef9995ebe0be2c | [
"BSD-3-Clause"
] | 7 | 2018-05-02T08:33:10.000Z | 2021-11-15T02:03:01.000Z | chroma/chroma/bvh/__init__.py | youngsm/chroma | 1e183c26aaff46fb9b0425ad8eef9995ebe0be2c | [
"BSD-3-Clause"
] | 1 | 2020-08-19T13:43:58.000Z | 2020-08-19T13:43:58.000Z | chroma/chroma/bvh/__init__.py | youngsm/chroma | 1e183c26aaff46fb9b0425ad8eef9995ebe0be2c | [
"BSD-3-Clause"
] | 16 | 2016-03-25T01:49:26.000Z | 2021-09-09T15:51:34.000Z | from chroma.bvh.bvh import *
from chroma.bvh.grid import make_recursive_grid_bvh
from chroma.bvh.simple import make_simple_bvh
| 31.75 | 51 | 0.850394 | 22 | 127 | 4.681818 | 0.363636 | 0.291262 | 0.378641 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.094488 | 127 | 3 | 52 | 42.333333 | 0.895652 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
7cd8127a5b908dc025471127ba2db5ac904b5960 | 215 | py | Python | src/typeDefs/stationwiseVdiData.py | rohit98077/wrldc_mis_weekly_report_generator | 13969db6bf6359e1bd9663d289f903c22d8b7e61 | [
"MIT"
] | null | null | null | src/typeDefs/stationwiseVdiData.py | rohit98077/wrldc_mis_weekly_report_generator | 13969db6bf6359e1bd9663d289f903c22d8b7e61 | [
"MIT"
] | 7 | 2020-09-18T11:37:36.000Z | 2020-09-26T12:29:30.000Z | src/typeDefs/stationwiseVdiData.py | rohit98077/wrldc_mis_weekly_report_generator | 13969db6bf6359e1bd9663d289f903c22d8b7e61 | [
"MIT"
] | 3 | 2020-09-19T07:28:40.000Z | 2020-09-25T05:49:15.000Z | from typing import TypedDict, List
from src.typeDefs.stationVdiProfile import IStationVdiProfile
class IStationwiseVdi(TypedDict):
vdi400Rows: List[IStationVdiProfile]
vdi765Rows: List[IStationVdiProfile]
| 26.875 | 61 | 0.827907 | 20 | 215 | 8.9 | 0.65 | 0.247191 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.031579 | 0.116279 | 215 | 7 | 62 | 30.714286 | 0.905263 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 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 |
6b1d2da1bd9020ad5665f534d6082fe7558c8587 | 28,491 | py | Python | src/wrf/g_latlon.py | khallock/wrf-python | 9c5825c101722e7eddece2ca13cc8e9d9f96a21e | [
"Apache-2.0"
] | 1 | 2018-10-30T18:06:26.000Z | 2018-10-30T18:06:26.000Z | src/wrf/g_latlon.py | mostamndi/wrf-python | 3806bcdd01b31fa67da980eafefa0d1245faf6a6 | [
"Apache-2.0"
] | null | null | null | src/wrf/g_latlon.py | mostamndi/wrf-python | 3806bcdd01b31fa67da980eafefa0d1245faf6a6 | [
"Apache-2.0"
] | null | null | null | from __future__ import (absolute_import, division, print_function)
from collections import OrderedDict
import numpy as np
from .util import extract_vars, get_id, get_iterable, is_mapping, to_np
from .py3compat import viewkeys
from .latlonutils import _lat_varname, _lon_varname, _ll_to_xy, _xy_to_ll
from .metadecorat... | 43.037764 | 80 | 0.585904 | 3,622 | 28,491 | 4.5254 | 0.094423 | 0.019035 | 0.02178 | 0.011714 | 0.831676 | 0.823806 | 0.80776 | 0.796474 | 0.783662 | 0.76786 | 0 | 0.008067 | 0.329999 | 28,491 | 662 | 81 | 43.037764 | 0.850595 | 0.70854 | 0 | 0.3125 | 0 | 0 | 0.042249 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.054688 | false | 0 | 0.070313 | 0 | 0.195313 | 0.007813 | 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 |
6b360f60238786e6c0ab6fef11d7be1c3634fffe | 6,362 | py | Python | test-common/functiontest/testcase/grp_client/sut_put.py | imotai8915/fedb | fe0c130f70206325f130f00be6c1483c9c36d113 | [
"Apache-2.0"
] | 1 | 2021-08-23T12:02:30.000Z | 2021-08-23T12:02:30.000Z | test-common/functiontest/testcase/grp_client/sut_put.py | imotai8915/fedb | fe0c130f70206325f130f00be6c1483c9c36d113 | [
"Apache-2.0"
] | null | null | null | test-common/functiontest/testcase/grp_client/sut_put.py | imotai8915/fedb | fe0c130f70206325f130f00be6c1483c9c36d113 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
# Copyright 2021 4Paradigm
#
# 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 ... | 30.7343 | 76 | 0.661584 | 613 | 6,362 | 6.822186 | 0.23491 | 0.196078 | 0.229555 | 0.334768 | 0.751076 | 0.740316 | 0.709469 | 0.709469 | 0.695122 | 0.66308 | 0 | 0.009866 | 0.235303 | 6,362 | 206 | 77 | 30.883495 | 0.849743 | 0.12276 | 0 | 0.660377 | 0 | 0 | 0.000955 | 0 | 0 | 0 | 0 | 0 | 0.188679 | 1 | 0.141509 | false | 0.018868 | 0.018868 | 0 | 0.169811 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6b3da61ca0ee72ef582af247496e090798287700 | 21 | py | Python | pystae/__init__.py | mynameisvinn/PyStae | 3340f001f7c468c23f6b062bcc47987b790c7f8c | [
"MIT"
] | null | null | null | pystae/__init__.py | mynameisvinn/PyStae | 3340f001f7c468c23f6b062bcc47987b790c7f8c | [
"MIT"
] | null | null | null | pystae/__init__.py | mynameisvinn/PyStae | 3340f001f7c468c23f6b062bcc47987b790c7f8c | [
"MIT"
] | null | null | null | from pystae import * | 21 | 21 | 0.761905 | 3 | 21 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 21 | 1 | 21 | 21 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6b4111bb8594aec92ad547dfa0ab44540b5816ce | 77 | py | Python | OpenCart/pages/wish_page_list.py | turovod/Otus | 57433c6944bca155177b07ff361139ff30f7f692 | [
"MIT"
] | null | null | null | OpenCart/pages/wish_page_list.py | turovod/Otus | 57433c6944bca155177b07ff361139ff30f7f692 | [
"MIT"
] | null | null | null | OpenCart/pages/wish_page_list.py | turovod/Otus | 57433c6944bca155177b07ff361139ff30f7f692 | [
"MIT"
] | null | null | null | from OpenCart.pages import BasePage
class WishListPage(BasePage):
pass
| 12.833333 | 35 | 0.779221 | 9 | 77 | 6.666667 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168831 | 77 | 5 | 36 | 15.4 | 0.9375 | 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 |
862ab6ae93fa4a412994cac39835b9722acbcc94 | 137 | py | Python | asgi.py | backwardspy/randnd | 7ab93a5374b7286dd62c3a135092f120f8d1e1f8 | [
"MIT"
] | null | null | null | asgi.py | backwardspy/randnd | 7ab93a5374b7286dd62c3a135092f120f8d1e1f8 | [
"MIT"
] | null | null | null | asgi.py | backwardspy/randnd | 7ab93a5374b7286dd62c3a135092f120f8d1e1f8 | [
"MIT"
] | null | null | null | """
Simply exposes proxy.server.app for use in a WSGI server.
"""
from proxy.server import app # noqa, pylint: disable=unused-import
| 22.833333 | 69 | 0.722628 | 21 | 137 | 4.714286 | 0.761905 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.167883 | 137 | 5 | 70 | 27.4 | 0.868421 | 0.686131 | 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 |
866f3b7ae341e4d316f5350e4229e39b3db1a000 | 359 | py | Python | instagram_api/response/model/unpredictable/__init__.py | Yuego/instagram_api | b53f72db36c505a2eb24ebac1ba8267a0cc295bb | [
"MIT"
] | 13 | 2019-08-07T21:24:34.000Z | 2020-12-12T12:23:50.000Z | instagram_api/response/model/unpredictable/__init__.py | Yuego/instagram_api | b53f72db36c505a2eb24ebac1ba8267a0cc295bb | [
"MIT"
] | null | null | null | instagram_api/response/model/unpredictable/__init__.py | Yuego/instagram_api | b53f72db36c505a2eb24ebac1ba8267a0cc295bb | [
"MIT"
] | null | null | null | # TODO: realyze
from .core import CoreUnpredictableContainer
from .direct_thread_last_seen_at import DirectThreadLastSeenAtUnpredictableContainer
from .friendship_status import FriendshipStatusUnpredictableContainer
from .presence import PresenceUnpredictableContainer
from .reel import ReelUnpredictableContainer
from .... | 44.875 | 84 | 0.902507 | 31 | 359 | 10.290323 | 0.677419 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075209 | 359 | 7 | 85 | 51.285714 | 0.960843 | 0.036212 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
869f3cf6e4975aa0f344f1262f0831fef81a782a | 122 | py | Python | Algorithms/Recursion/powerOfTwo.py | ashirwadsangwan/Python | b4e570bb31783178d241b9f2a7145343d830b698 | [
"MIT"
] | null | null | null | Algorithms/Recursion/powerOfTwo.py | ashirwadsangwan/Python | b4e570bb31783178d241b9f2a7145343d830b698 | [
"MIT"
] | null | null | null | Algorithms/Recursion/powerOfTwo.py | ashirwadsangwan/Python | b4e570bb31783178d241b9f2a7145343d830b698 | [
"MIT"
] | 1 | 2022-02-22T16:08:43.000Z | 2022-02-22T16:08:43.000Z | def power_of_two(x):
if x == 1:
return True
if x < 1:
return False
return power_of_two(x / 2)
| 17.428571 | 30 | 0.532787 | 21 | 122 | 2.904762 | 0.52381 | 0.229508 | 0.327869 | 0.360656 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.039474 | 0.377049 | 122 | 6 | 31 | 20.333333 | 0.763158 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
86e90b148a99349aec965559c61ddb0b7b9a1cb4 | 327 | py | Python | test.py | eliteraspberries/python-libnu | 869945fc3f0d4c7ebbc9a4e66f3aa6700472b0f3 | [
"0BSD"
] | null | null | null | test.py | eliteraspberries/python-libnu | 869945fc3f0d4c7ebbc9a4e66f3aa6700472b0f3 | [
"0BSD"
] | null | null | null | test.py | eliteraspberries/python-libnu | 869945fc3f0d4c7ebbc9a4e66f3aa6700472b0f3 | [
"0BSD"
] | null | null | null | #!/usr/bin/env python
import numpy
def abserror(a, b):
return numpy.abs(a - b)
def relerror(a, b):
return abserror(a, b) / max(numpy.abs(a), numpy.abs(b))
def eq(a, b, e):
if type(a) == numpy.ndarray:
return all(abserror(a, b) < e)
return abserror(a, b) < e
if __name__ == '__main__':
... | 14.863636 | 59 | 0.584098 | 55 | 327 | 3.327273 | 0.418182 | 0.076503 | 0.218579 | 0.174863 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.244648 | 327 | 21 | 60 | 15.571429 | 0.740891 | 0.061162 | 0 | 0 | 0 | 0 | 0.026144 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.272727 | false | 0.090909 | 0.090909 | 0.181818 | 0.727273 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 6 |
8107d530372206014a393e94e2f2af0f7d510088 | 85 | py | Python | sandbox/src1/TCSE3-3rd-examples/src/tools/py4cs/__init__.py | sniemi/SamPy | e048756feca67197cf5f995afd7d75d8286e017b | [
"BSD-2-Clause"
] | 5 | 2016-05-28T14:12:28.000Z | 2021-04-22T10:23:12.000Z | sandbox/src1/TCSE3-3rd-examples/src/tools/py4cs/__init__.py | sniemi/SamPy | e048756feca67197cf5f995afd7d75d8286e017b | [
"BSD-2-Clause"
] | null | null | null | sandbox/src1/TCSE3-3rd-examples/src/tools/py4cs/__init__.py | sniemi/SamPy | e048756feca67197cf5f995afd7d75d8286e017b | [
"BSD-2-Clause"
] | 2 | 2015-07-13T10:04:10.000Z | 2021-04-22T10:23:23.000Z | # load py4cs as scitools:
import scitools
import sys
sys.modules['py4cs'] = scitools
| 17 | 31 | 0.764706 | 12 | 85 | 5.416667 | 0.583333 | 0.430769 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027397 | 0.141176 | 85 | 4 | 32 | 21.25 | 0.863014 | 0.270588 | 0 | 0 | 0 | 0 | 0.083333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d4974695863affa2496322708e96da9d8188df9d | 65 | py | Python | vega/core/scheduler/__init__.py | qixiuai/vega | 3e6588ea4aedb03e3594a549a97ffdb86adb88d1 | [
"MIT"
] | 12 | 2020-12-13T08:34:24.000Z | 2022-03-20T15:17:17.000Z | vega/core/scheduler/__init__.py | qixiuai/vega | 3e6588ea4aedb03e3594a549a97ffdb86adb88d1 | [
"MIT"
] | 3 | 2021-03-31T20:15:40.000Z | 2022-02-09T23:50:46.000Z | built-in/TensorFlow/Research/cv/image_classification/Darts_for_TensorFlow/automl/vega/core/scheduler/__init__.py | Huawei-Ascend/modelzoo | df51ed9c1d6dbde1deef63f2a037a369f8554406 | [
"Apache-2.0"
] | 2 | 2021-07-10T12:40:46.000Z | 2021-12-17T07:55:15.000Z | from .master import Master
from .local_master import LocalMaster
| 21.666667 | 37 | 0.846154 | 9 | 65 | 6 | 0.555556 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123077 | 65 | 2 | 38 | 32.5 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d4df22a20fb8738b0eb0f771c27afdbbead7db93 | 47 | py | Python | opennem/core/facility/__init__.py | paulculmsee/opennem | 9ebe4ab6d3b97bdeebc352e075bbd5c22a8ddea1 | [
"MIT"
] | 22 | 2020-06-30T05:27:21.000Z | 2022-02-21T12:13:51.000Z | opennem/core/facility/__init__.py | paulculmsee/opennem | 9ebe4ab6d3b97bdeebc352e075bbd5c22a8ddea1 | [
"MIT"
] | 71 | 2020-08-07T13:06:30.000Z | 2022-03-15T06:44:49.000Z | opennem/core/facility/__init__.py | paulculmsee/opennem | 9ebe4ab6d3b97bdeebc352e075bbd5c22a8ddea1 | [
"MIT"
] | 13 | 2020-06-30T03:28:32.000Z | 2021-12-30T08:17:16.000Z | from .fueltechs import parse_facility_fueltech
| 23.5 | 46 | 0.893617 | 6 | 47 | 6.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085106 | 47 | 1 | 47 | 47 | 0.930233 | 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 |
d4ed149dab3d253c1d54afcb385109e293787b98 | 13,166 | py | Python | models/SAC_sumo_model.py | punk95/Continual-Learning-With-Curiosity | af0c507040e1352beb8740b6b3a7849417fc879a | [
"MIT"
] | 2 | 2021-07-12T17:11:35.000Z | 2021-07-13T05:56:30.000Z | models/SAC_sumo_model.py | punk95/Continual-Learning-With-Curiosity | af0c507040e1352beb8740b6b3a7849417fc879a | [
"MIT"
] | null | null | null | models/SAC_sumo_model.py | punk95/Continual-Learning-With-Curiosity | af0c507040e1352beb8740b6b3a7849417fc879a | [
"MIT"
] | null | null | null | import torch
import torch.nn as nn
import torch.nn.functional as F
from util.weight_initalizer import weight_initialize, bias_initialize
import numpy as np
from models.base import NN_Paramters, BaseNN
#for soft actor critic
LOG_SIG_MAX = 2
LOG_SIG_MIN = -20
epsilon = 1e-6
class Continuous_Gaussian_Policy_Sumo(Base... | 33.93299 | 138 | 0.624032 | 1,791 | 13,166 | 4.338358 | 0.07761 | 0.085457 | 0.120463 | 0.053282 | 0.854183 | 0.827799 | 0.8139 | 0.807851 | 0.796268 | 0.77323 | 0 | 0.004447 | 0.265532 | 13,166 | 388 | 139 | 33.93299 | 0.799069 | 0.024837 | 0 | 0.671642 | 0 | 0 | 0.005692 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.078358 | false | 0 | 0.022388 | 0 | 0.182836 | 0.003731 | 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 |
be19caf7ce72c7126af2c7ad4d3b927197d2bce5 | 44,176 | py | Python | pybind/slxos/v16r_1_00b/mpls_state/lsp/forwarding/__init__.py | shivharis/pybind | 4e1c6d54b9fd722ccec25546ba2413d79ce337e6 | [
"Apache-2.0"
] | null | null | null | pybind/slxos/v16r_1_00b/mpls_state/lsp/forwarding/__init__.py | shivharis/pybind | 4e1c6d54b9fd722ccec25546ba2413d79ce337e6 | [
"Apache-2.0"
] | null | null | null | pybind/slxos/v16r_1_00b/mpls_state/lsp/forwarding/__init__.py | shivharis/pybind | 4e1c6d54b9fd722ccec25546ba2413d79ce337e6 | [
"Apache-2.0"
] | 1 | 2021-11-05T22:15:42.000Z | 2021-11-05T22:15:42.000Z |
from operator import attrgetter
import pyangbind.lib.xpathhelper as xpathhelper
from pyangbind.lib.yangtypes import RestrictedPrecisionDecimalType, RestrictedClassType, TypedListType
from pyangbind.lib.yangtypes import YANGBool, YANGListType, YANGDynClass, ReferenceType
from pyangbind.lib.base import PybindBase
from d... | 65.445926 | 502 | 0.750272 | 5,996 | 44,176 | 5.233489 | 0.030354 | 0.042702 | 0.055322 | 0.05443 | 0.910771 | 0.885819 | 0.851562 | 0.829286 | 0.821829 | 0.815328 | 0 | 0.008976 | 0.127422 | 44,176 | 674 | 503 | 65.543027 | 0.805095 | 0.193091 | 0 | 0.505435 | 0 | 0.040761 | 0.361216 | 0.208887 | 0 | 0 | 0 | 0 | 0 | 1 | 0.130435 | false | 0 | 0.021739 | 0 | 0.263587 | 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 |
077c93a353aa9d6dfaeb233e41f4886060e32525 | 39 | py | Python | plain_logger/__init__.py | prapanw/plain_logger | 075563b9c90d1918e1158bfc0a542e0cac6570e4 | [
"MIT"
] | null | null | null | plain_logger/__init__.py | prapanw/plain_logger | 075563b9c90d1918e1158bfc0a542e0cac6570e4 | [
"MIT"
] | null | null | null | plain_logger/__init__.py | prapanw/plain_logger | 075563b9c90d1918e1158bfc0a542e0cac6570e4 | [
"MIT"
] | null | null | null | from plain_logger.Logger import Logger
| 19.5 | 38 | 0.871795 | 6 | 39 | 5.5 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 39 | 1 | 39 | 39 | 0.942857 | 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 |
6afc6de32f391e061be91dfe95af321598aecc9f | 7,714 | py | Python | line_coding_schemes.py | Shrey-Viradiya/LineCoding | 2bd6d6019ee2af12fa8ffb777fdfec0c286ee327 | [
"BSD-3-Clause"
] | 4 | 2019-10-24T15:55:28.000Z | 2020-10-16T09:23:50.000Z | line_coding_schemes.py | Shrey-Viradiya/LineCoding | 2bd6d6019ee2af12fa8ffb777fdfec0c286ee327 | [
"BSD-3-Clause"
] | null | null | null | line_coding_schemes.py | Shrey-Viradiya/LineCoding | 2bd6d6019ee2af12fa8ffb777fdfec0c286ee327 | [
"BSD-3-Clause"
] | null | null | null | from utilities import text2binary
def polarRZ(message):
output = []
for x in text2binary(message):
if (x == '0'):
output.append(-1)
output.append(0)
else:
output.append(1)
output.append(0)
return output
def AMI(message):
output = []
... | 27.648746 | 163 | 0.369069 | 833 | 7,714 | 3.411765 | 0.068427 | 0.278677 | 0.160099 | 0.120338 | 0.786066 | 0.753343 | 0.72273 | 0.662562 | 0.649191 | 0.646728 | 0 | 0.082142 | 0.501296 | 7,714 | 278 | 164 | 27.748201 | 0.656616 | 0.009982 | 0 | 0.809339 | 0 | 0 | 0.005503 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.042802 | false | 0 | 0.003891 | 0 | 0.089494 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 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 |
ed5de515e53804d4e7759a9e14e53886e8b81641 | 3,724 | py | Python | saleor/graphql/channel/tests/test_channel_queries.py | enesustundag/saleor | 95ce4b577ca06110f4702e61f554e9d165ef5fd4 | [
"CC-BY-4.0"
] | 1 | 2020-03-14T02:07:53.000Z | 2020-03-14T02:07:53.000Z | saleor/graphql/channel/tests/test_channel_queries.py | enesustundag/saleor | 95ce4b577ca06110f4702e61f554e9d165ef5fd4 | [
"CC-BY-4.0"
] | null | null | null | saleor/graphql/channel/tests/test_channel_queries.py | enesustundag/saleor | 95ce4b577ca06110f4702e61f554e9d165ef5fd4 | [
"CC-BY-4.0"
] | 1 | 2021-06-07T10:16:35.000Z | 2021-06-07T10:16:35.000Z | import graphene
from ...tests.utils import assert_no_permission, get_graphql_content
QUERY_CHANNELS = """
query {
channels {
name
slug
currencyCode
}
}
"""
def test_query_channels_as_staff_user(staff_api_client, channel_USD, channel_PLN):
# given
# when
response = staff_... | 25.162162 | 82 | 0.693609 | 460 | 3,724 | 5.25 | 0.1 | 0.099379 | 0.039752 | 0.06294 | 0.942443 | 0.930021 | 0.89441 | 0.879503 | 0.846377 | 0.770186 | 0 | 0.000673 | 0.201665 | 3,724 | 147 | 83 | 25.333333 | 0.811638 | 0.034103 | 0 | 0.666667 | 0 | 0 | 0.106943 | 0 | 0 | 0 | 0 | 0 | 0.218391 | 1 | 0.091954 | false | 0 | 0.022989 | 0 | 0.114943 | 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 |
ed74c60875f97bd8aff15905a7dc3474ce37a54c | 24 | py | Python | models/__init__.py | jakobottar/gimondi | b6e53036bc09b614ba4c7864f588cd1e1f6c76e0 | [
"MIT"
] | 3 | 2022-01-18T19:25:46.000Z | 2022-02-05T18:53:24.000Z | utils/models/other/voxnet2d/__init__.py | bhklab/ptl-oar-segmentation | 354c3ee7f042a025f74e210a7b8462beac9b727d | [
"Apache-2.0"
] | null | null | null | utils/models/other/voxnet2d/__init__.py | bhklab/ptl-oar-segmentation | 354c3ee7f042a025f74e210a7b8462beac9b727d | [
"Apache-2.0"
] | null | null | null | from .model import UNet
| 12 | 23 | 0.791667 | 4 | 24 | 4.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 24 | 1 | 24 | 24 | 0.95 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
71f4251ff357947ffb9ca198dbcab44d187f7203 | 182 | py | Python | classifcation/__init__.py | JessikaSmith/reviews_classification_and_aspect_extraction | 457c17363d214e4f674068939b278c760b61b59b | [
"MIT"
] | 1 | 2018-11-15T18:03:39.000Z | 2018-11-15T18:03:39.000Z | classifcation/__init__.py | JessikaSmith/reviews_classification_and_aspect_extraction | 457c17363d214e4f674068939b278c760b61b59b | [
"MIT"
] | null | null | null | classifcation/__init__.py | JessikaSmith/reviews_classification_and_aspect_extraction | 457c17363d214e4f674068939b278c760b61b59b | [
"MIT"
] | null | null | null | import classifcation.word2vec_preparation
import classifcation.preprocess_data
import classifcation.model
import classifcation.classification_quality_check
import classifcation.utils | 36.4 | 49 | 0.923077 | 19 | 182 | 8.631579 | 0.578947 | 0.579268 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00578 | 0.049451 | 182 | 5 | 50 | 36.4 | 0.942197 | 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 |
9c0169a19a0dc0ce7f1b39bef780f911980939b4 | 201 | py | Python | MathFunctions/__init__.py | chezzoba/Functions | efc20e81dbe78ca1f6931e443715abc948ed7ed8 | [
"MIT"
] | null | null | null | MathFunctions/__init__.py | chezzoba/Functions | efc20e81dbe78ca1f6931e443715abc948ed7ed8 | [
"MIT"
] | null | null | null | MathFunctions/__init__.py | chezzoba/Functions | efc20e81dbe78ca1f6931e443715abc948ed7ed8 | [
"MIT"
] | null | null | null | from MathFunctions.Polynomial import Polynomial, Linear
from MathFunctions.Trigonometry import Sin, Cos, sin, cos, tan
from MathFunctions.Exponential import Exponential, Logarithm, ln, log2, log10, exp | 67 | 82 | 0.830846 | 25 | 201 | 6.68 | 0.6 | 0.305389 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016667 | 0.104478 | 201 | 3 | 82 | 67 | 0.911111 | 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 |
9c1144b25e44af1a2b8c1c28f4792ac6506ce97d | 36,799 | py | Python | tensorflow_federated/python/core/backends/mapreduce/transformations_test.py | Catherineylp/federated | 7a5549f3fb0eb2e3b5cdcb4788a8856cbfa17416 | [
"Apache-2.0"
] | null | null | null | tensorflow_federated/python/core/backends/mapreduce/transformations_test.py | Catherineylp/federated | 7a5549f3fb0eb2e3b5cdcb4788a8856cbfa17416 | [
"Apache-2.0"
] | null | null | null | tensorflow_federated/python/core/backends/mapreduce/transformations_test.py | Catherineylp/federated | 7a5549f3fb0eb2e3b5cdcb4788a8856cbfa17416 | [
"Apache-2.0"
] | null | null | null | # Lint as: python2, python3
# Copyright 2019, The TensorFlow Federated Authors.
#
# 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 ... | 49.59434 | 178 | 0.739721 | 4,287 | 36,799 | 5.952181 | 0.074644 | 0.079555 | 0.052279 | 0.043265 | 0.850335 | 0.817964 | 0.785163 | 0.748717 | 0.711722 | 0.682996 | 0 | 0.011565 | 0.175249 | 36,799 | 741 | 179 | 49.661269 | 0.829193 | 0.017935 | 0 | 0.642746 | 0 | 0.00156 | 0.028818 | 0.010658 | 0 | 0 | 0 | 0 | 0.184087 | 1 | 0.090484 | false | 0.00312 | 0.031201 | 0.00312 | 0.138846 | 0.00156 | 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 |
9c3f6c840ec1807a1b263aeece91c1bb57e3be54 | 16,307 | py | Python | typescript/libs/service_proxy.py | bertilnilsson/TypeScript-Sublime-Plugin | 268ddfec73ff33394c6cf5bc70ca36a30899fa20 | [
"Apache-2.0"
] | 1,688 | 2015-04-01T19:48:34.000Z | 2019-05-06T10:18:55.000Z | typescript/libs/service_proxy.py | bertilnilsson/TypeScript-Sublime-Plugin | 268ddfec73ff33394c6cf5bc70ca36a30899fa20 | [
"Apache-2.0"
] | 584 | 2015-04-01T19:21:43.000Z | 2019-05-05T23:50:05.000Z | typescript/libs/service_proxy.py | bertilnilsson/TypeScript-Sublime-Plugin | 268ddfec73ff33394c6cf5bc70ca36a30899fa20 | [
"Apache-2.0"
] | 268 | 2015-04-02T19:05:38.000Z | 2019-04-28T15:08:57.000Z | import sublime
from . import json_helpers
from .global_vars import IS_ST2
from .node_client import CommClient
from .text_helpers import Location
class ServiceProxy:
def __init__(self, worker_client=CommClient(), server_client=CommClient()):
self.__comm = server_client
self.__worker_comm = worker... | 42.136951 | 111 | 0.633777 | 1,989 | 16,307 | 4.84917 | 0.087984 | 0.108139 | 0.059305 | 0.065215 | 0.785277 | 0.773665 | 0.743183 | 0.737792 | 0.714049 | 0.70534 | 0 | 0.003355 | 0.25069 | 16,307 | 386 | 112 | 42.246114 | 0.785907 | 0.008524 | 0 | 0.590504 | 0 | 0 | 0.075637 | 0.006401 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.020772 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
92c9d604eb7a4fc14dbdbc27a9565417808a696f | 11,949 | py | Python | test/test_script_handler.py | evgenyim/bsse-spring-2020-graph-BD | 73e98918c9a7bebec866fd2c0e4d40dfe45e8c9d | [
"MIT"
] | 3 | 2020-02-20T17:34:23.000Z | 2020-04-03T12:58:44.000Z | test/test_script_handler.py | evgenyim/bsse-spring-2020-graph-BD | 73e98918c9a7bebec866fd2c0e4d40dfe45e8c9d | [
"MIT"
] | 1 | 2020-05-13T06:52:24.000Z | 2020-05-13T06:52:24.000Z | test/test_script_handler.py | evgenyim/bsse-spring-2020-graph-BD | 73e98918c9a7bebec866fd2c0e4d40dfe45e8c9d | [
"MIT"
] | 2 | 2020-02-20T17:38:14.000Z | 2020-04-24T09:45:26.000Z | import tempfile
from src.script_handler import *
from src.cyk import cyk
def run_script(s):
temp = tempfile.NamedTemporaryFile()
f = open(temp.name, 'w')
f.write(s)
f.close()
return handle_script_from_file(temp.name)
def test_list_all_graphs(capsys):
path = os.path.dirname(__file__) + '/res... | 37.224299 | 145 | 0.508578 | 1,733 | 11,949 | 3.354299 | 0.057703 | 0.012386 | 0.074316 | 0.105281 | 0.883881 | 0.871495 | 0.856528 | 0.847411 | 0.842766 | 0.840702 | 0 | 0.015332 | 0.290401 | 11,949 | 320 | 146 | 37.340625 | 0.670244 | 0 | 0 | 0.566265 | 0 | 0.124498 | 0.386894 | 0 | 0 | 0 | 0 | 0 | 0.188755 | 1 | 0.140562 | false | 0 | 0.012048 | 0 | 0.156627 | 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 |
1329574ae49892f27259e31f69cf16e3335a7b13 | 81 | py | Python | helloworld.py | IamBloodHound/HelloWorld | f8c1dd2c6415af9f500f81859eb05ef15a6e613d | [
"MIT"
] | null | null | null | helloworld.py | IamBloodHound/HelloWorld | f8c1dd2c6415af9f500f81859eb05ef15a6e613d | [
"MIT"
] | null | null | null | helloworld.py | IamBloodHound/HelloWorld | f8c1dd2c6415af9f500f81859eb05ef15a6e613d | [
"MIT"
] | null | null | null | # Sample Print Hello World Program
print('Hello World')
print('I am Blood Hound') | 27 | 34 | 0.753086 | 13 | 81 | 4.692308 | 0.692308 | 0.327869 | 0.491803 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135802 | 81 | 3 | 35 | 27 | 0.871429 | 0.395062 | 0 | 0 | 0 | 0 | 0.5625 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
132e4cdcfe93c0bdf3530806c27d8b228b9baa4c | 199 | py | Python | prvsnlib/utils/user.py | acoomans/prvsn | af6b313c2e779ae4e3a9cdba0b1c3a1f4b4c085e | [
"BSD-2-Clause"
] | null | null | null | prvsnlib/utils/user.py | acoomans/prvsn | af6b313c2e779ae4e3a9cdba0b1c3a1f4b4c085e | [
"BSD-2-Clause"
] | null | null | null | prvsnlib/utils/user.py | acoomans/prvsn | af6b313c2e779ae4e3a9cdba0b1c3a1f4b4c085e | [
"BSD-2-Clause"
] | null | null | null | import os
def real_user():
if 'SUDO_USER' in os.environ.keys():
return os.environ['SUDO_USER']
else:
return os.environ['USER']
def real_home():
return os.environ['HOME'] | 19.9 | 40 | 0.623116 | 29 | 199 | 4.137931 | 0.448276 | 0.3 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.231156 | 199 | 10 | 41 | 19.9 | 0.784314 | 0 | 0 | 0 | 0 | 0 | 0.13 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.125 | 0.125 | 0.75 | 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 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 6 |
1342a61d73dd5792b1607213f40b76b1020cdc73 | 13,252 | py | Python | tests/test_transform_compile_releases_from_records.py | matiasSanabria/kingfisher-process | 88cb768aaa562714c8bd53e05717639faf041501 | [
"BSD-3-Clause"
] | 1 | 2019-04-11T10:17:32.000Z | 2019-04-11T10:17:32.000Z | tests/test_transform_compile_releases_from_records.py | matiasSanabria/kingfisher-process | 88cb768aaa562714c8bd53e05717639faf041501 | [
"BSD-3-Clause"
] | 282 | 2018-12-20T16:49:22.000Z | 2022-02-01T00:48:10.000Z | tests/test_transform_compile_releases_from_records.py | matiasSanabria/kingfisher-process | 88cb768aaa562714c8bd53e05717639faf041501 | [
"BSD-3-Clause"
] | 7 | 2019-04-15T13:36:18.000Z | 2021-03-02T16:25:41.000Z | import datetime
import os
import sqlalchemy as sa
from ocdskingfisherprocess.store import Store
from ocdskingfisherprocess.transform import TRANSFORM_TYPE_COMPILE_RELEASES
from ocdskingfisherprocess.transform.compile_releases import CompileReleasesTransform
from tests.base import BaseDataBaseTest
class TestTransfor... | 49.081481 | 117 | 0.68118 | 1,595 | 13,252 | 5.408777 | 0.114734 | 0.072331 | 0.046946 | 0.068854 | 0.8252 | 0.815811 | 0.811754 | 0.811754 | 0.811754 | 0.79286 | 0 | 0.025656 | 0.238228 | 13,252 | 269 | 118 | 49.263941 | 0.828925 | 0.111078 | 0 | 0.697143 | 0 | 0 | 0.138439 | 0.055802 | 0 | 0 | 0 | 0 | 0.234286 | 1 | 0.04 | false | 0.011429 | 0.04 | 0 | 0.091429 | 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 |
1352d01f00a2fe2313cbdfdad47e75d66f994933 | 14,505 | py | Python | tests/test_permissions.py | koordinates/python-client | 7e60a183b5d1dbb8d45423040e1bf8c42a5c2d1e | [
"BSD-3-Clause"
] | 3 | 2015-10-26T06:38:02.000Z | 2018-08-17T04:41:10.000Z | tests/test_permissions.py | koordinates/python-client | 7e60a183b5d1dbb8d45423040e1bf8c42a5c2d1e | [
"BSD-3-Clause"
] | 21 | 2015-07-10T19:24:24.000Z | 2020-09-22T01:44:20.000Z | tests/test_permissions.py | koordinates/python-client | 7e60a183b5d1dbb8d45423040e1bf8c42a5c2d1e | [
"BSD-3-Clause"
] | 2 | 2015-08-24T17:47:20.000Z | 2019-01-16T20:55:40.000Z | import pytest
from koordinates import Permission
from koordinates import Client, Group, User
from .response_data.responses_10 import (
layer_list_permissions_good_simulated_response,
layer_permission_simulated_response,
)
from .response_data.responses_10 import (
set_permission_simulated_response,
set... | 32.449664 | 97 | 0.635781 | 1,666 | 14,505 | 5.321729 | 0.057023 | 0.039589 | 0.052786 | 0.064967 | 0.886533 | 0.877848 | 0.850214 | 0.838033 | 0.804196 | 0.773066 | 0 | 0.016484 | 0.238814 | 14,505 | 446 | 98 | 32.522422 | 0.786523 | 0.000965 | 0 | 0.66756 | 0 | 0.008043 | 0.136251 | 0 | 0 | 0 | 0 | 0 | 0.179625 | 1 | 0.045576 | false | 0 | 0.02681 | 0.002681 | 0.075067 | 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 |
1355244f7bcee410d7a117b37ae3ee7f333497ba | 49 | py | Python | configtamer/__init__.py | rbp/configtamer | eab874b0bc09235ed784c55c958c462c973a4e33 | [
"Apache-2.0"
] | 8 | 2015-04-09T01:03:12.000Z | 2020-12-18T10:38:37.000Z | configtamer/__init__.py | rbp/configtamer | eab874b0bc09235ed784c55c958c462c973a4e33 | [
"Apache-2.0"
] | 2 | 2015-04-09T01:07:10.000Z | 2016-12-02T01:07:23.000Z | configtamer/__init__.py | rbp/configtamer | eab874b0bc09235ed784c55c958c462c973a4e33 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
from .parser import parse
| 12.25 | 25 | 0.734694 | 8 | 49 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 49 | 3 | 26 | 16.333333 | 0.857143 | 0.408163 | 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 |
13b34d335bbed7d7adacbb3f468e30f1e9391c74 | 2,021 | py | Python | jorldy/test/core/network/test_rnd_network.py | Kyushik/JORLDY | 6a24a2195e5e87ade157ee53f631af2221f0a188 | [
"Apache-2.0"
] | 300 | 2021-11-03T07:06:34.000Z | 2022-03-24T02:23:56.000Z | jorldy/test/core/network/test_rnd_network.py | Kyushik/JORLDY | 6a24a2195e5e87ade157ee53f631af2221f0a188 | [
"Apache-2.0"
] | 37 | 2021-11-04T04:31:07.000Z | 2022-03-30T01:40:49.000Z | jorldy/test/core/network/test_rnd_network.py | Kyushik/JORLDY | 6a24a2195e5e87ade157ee53f631af2221f0a188 | [
"Apache-2.0"
] | 45 | 2021-11-03T08:05:56.000Z | 2022-03-24T08:35:05.000Z | import torch
from core.network.rnd import RND_MLP, RND_CNN, RND_Multi
def test_rnd_mlp_call():
D_in, D_out, D_hidden = 2, 3, 4
num_workers, gamma_i = 2, 0.99
net = RND_MLP(
D_in=D_in,
D_out=D_out,
D_hidden=D_hidden,
num_workers=num_workers,
gamma_i=gamma_i,
)
... | 22.965909 | 80 | 0.584859 | 315 | 2,021 | 3.403175 | 0.126984 | 0.047575 | 0.033582 | 0.134328 | 0.918843 | 0.918843 | 0.918843 | 0.883396 | 0.857276 | 0.849813 | 0 | 0.029758 | 0.285007 | 2,021 | 87 | 81 | 23.229885 | 0.712111 | 0 | 0 | 0.573529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088235 | 1 | 0.044118 | false | 0 | 0.029412 | 0 | 0.073529 | 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 |
13b4619f8f8fc3e569b787d7c4a8007a329fd8ac | 617 | py | Python | data_prep_scripts/openslr_pre_manifest.py | jagadeesh6jaga/indicAsr--inference | 569f867ed2d72cbd225f83d9b004666cf5c76c35 | [
"MIT"
] | 8 | 2021-12-11T12:26:20.000Z | 2022-03-22T13:38:42.000Z | data_prep_scripts/openslr_pre_manifest.py | jagadeesh6jaga/indicAsr--inference | 569f867ed2d72cbd225f83d9b004666cf5c76c35 | [
"MIT"
] | 15 | 2022-01-08T11:59:49.000Z | 2022-03-26T15:52:36.000Z | data_prep_scripts/openslr_pre_manifest.py | jagadeesh6jaga/indicAsr--inference | 569f867ed2d72cbd225f83d9b004666cf5c76c35 | [
"MIT"
] | 2 | 2022-01-27T22:58:04.000Z | 2022-02-22T09:53:50.000Z | basepath = "<path to dataset>"
with open(basepath+"/**/train_bg/wav.scp") as f:
lines = f.read().strip().split('\n')
for line in tqdm.tqdm(lines):
# name, _ = line.strip().split('\t')
name = line.strip().split(' ')[0]
shutil.copy(basepath+"/audio/"+name+".flac", basepath+"/**/train_wav/"+name+".fl... | 34.277778 | 88 | 0.585089 | 88 | 617 | 4.034091 | 0.340909 | 0.169014 | 0.146479 | 0.202817 | 0.738028 | 0.738028 | 0.738028 | 0.738028 | 0.738028 | 0.738028 | 0 | 0.003817 | 0.150729 | 617 | 17 | 89 | 36.294118 | 0.673664 | 0.118314 | 0 | 0.545455 | 0 | 0 | 0.22905 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b914ef66c8e65bcb22798182d7cf066e49fec617 | 147 | py | Python | sandbox/benchmarking_wrappers/sum_of_squares_ctypes.py | IgnitionProject/ignition | 0eeb3a7878d828bc3c06d2cb2dd781e17776a8a6 | [
"BSD-2-Clause-FreeBSD"
] | 7 | 2015-01-25T18:15:48.000Z | 2022-03-09T17:39:12.000Z | sandbox/benchmarking_wrappers/sum_of_squares_ctypes.py | IgnitionProject/ignition | 0eeb3a7878d828bc3c06d2cb2dd781e17776a8a6 | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | sandbox/benchmarking_wrappers/sum_of_squares_ctypes.py | IgnitionProject/ignition | 0eeb3a7878d828bc3c06d2cb2dd781e17776a8a6 | [
"BSD-2-Clause-FreeBSD"
] | null | null | null |
from ctypes import cdll
sum_lib = cdll.LoadLibrary('./libsum_of_squares.so')
def sum_of_squares_ctypes(N):
return sum_lib.sum_of_squares(N)
| 18.375 | 52 | 0.77551 | 25 | 147 | 4.2 | 0.56 | 0.257143 | 0.228571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122449 | 147 | 7 | 53 | 21 | 0.813953 | 0 | 0 | 0 | 0 | 0 | 0.150685 | 0.150685 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 6 |
b932c3683277208ee21db96d2e84097cd70ffa68 | 25 | py | Python | Lib/test/test_compiler/testcorpus/22_func_arg.py | diogommartins/cinder | 79103e9119cbecef3b085ccf2878f00c26e1d175 | [
"CNRI-Python-GPL-Compatible"
] | 1,886 | 2021-05-03T23:58:43.000Z | 2022-03-31T19:15:58.000Z | Lib/test/test_compiler/testcorpus/22_func_arg.py | diogommartins/cinder | 79103e9119cbecef3b085ccf2878f00c26e1d175 | [
"CNRI-Python-GPL-Compatible"
] | 70 | 2021-05-04T23:25:35.000Z | 2022-03-31T18:42:08.000Z | Lib/test/test_compiler/testcorpus/22_func_arg.py | diogommartins/cinder | 79103e9119cbecef3b085ccf2878f00c26e1d175 | [
"CNRI-Python-GPL-Compatible"
] | 52 | 2021-05-04T21:26:03.000Z | 2022-03-08T18:02:56.000Z | def foo(a, b):
a + b
| 8.333333 | 14 | 0.4 | 6 | 25 | 1.666667 | 0.666667 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.4 | 25 | 2 | 15 | 12.5 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0 | 0.5 | 0 | 1 | 1 | 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 | 0 | 0 | 0 | 0 | 6 |
b9583727eec60b90342a78a767f36b5df33c0c86 | 272 | py | Python | app/quiz/views.py | gibran-abdillah/quiz-app | 6a346c87c5cc258aa42f8805f226b1119fbf60e6 | [
"Apache-2.0"
] | 10 | 2021-12-24T09:02:00.000Z | 2022-02-08T06:54:45.000Z | app/quiz/views.py | gibran-abdillah/quiz-app | 6a346c87c5cc258aa42f8805f226b1119fbf60e6 | [
"Apache-2.0"
] | null | null | null | app/quiz/views.py | gibran-abdillah/quiz-app | 6a346c87c5cc258aa42f8805f226b1119fbf60e6 | [
"Apache-2.0"
] | null | null | null | from app.quiz import quiz_blueprint as quiz
from flask import render_template
@quiz.route('/start/<code>')
def quiz_homepage(code):
return render_template('quiz/index.html')
@quiz.route('/')
def index_quiz():
return render_template('quiz/landing-page.html') | 27.2 | 52 | 0.738971 | 39 | 272 | 5 | 0.487179 | 0.215385 | 0.276923 | 0.246154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 272 | 10 | 52 | 27.2 | 0.819328 | 0 | 0 | 0 | 0 | 0 | 0.186813 | 0.080586 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 0.75 | 0.125 | 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 |
b976d363e4ce0189862218855d9115bcdd429b89 | 179 | py | Python | flambe/cluster/__init__.py | ethan-asapp/flambe | 70257167058c7b82ee39f74167a6161bd264ad18 | [
"MIT"
] | 148 | 2019-08-29T21:19:03.000Z | 2022-03-18T06:13:53.000Z | flambe/cluster/__init__.py | cle-ros/flambe | 0dc2f5b2b286694defe8abf450fe5be9ae12c097 | [
"MIT"
] | 108 | 2019-09-03T14:36:10.000Z | 2020-05-13T15:53:14.000Z | flambe/cluster/__init__.py | cle-ros/flambe | 0dc2f5b2b286694defe8abf450fe5be9ae12c097 | [
"MIT"
] | 21 | 2019-09-08T14:09:45.000Z | 2020-12-27T04:12:33.000Z | from flambe.cluster.cluster import Cluster
from flambe.cluster.aws import AWSCluster
from flambe.cluster.ssh import SSHCluster
__all__ = ['Cluster', 'AWSCluster', 'SSHCluster']
| 25.571429 | 49 | 0.798883 | 22 | 179 | 6.318182 | 0.409091 | 0.215827 | 0.366906 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106145 | 179 | 6 | 50 | 29.833333 | 0.86875 | 0 | 0 | 0 | 0 | 0 | 0.150838 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b978c22bc009180503eb2e1d794aa5e91adb680b | 355 | py | Python | Aula 10/Aula10.py | Katakhan/TrabalhosPython2 | ab47af0ff3c00922857578e58a1a149d9e65e229 | [
"MIT"
] | null | null | null | Aula 10/Aula10.py | Katakhan/TrabalhosPython2 | ab47af0ff3c00922857578e58a1a149d9e65e229 | [
"MIT"
] | null | null | null | Aula 10/Aula10.py | Katakhan/TrabalhosPython2 | ab47af0ff3c00922857578e58a1a149d9e65e229 | [
"MIT"
] | null | null | null |
def cadicao(n1,n2):
return n1 + n2
def csubtracao (n1,n2):
return n1 - n2
def cdivisao (n1,n2):
return n1 / n2
def cdivisaoint (n1,n2):
return n1 // n2
def cmultiplicacao (n1,n2):
return n1 * n2
def cpotenciacao(n1,n2):
return n1 ** n2
def craiz (n1,n2):
return n1 ** (1/n2)
def c... | 14.2 | 27 | 0.591549 | 57 | 355 | 3.684211 | 0.22807 | 0.285714 | 0.380952 | 0.457143 | 0.552381 | 0.485714 | 0 | 0 | 0 | 0 | 0 | 0.128906 | 0.278873 | 355 | 24 | 28 | 14.791667 | 0.691406 | 0 | 0 | 0 | 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 |
b993811f4653d9f60636fd1212316c604f2fcae0 | 230 | py | Python | tests/sneks/test_normal_snek.py | ARMcK-hub/template-python | c5e8c48fc92dde522f91227189a3d4822c86d170 | [
"MIT"
] | null | null | null | tests/sneks/test_normal_snek.py | ARMcK-hub/template-python | c5e8c48fc92dde522f91227189a3d4822c86d170 | [
"MIT"
] | 2 | 2022-02-24T02:58:57.000Z | 2022-02-24T02:59:15.000Z | tests/sneks/test_normal_snek.py | ARMcK-hub/template-pyspark | d5ba2e0175cab449b2a3b345b2be8978a7d238a3 | [
"MIT"
] | null | null | null | from snek_case.sneks import NormalSnek
def test_can_create() -> None:
# Assemble / Act / Assert
NormalSnek()
def test_type_is_normal() -> None:
# Assemble / Act / Assert
assert NormalSnek.snek_type == "normal"
| 19.166667 | 43 | 0.682609 | 29 | 230 | 5.172414 | 0.586207 | 0.173333 | 0.226667 | 0.28 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.213043 | 230 | 11 | 44 | 20.909091 | 0.828729 | 0.204348 | 0 | 0 | 0 | 0 | 0.033333 | 0 | 0 | 0 | 0 | 0 | 0.2 | 1 | 0.4 | true | 0 | 0.2 | 0 | 0.6 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
b99a36e91679322574a52540e845a56c6daafb97 | 365 | py | Python | src/api/domain/operation/GetDataOperationJobExecutionLogList/GetDataOperationJobExecutionLogListResponse.py | PythonDataIntegrator/pythondataintegrator | 6167778c36c2295e36199ac0d4d256a4a0c28d7a | [
"MIT"
] | 14 | 2020-12-19T15:06:13.000Z | 2022-01-12T19:52:17.000Z | src/api/domain/operation/GetDataOperationJobExecutionLogList/GetDataOperationJobExecutionLogListResponse.py | PythonDataIntegrator/pythondataintegrator | 6167778c36c2295e36199ac0d4d256a4a0c28d7a | [
"MIT"
] | 43 | 2021-01-06T22:05:22.000Z | 2022-03-10T10:30:30.000Z | src/api/domain/operation/GetDataOperationJobExecutionLogList/GetDataOperationJobExecutionLogListResponse.py | PythonDataIntegrator/pythondataintegrator | 6167778c36c2295e36199ac0d4d256a4a0c28d7a | [
"MIT"
] | 4 | 2020-12-18T23:10:09.000Z | 2021-04-02T13:03:12.000Z | from typing import List
from infrastructure.cqrs.decorators.responseclass import responseclass
from domain.operation.GetDataOperationJobExecutionLogList.GetDataOperationJobExecutionLogListDto import GetDataOperationJobExecutionLogListDto
@responseclass
class GetDataOperationJobExecutionLogListResponse:
Data: List[Ge... | 40.555556 | 142 | 0.906849 | 25 | 365 | 13.24 | 0.64 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.060274 | 365 | 8 | 143 | 45.625 | 0.965015 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.833333 | 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 |
b9a506d6f526c62204062cfa1e0bf5c6f05f4d6f | 34 | py | Python | database_app.py | kneeraazon01/SqlitePython | decf049bd75ecc44f5343837db2cef0d552048c2 | [
"Apache-2.0"
] | null | null | null | database_app.py | kneeraazon01/SqlitePython | decf049bd75ecc44f5343837db2cef0d552048c2 | [
"Apache-2.0"
] | null | null | null | database_app.py | kneeraazon01/SqlitePython | decf049bd75ecc44f5343837db2cef0d552048c2 | [
"Apache-2.0"
] | null | null | null | import our_db
our_db.show_all() | 6.8 | 17 | 0.764706 | 7 | 34 | 3.285714 | 0.714286 | 0.434783 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147059 | 34 | 5 | 17 | 6.8 | 0.793103 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 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.