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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
b9aee30163cd26815f21dcdc7a4085b546f2d091 | 157 | py | Python | turbustat/analysis/__init__.py | keflavich/TurbuStat | a6fac4c0d10473a74c62cce4a9c6a30773a955b1 | [
"MIT"
] | null | null | null | turbustat/analysis/__init__.py | keflavich/TurbuStat | a6fac4c0d10473a74c62cce4a9c6a30773a955b1 | [
"MIT"
] | null | null | null | turbustat/analysis/__init__.py | keflavich/TurbuStat | a6fac4c0d10473a74c62cce4a9c6a30773a955b1 | [
"MIT"
] | null | null | null | from lenth import LenthsMethod
from comparison_plot import comparison_plot, timestep_comparisons
from convert_results import convert_format, convert_fiducial | 52.333333 | 65 | 0.904459 | 20 | 157 | 6.8 | 0.6 | 0.205882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.082803 | 157 | 3 | 66 | 52.333333 | 0.944444 | 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 |
6a1a75d2b4a33af6786f3068c2b9dde9b09303bb | 3,862 | py | Python | testCalculator.py | zc256/PythonCalculator | 3267a0809dbc28e437337c68f93a9205c0532563 | [
"MIT"
] | null | null | null | testCalculator.py | zc256/PythonCalculator | 3267a0809dbc28e437337c68f93a9205c0532563 | [
"MIT"
] | null | null | null | testCalculator.py | zc256/PythonCalculator | 3267a0809dbc28e437337c68f93a9205c0532563 | [
"MIT"
] | null | null | null | import unittest
from Calculator.calculator import Calculator
from csvReader import CsvReader
class MyTestCase(unittest.TestCase):
def setUp(self) -> None:
self.calculator = Calculator()
def test_instantiate_calculator(self):
self.assertIsInstance(self.calculator, Calculator)
def test_add... | 42.911111 | 121 | 0.623252 | 484 | 3,862 | 4.886364 | 0.128099 | 0.081184 | 0.16871 | 0.257505 | 0.80296 | 0.749683 | 0.749683 | 0.749683 | 0.70148 | 0.584355 | 0 | 0.009304 | 0.248576 | 3,862 | 90 | 122 | 42.911111 | 0.805651 | 0 | 0 | 0.391892 | 0 | 0 | 0.163603 | 0 | 0 | 0 | 0 | 0 | 0.297297 | 1 | 0.175676 | false | 0 | 0.040541 | 0 | 0.22973 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 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 |
e02d827fd3f400de9910b28250a63289a9ea50d1 | 26 | py | Python | flowws_keras_experimental/branch_replicas/__init__.py | klarh/flowws-keras-experimental | b91ea833918225b0169ff1ae61d2954fdd1cf442 | [
"MIT"
] | null | null | null | flowws_keras_experimental/branch_replicas/__init__.py | klarh/flowws-keras-experimental | b91ea833918225b0169ff1ae61d2954fdd1cf442 | [
"MIT"
] | null | null | null | flowws_keras_experimental/branch_replicas/__init__.py | klarh/flowws-keras-experimental | b91ea833918225b0169ff1ae61d2954fdd1cf442 | [
"MIT"
] | null | null | null |
from .Train import Train
| 8.666667 | 24 | 0.769231 | 4 | 26 | 5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.192308 | 26 | 2 | 25 | 13 | 0.952381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e0596fabf58f558e4efc3cf4687c4d2add4a4dbd | 909 | py | Python | ex041.py | LeoWshington/Exercicios_CursoEmVideo_Python | 294d14d9aaab5e32aaf39d70b0cd1266f0b55a02 | [
"MIT"
] | null | null | null | ex041.py | LeoWshington/Exercicios_CursoEmVideo_Python | 294d14d9aaab5e32aaf39d70b0cd1266f0b55a02 | [
"MIT"
] | null | null | null | ex041.py | LeoWshington/Exercicios_CursoEmVideo_Python | 294d14d9aaab5e32aaf39d70b0cd1266f0b55a02 | [
"MIT"
] | null | null | null | from datetime import date
anonasc = int(input('Qual o ano de nascimento? '))
if (int(date.today().year) - anonasc) <= 9:
print(f'O atleta tem {(int(date.today().year) - anonasc)} anos de idade, por tanto sua classificação é MIRIM!')
elif 9 < (int(date.today().year) - anonasc) <= 14:
print(f'O atleta tem {(int(d... | 69.923077 | 118 | 0.671067 | 145 | 909 | 4.206897 | 0.248276 | 0.114754 | 0.196721 | 0.262295 | 0.809836 | 0.696721 | 0.696721 | 0.696721 | 0.696721 | 0.696721 | 0 | 0.018301 | 0.158416 | 909 | 12 | 119 | 75.75 | 0.779085 | 0 | 0 | 0 | 0 | 0.416667 | 0.591859 | 0.132013 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.083333 | 0 | 0.083333 | 0.416667 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
e06c55c64bc73cbe703a6d4bfebdd8a7accd68df | 11,021 | py | Python | tests/test_dcos_e2e/test_enterprise.py | Fabs/dcos-e2e | 8836dfa5b83f9d61e92b8b4bd8b058404a3bdc20 | [
"Apache-2.0"
] | null | null | null | tests/test_dcos_e2e/test_enterprise.py | Fabs/dcos-e2e | 8836dfa5b83f9d61e92b8b4bd8b058404a3bdc20 | [
"Apache-2.0"
] | null | null | null | tests/test_dcos_e2e/test_enterprise.py | Fabs/dcos-e2e | 8836dfa5b83f9d61e92b8b4bd8b058404a3bdc20 | [
"Apache-2.0"
] | null | null | null | """
Tests for using the test harness with a DC/OS Enterprise cluster.
"""
import subprocess
import uuid
from pathlib import Path
import requests
from passlib.hash import sha512_crypt
from dcos_e2e.backends import ClusterBackend
from dcos_e2e.cluster import Cluster
class TestEnterpriseIntegrationTests:
"""
... | 32.898507 | 78 | 0.57835 | 1,100 | 11,021 | 5.458182 | 0.163636 | 0.082112 | 0.09527 | 0.062292 | 0.781646 | 0.774983 | 0.751999 | 0.748668 | 0.748668 | 0.748668 | 0 | 0.005665 | 0.343345 | 11,021 | 334 | 79 | 32.997006 | 0.82396 | 0.111605 | 0 | 0.684426 | 0 | 0 | 0.100221 | 0.043853 | 0 | 0 | 0 | 0 | 0.008197 | 1 | 0.020492 | false | 0.081967 | 0.028689 | 0 | 0.065574 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
e06d2e1dd84a02dcf97776bb5662576d590b3737 | 8,143 | py | Python | tests/functional/test_check.py | alexandrul/pip | c52b6bf44829dd89c2fa400a0e3496f3754e2305 | [
"MIT"
] | 1 | 2019-12-20T05:27:25.000Z | 2019-12-20T05:27:25.000Z | tests/functional/test_check.py | alexandrul/pip | c52b6bf44829dd89c2fa400a0e3496f3754e2305 | [
"MIT"
] | 7 | 2019-12-27T07:56:50.000Z | 2022-01-25T03:41:39.000Z | tests/functional/test_check.py | gudonglaile/pip-gui | ac9c49c54b7a882d8091959ba14eec37612a3845 | [
"MIT"
] | 1 | 2020-02-14T16:53:19.000Z | 2020-02-14T16:53:19.000Z | from tests.lib import create_test_package_with_setup
def matches_expected_lines(string, expected_lines):
# Ignore empty lines
output_lines = set(filter(None, string.splitlines()))
# Match regardless of order
return set(output_lines) == set(expected_lines)
def test_basic_check_clean(script):
"""O... | 33.64876 | 79 | 0.664006 | 1,083 | 8,143 | 4.795937 | 0.111727 | 0.016173 | 0.046207 | 0.056604 | 0.833269 | 0.810551 | 0.795341 | 0.75491 | 0.747208 | 0.743935 | 0 | 0.022012 | 0.207786 | 8,143 | 241 | 80 | 33.788382 | 0.783134 | 0.072209 | 0 | 0.557471 | 0 | 0 | 0.247212 | 0 | 0 | 0 | 0 | 0 | 0.189655 | 1 | 0.063218 | false | 0 | 0.005747 | 0 | 0.074713 | 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 |
0eee70d72ac79567894b3f793b4731b98dfbd66d | 228 | py | Python | tests/delete_exif_baselines/__init__.py | TNThieding/exif | 2e59701aec7416fbb3b2db76e7d090f166f1f132 | [
"MIT"
] | 51 | 2018-12-28T19:48:40.000Z | 2021-12-10T00:35:41.000Z | tests/delete_exif_baselines/__init__.py | TNThieding/exif | 2e59701aec7416fbb3b2db76e7d090f166f1f132 | [
"MIT"
] | 33 | 2019-02-08T10:15:25.000Z | 2022-02-11T18:37:45.000Z | tests/delete_exif_baselines/__init__.py | TNThieding/exif | 2e59701aec7416fbb3b2db76e7d090f166f1f132 | [
"MIT"
] | 11 | 2019-10-24T14:03:02.000Z | 2020-12-10T04:07:20.000Z | """Baseline strings for test_delete_exif tests."""
from .delete_all_hex import DELETE_ALL_HEX_BASELINE
from .delete_ascii_tags_hex import DELETE_ASCII_TAGS_HEX_BASELINE
from .delete_geotag_hex import DELETE_GEOTAG_HEX_BASELINE
| 38 | 65 | 0.877193 | 36 | 228 | 5.027778 | 0.388889 | 0.165746 | 0.248619 | 0.232044 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078947 | 228 | 5 | 66 | 45.6 | 0.861905 | 0.192982 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1600244aaf730757772b9b534f21db58ad595cd7 | 41 | py | Python | aurora/__init__.py | zorkian/aurora | e5d08149fe27bd0ceaefe596c3f74867630524a8 | [
"BSD-3-Clause"
] | 1 | 2017-04-16T22:50:10.000Z | 2017-04-16T22:50:10.000Z | aurora/__init__.py | zorkian/aurora | e5d08149fe27bd0ceaefe596c3f74867630524a8 | [
"BSD-3-Clause"
] | null | null | null | aurora/__init__.py | zorkian/aurora | e5d08149fe27bd0ceaefe596c3f74867630524a8 | [
"BSD-3-Clause"
] | null | null | null | # aurora initializer
from core import *
| 10.25 | 20 | 0.756098 | 5 | 41 | 6.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.195122 | 41 | 3 | 21 | 13.666667 | 0.939394 | 0.439024 | 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 |
160ba2934cdf6de7806f4fb645092663f795710b | 147 | py | Python | python/testlint/test/test_example.py | mpsonntag/snippets | fc3cc42ea49b885c1f29c0aef1379055a931a978 | [
"BSD-3-Clause"
] | null | null | null | python/testlint/test/test_example.py | mpsonntag/snippets | fc3cc42ea49b885c1f29c0aef1379055a931a978 | [
"BSD-3-Clause"
] | null | null | null | python/testlint/test/test_example.py | mpsonntag/snippets | fc3cc42ea49b885c1f29c0aef1379055a931a978 | [
"BSD-3-Clause"
] | null | null | null | def i_am_ignored():
assert "a" == "b"
def test_i_am_included_success():
assert 1 == 1
def test_i_am_included_fail():
assert 1 == 2
| 13.363636 | 33 | 0.639456 | 25 | 147 | 3.36 | 0.52 | 0.107143 | 0.190476 | 0.238095 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035398 | 0.231293 | 147 | 10 | 34 | 14.7 | 0.707965 | 0 | 0 | 0 | 0 | 0 | 0.013605 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 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 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
1653e190257993e4d5d3902db625494260252e9f | 180 | py | Python | Python3/Exercises/DeckOfCards/Card.py | norbertosanchezdichi/TIL | 2e9719ddd288022f53b094a42679e849bdbcc625 | [
"MIT"
] | null | null | null | Python3/Exercises/DeckOfCards/Card.py | norbertosanchezdichi/TIL | 2e9719ddd288022f53b094a42679e849bdbcc625 | [
"MIT"
] | null | null | null | Python3/Exercises/DeckOfCards/Card.py | norbertosanchezdichi/TIL | 2e9719ddd288022f53b094a42679e849bdbcc625 | [
"MIT"
] | null | null | null | class Card:
def __init__(self, suit, value):
self.suit = suit
self.value = value
def __repr__(self):
return f"{self.value} of {self.suit}" | 22.5 | 45 | 0.555556 | 23 | 180 | 4 | 0.478261 | 0.26087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.327778 | 180 | 8 | 45 | 22.5 | 0.760331 | 0 | 0 | 0 | 0 | 0 | 0.149171 | 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 |
167f14d5300579df6e82d498b6d472b6603615ce | 210 | py | Python | automover/sections/__init__.py | JohnDoee/rtorrent-automover | d730b1a7d254b6e6c9caa81a84ec97be114ea377 | [
"BSD-3-Clause"
] | 4 | 2015-05-17T03:16:20.000Z | 2021-02-24T22:13:23.000Z | automover/sections/__init__.py | JohnDoee/rtorrent-automover | d730b1a7d254b6e6c9caa81a84ec97be114ea377 | [
"BSD-3-Clause"
] | null | null | null | automover/sections/__init__.py | JohnDoee/rtorrent-automover | d730b1a7d254b6e6c9caa81a84ec97be114ea377 | [
"BSD-3-Clause"
] | 3 | 2015-01-09T16:27:44.000Z | 2016-01-09T13:55:51.000Z | from automover.sections.tv import TVAutomover
from automover.sections.stuff import StuffAutomover
from automover.sections.movies import MoviesAutomover
SECTIONS = [TVAutomover, StuffAutomover, MoviesAutomover] | 42 | 57 | 0.866667 | 22 | 210 | 8.272727 | 0.454545 | 0.214286 | 0.346154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.080952 | 210 | 5 | 57 | 42 | 0.943005 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
168cd2eb3ad0a9e95afa7d44dc6a8c08a2f3f892 | 138 | py | Python | tea/runtimeDataStructures/multivariateData.py | corinneherzog/tea-lang | 48ef37111c14310ca648eb96f625ea9800f428a2 | [
"Apache-2.0"
] | 218 | 2019-04-10T18:30:19.000Z | 2020-07-02T02:13:41.000Z | tea/runtimeDataStructures/multivariateData.py | corinneherzog/tea-lang | 48ef37111c14310ca648eb96f625ea9800f428a2 | [
"Apache-2.0"
] | 45 | 2019-04-12T04:01:12.000Z | 2020-07-11T16:15:26.000Z | tea/runtimeDataStructures/multivariateData.py | corinneherzog/tea-lang | 48ef37111c14310ca648eb96f625ea9800f428a2 | [
"Apache-2.0"
] | 24 | 2019-04-15T03:35:37.000Z | 2020-05-27T04:35:10.000Z | import attr
from .combinedData import CombinedData
@attr.s(init=True, auto_attribs=True)
class MultivariateData(CombinedData):
pass
| 17.25 | 38 | 0.797101 | 17 | 138 | 6.411765 | 0.705882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123188 | 138 | 7 | 39 | 19.714286 | 0.900826 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.4 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
16bf41ed876fd7c80d7d4bd72755b032c40c4d82 | 284 | py | Python | geburtstag_oneliner.py | 4norak/Python-Projects | 00682c43006a6dc0dcc6cda810c28efef33094a1 | [
"MIT"
] | 2 | 2020-11-03T21:10:46.000Z | 2020-11-03T21:27:39.000Z | geburtstag_oneliner.py | 4norak/Python-Projects | 00682c43006a6dc0dcc6cda810c28efef33094a1 | [
"MIT"
] | null | null | null | geburtstag_oneliner.py | 4norak/Python-Projects | 00682c43006a6dc0dcc6cda810c28efef33094a1 | [
"MIT"
] | null | null | null | type('MyClient', (__import__("discord").Client,), {'on_message': __import__("asyncio").coroutine(lambda self,message: self.loop.create_task(message.channel.send("Danke")) if "glückwunsch" in message.content.lower() or "alles gute" in message.content.lower() else None)})().run(TOKEN)
| 142 | 283 | 0.746479 | 38 | 284 | 5.315789 | 0.763158 | 0.089109 | 0.158416 | 0.207921 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.059859 | 284 | 1 | 284 | 284 | 0.756554 | 0 | 0 | 0 | 0 | 0 | 0.204225 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
16cbd7aa8f9a4280ec8f5c7b490042432ee46991 | 946 | py | Python | tests/test_jobs.py | jneuff/pex | f7eb554ecdbfdb9cd24a793b4dda358035e26855 | [
"Apache-2.0"
] | null | null | null | tests/test_jobs.py | jneuff/pex | f7eb554ecdbfdb9cd24a793b4dda358035e26855 | [
"Apache-2.0"
] | 1 | 2019-12-04T03:46:37.000Z | 2019-12-04T03:46:37.000Z | tests/test_jobs.py | jneuff/pex | f7eb554ecdbfdb9cd24a793b4dda358035e26855 | [
"Apache-2.0"
] | 1 | 2021-03-08T21:42:57.000Z | 2021-03-08T21:42:57.000Z | # Copyright 2019 Pants project contributors (see CONTRIBUTORS.md).
# Licensed under the Apache License, Version 2.0 (see LICENSE).
from pex.jobs import _ABSOLUTE_MAX_JOBS, DEFAULT_MAX_JOBS, _sanitize_max_jobs
def test_sanitize_max_jobs_none():
# type: () -> None
assert DEFAULT_MAX_JOBS == _sanitize_max_jobs(... | 32.62069 | 77 | 0.755814 | 136 | 946 | 4.691176 | 0.264706 | 0.274295 | 0.305643 | 0.225705 | 0.667712 | 0.529781 | 0.484326 | 0.374608 | 0.374608 | 0.239812 | 0 | 0.01623 | 0.153277 | 946 | 28 | 78 | 33.785714 | 0.780275 | 0.205074 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.615385 | 1 | 0.307692 | true | 0 | 0.076923 | 0 | 0.384615 | 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 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
bc770a49e8c962a825e572f7ea6a08b37809e127 | 29 | py | Python | deflection/__init__.py | iotfablab/micro-epsilon-optoNCDT | ebde26f848fbaecd0d199bdd807fd70b4cd18558 | [
"MIT"
] | null | null | null | deflection/__init__.py | iotfablab/micro-epsilon-optoNCDT | ebde26f848fbaecd0d199bdd807fd70b4cd18558 | [
"MIT"
] | null | null | null | deflection/__init__.py | iotfablab/micro-epsilon-optoNCDT | ebde26f848fbaecd0d199bdd807fd70b4cd18558 | [
"MIT"
] | null | null | null | from .deflection import main
| 14.5 | 28 | 0.827586 | 4 | 29 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 29 | 1 | 29 | 29 | 0.96 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
bc86ebead9bf1fc1d723240649663bca854efed6 | 66 | py | Python | iterm2_colors2rgb/__init__.py | jeremyschulman/iterm2-colors2rgb | 86f2037e5f70cabed3f9a03b9d66b8cc4e4fdfa5 | [
"Apache-2.0"
] | 9 | 2020-08-03T00:09:21.000Z | 2022-03-30T12:21:24.000Z | iterm2_colors2rgb/__init__.py | jeremyschulman/iterm2-colors2rgb | 86f2037e5f70cabed3f9a03b9d66b8cc4e4fdfa5 | [
"Apache-2.0"
] | null | null | null | iterm2_colors2rgb/__init__.py | jeremyschulman/iterm2-colors2rgb | 86f2037e5f70cabed3f9a03b9d66b8cc4e4fdfa5 | [
"Apache-2.0"
] | null | null | null | from iterm2_colors2rgb.iterm2_colors2rgb import iterm2_colors2rgb
| 33 | 65 | 0.924242 | 8 | 66 | 7.25 | 0.5 | 0.827586 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096774 | 0.060606 | 66 | 1 | 66 | 66 | 0.83871 | 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 |
4c1a80fe664bc46e2e2e3ce91482b881fae6c827 | 101 | py | Python | venv2/lib/python2.7/site-packages/djstripe/exceptions.py | noemiGyorgy/swapi | dcd95f37d853296c17cdb1467bd7e71a8c5d82d1 | [
"BSD-3-Clause"
] | null | null | null | venv2/lib/python2.7/site-packages/djstripe/exceptions.py | noemiGyorgy/swapi | dcd95f37d853296c17cdb1467bd7e71a8c5d82d1 | [
"BSD-3-Clause"
] | null | null | null | venv2/lib/python2.7/site-packages/djstripe/exceptions.py | noemiGyorgy/swapi | dcd95f37d853296c17cdb1467bd7e71a8c5d82d1 | [
"BSD-3-Clause"
] | null | null | null | from __future__ import unicode_literals
class SubscriptionCancellationFailure(Exception):
pass
| 16.833333 | 49 | 0.841584 | 9 | 101 | 8.888889 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128713 | 101 | 5 | 50 | 20.2 | 0.909091 | 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 |
4c21686812bde5e4a5c99348f6febf3fce986c24 | 38 | py | Python | pyggi/algorithms/__init__.py | d4rk6un/mutated_pyggi | 751ea63d782580ea43e607cd64cfa9770c5e3c35 | [
"MIT"
] | 26 | 2018-01-30T13:07:51.000Z | 2021-08-01T13:41:48.000Z | pyggi/algorithms/__init__.py | d4rk6un/mutated_pyggi | 751ea63d782580ea43e607cd64cfa9770c5e3c35 | [
"MIT"
] | 9 | 2018-01-10T02:22:10.000Z | 2021-12-08T06:28:19.000Z | pyggi/algorithms/__init__.py | d4rk6un/mutated_pyggi | 751ea63d782580ea43e607cd64cfa9770c5e3c35 | [
"MIT"
] | 9 | 2019-02-11T19:00:52.000Z | 2021-12-30T07:48:52.000Z | from .local_search import LocalSearch
| 19 | 37 | 0.868421 | 5 | 38 | 6.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 38 | 1 | 38 | 38 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4c378278cb26900d08ae8377fe0fe779eb5ddf09 | 5,497 | py | Python | parser/team20/execution/executeCreate.py | 18SebastianVC/tytus | 2b22f4339356b6cf46e3235a5219f68e5ba5573b | [
"MIT"
] | null | null | null | parser/team20/execution/executeCreate.py | 18SebastianVC/tytus | 2b22f4339356b6cf46e3235a5219f68e5ba5573b | [
"MIT"
] | null | null | null | parser/team20/execution/executeCreate.py | 18SebastianVC/tytus | 2b22f4339356b6cf46e3235a5219f68e5ba5573b | [
"MIT"
] | null | null | null | from .storageManager import jsonMode
from .storageManager.TypeChecker import TCcreateDatabase,TCSearchDatabase,TCdropDatabase,TCgetDatabase,TCcreateTable
from .executeExpression import *
from .AST.sentence import *
import os
import json
def executeCreateDatabase(self, database):
# crear en base a la condicion FAL... | 33.518293 | 116 | 0.538657 | 534 | 5,497 | 5.544944 | 0.155431 | 0.145897 | 0.22695 | 0.291793 | 0.730496 | 0.724417 | 0.724417 | 0.699426 | 0.699426 | 0.699426 | 0 | 0.021577 | 0.367655 | 5,497 | 164 | 117 | 33.518293 | 0.830265 | 0.039476 | 0 | 0.788321 | 0 | 0 | 0.042464 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.014599 | false | 0 | 0.043796 | 0 | 0.306569 | 0.087591 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 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 |
4c58aa89413f4c6c4fe8a80a82a756216406bfaa | 521 | py | Python | swagger_server/models/__init__.py | AERPAW-Platform-Control/gateway | a80a25bb54a7cede82673f2385bb73d5aaa4963a | [
"MIT"
] | null | null | null | swagger_server/models/__init__.py | AERPAW-Platform-Control/gateway | a80a25bb54a7cede82673f2385bb73d5aaa4963a | [
"MIT"
] | null | null | null | swagger_server/models/__init__.py | AERPAW-Platform-Control/gateway | a80a25bb54a7cede82673f2385bb73d5aaa4963a | [
"MIT"
] | null | null | null | # coding: utf-8
# flake8: noqa
from __future__ import absolute_import
# import models into model package
from swagger_server.models.api_response import ApiResponse
from swagger_server.models.experiment import Experiment
from swagger_server.models.node import Node
from swagger_server.models.profile import Profile
from ... | 37.214286 | 58 | 0.863724 | 72 | 521 | 6.055556 | 0.347222 | 0.201835 | 0.311927 | 0.422018 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004237 | 0.09405 | 521 | 13 | 59 | 40.076923 | 0.919492 | 0.113244 | 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 |
4c7bbf980801ae347d4d15c4675667c01a70f8c0 | 5,019 | py | Python | src/MyRNN.py | MarliDroomer/NPD-predictor | 4b0df7397aa4bec5b59a276493afed571d630bb8 | [
"MIT"
] | 1 | 2021-09-13T09:37:14.000Z | 2021-09-13T09:37:14.000Z | src/MyRNN.py | MarliDroomer/NPD-predictor | 4b0df7397aa4bec5b59a276493afed571d630bb8 | [
"MIT"
] | null | null | null | src/MyRNN.py | MarliDroomer/NPD-predictor | 4b0df7397aa4bec5b59a276493afed571d630bb8 | [
"MIT"
] | 1 | 2021-09-13T09:37:21.000Z | 2021-09-13T09:37:21.000Z | import torch
from torch import nn
import torch.nn.init as init
from torch.autograd import Variable
class two_feature_RNN(nn.Module):
def __init__(self, hidden_size = 10, num_layers = 1):
super(two_feature_RNN, self).__init__()
#define the properties
self.num_feat = 2
... | 32.803922 | 94 | 0.551504 | 604 | 5,019 | 4.410596 | 0.165563 | 0.036787 | 0.047297 | 0.066066 | 0.897898 | 0.863363 | 0.863363 | 0.83033 | 0.83033 | 0.81494 | 0 | 0.022209 | 0.327157 | 5,019 | 153 | 95 | 32.803922 | 0.766657 | 0.12373 | 0 | 0.642857 | 0 | 0 | 0.019567 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.095238 | false | 0 | 0.047619 | 0 | 0.214286 | 0.047619 | 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 |
d5d804709f277509dd794e2ffc343fcb15d1e951 | 16,368 | py | Python | structureimpute/explore/prepare_dataset_base_on_lowcoverage_null.py | Tsinghua-gongjing/StructureImpute | 59e33e913998a8841c2cb552828f0f0cc19ebc21 | [
"MIT"
] | 9 | 2021-11-17T11:27:41.000Z | 2022-03-04T10:27:37.000Z | structureimpute/explore/prepare_dataset_base_on_lowcoverage_null.py | Tsinghua-gongjing/StructureImpute | 59e33e913998a8841c2cb552828f0f0cc19ebc21 | [
"MIT"
] | null | null | null | structureimpute/explore/prepare_dataset_base_on_lowcoverage_null.py | Tsinghua-gongjing/StructureImpute | 59e33e913998a8841c2cb552828f0f0cc19ebc21 | [
"MIT"
] | null | null | null | from __future__ import print_function
import matplotlib as mpl
mpl.use('Agg')
import matplotlib.pyplot as plt
import seaborn as sns
sns.set(style="ticks")
sns.set_context("poster")
plt.rcParams["font.family"] = "Helvetica"
import sys, os
from nested_dict import nested_dict
import pandas as pd
import numpy as np
from p... | 88 | 552 | 0.822214 | 2,324 | 16,368 | 5.525387 | 0.087349 | 0.052177 | 0.097656 | 0.123355 | 0.863173 | 0.858656 | 0.851491 | 0.849856 | 0.846507 | 0.840277 | 0 | 0.079488 | 0.06922 | 16,368 | 186 | 553 | 88 | 0.763374 | 0.002138 | 0 | 0.096774 | 0 | 0.048387 | 0.313552 | 0.145304 | 0 | 0 | 0 | 0 | 0 | 1 | 0.032258 | false | 0 | 0.258065 | 0 | 0.290323 | 0.048387 | 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 |
d5dc82258cdfe04cdb4fc11f56c05d59df51ac3a | 145,825 | py | Python | quantum_bcdtogray.py | ajay-cogsci/QuantumBCDtoGray | 2217ca363f5ac5e7cdd0a7d26dbe96f823327c3c | [
"MIT"
] | null | null | null | quantum_bcdtogray.py | ajay-cogsci/QuantumBCDtoGray | 2217ca363f5ac5e7cdd0a7d26dbe96f823327c3c | [
"MIT"
] | null | null | null | quantum_bcdtogray.py | ajay-cogsci/QuantumBCDtoGray | 2217ca363f5ac5e7cdd0a7d26dbe96f823327c3c | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""Quantum BCDtoGray.ipynb
Automatically generated by Colaboratory.
Original file is located at
https://colab.research.google.com/drive/1ydbd-GSY-lPcgLxl8RwMXYlGbw2_-aB1
# Quantum Binary to Gray Converter
**We shall be developing a Quantum Circuit that converts the BCD to its Gray Code e... | 2,471.610169 | 111,542 | 0.964389 | 4,739 | 145,825 | 29.673982 | 0.951678 | 0.000256 | 0.000256 | 0.00032 | 0.000448 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162241 | 0.001049 | 145,825 | 58 | 111,543 | 2,514.224138 | 0.803112 | 0.0012 | 0 | 0 | 1 | 0 | 0.02935 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0.117647 | null | null | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d5e8de8aacb7b508d521cb9605c9ef4ba1dc2742 | 13,217 | py | Python | jamf/models/device_communication_settings.py | jensenbox/python-jamf | 85213085b1064a00375a7aa7df5e33c19f5178eb | [
"RSA-MD"
] | 1 | 2021-04-20T15:28:57.000Z | 2021-04-20T15:28:57.000Z | jamf/models/device_communication_settings.py | jensenbox/python-jamf | 85213085b1064a00375a7aa7df5e33c19f5178eb | [
"RSA-MD"
] | null | null | null | jamf/models/device_communication_settings.py | jensenbox/python-jamf | 85213085b1064a00375a7aa7df5e33c19f5178eb | [
"RSA-MD"
] | null | null | null | # coding: utf-8
"""
Jamf Pro API
## Overview This is a sample Jamf Pro server which allows for usage without any authentication. The Jamf Pro environment which supports the Try it Out functionality does not run the current beta version of Jamf Pro, thus any newly added endpoints will result in an error and sh... | 52.657371 | 441 | 0.783461 | 1,705 | 13,217 | 5.484457 | 0.093842 | 0.128329 | 0.119773 | 0.08983 | 0.819164 | 0.819164 | 0.81788 | 0.790504 | 0.744947 | 0.681424 | 0 | 0.006829 | 0.169025 | 13,217 | 250 | 442 | 52.868 | 0.844578 | 0.337217 | 0 | 0.089286 | 0 | 0 | 0.122705 | 0.11737 | 0 | 0 | 0 | 0 | 0 | 1 | 0.160714 | false | 0 | 0.035714 | 0 | 0.339286 | 0.017857 | 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 |
912c26e20f0c6e099dcb19cb6993936babac9646 | 25,307 | py | Python | pybind/nos/v7_1_0/rbridge_id/router/ospf/area/nssa/__init__.py | shivharis/pybind | 4e1c6d54b9fd722ccec25546ba2413d79ce337e6 | [
"Apache-2.0"
] | null | null | null | pybind/nos/v7_1_0/rbridge_id/router/ospf/area/nssa/__init__.py | shivharis/pybind | 4e1c6d54b9fd722ccec25546ba2413d79ce337e6 | [
"Apache-2.0"
] | null | null | null | pybind/nos/v7_1_0/rbridge_id/router/ospf/area/nssa/__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... | 80.085443 | 752 | 0.754771 | 3,421 | 25,307 | 5.363636 | 0.072201 | 0.073573 | 0.039675 | 0.026159 | 0.868549 | 0.838356 | 0.823097 | 0.812851 | 0.808927 | 0.805003 | 0 | 0.006496 | 0.123997 | 25,307 | 315 | 753 | 80.339683 | 0.821192 | 0.21338 | 0 | 0.457895 | 0 | 0.031579 | 0.378333 | 0.172949 | 0 | 0 | 0 | 0 | 0 | 1 | 0.110526 | false | 0 | 0.052632 | 0 | 0.284211 | 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 |
e677f717ff6249a3e05206629550399986b25208 | 156 | py | Python | net_test_tools/topic/udping/__init__.py | mpraiser/test_over_udp | 15850e1144c253a30613b156e06b7821646aad15 | [
"MIT"
] | null | null | null | net_test_tools/topic/udping/__init__.py | mpraiser/test_over_udp | 15850e1144c253a30613b156e06b7821646aad15 | [
"MIT"
] | null | null | null | net_test_tools/topic/udping/__init__.py | mpraiser/test_over_udp | 15850e1144c253a30613b156e06b7821646aad15 | [
"MIT"
] | null | null | null | """
test up-link and down-link delay from master -> slave -> master
"""
from .master import UdpingMaster
from .slave import UdpingSlave
# TODO: handshake
| 17.333333 | 63 | 0.730769 | 21 | 156 | 5.428571 | 0.666667 | 0.175439 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 156 | 8 | 64 | 19.5 | 0.876923 | 0.512821 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e67f0a1bf997743f8d7c770bd60f18281c192965 | 64 | py | Python | minimal/perceptron/__init__.py | drstarry/minimal | 8c3eac110505d68dabde4d014cd0968392b640f9 | [
"MIT"
] | 2 | 2015-09-22T00:57:17.000Z | 2016-12-07T02:18:33.000Z | minimal/perceptron/__init__.py | drstarry/minimal | 8c3eac110505d68dabde4d014cd0968392b640f9 | [
"MIT"
] | null | null | null | minimal/perceptron/__init__.py | drstarry/minimal | 8c3eac110505d68dabde4d014cd0968392b640f9 | [
"MIT"
] | null | null | null | from . import perceptron
from . import const
from . import plot
| 16 | 24 | 0.765625 | 9 | 64 | 5.444444 | 0.555556 | 0.612245 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1875 | 64 | 3 | 25 | 21.333333 | 0.942308 | 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 |
e686441570255d91609060e9601272ab84ded324 | 309 | py | Python | SUAVE/SUAVE-2.5.0/trunk/SUAVE/Components/Energy/Storages/Batteries/Variable_Mass/__init__.py | Vinicius-Tanigawa/Undergraduate-Research-Project | e92372f07882484b127d7affe305eeec2238b8a9 | [
"MIT"
] | null | null | null | SUAVE/SUAVE-2.5.0/trunk/SUAVE/Components/Energy/Storages/Batteries/Variable_Mass/__init__.py | Vinicius-Tanigawa/Undergraduate-Research-Project | e92372f07882484b127d7affe305eeec2238b8a9 | [
"MIT"
] | null | null | null | SUAVE/SUAVE-2.5.0/trunk/SUAVE/Components/Energy/Storages/Batteries/Variable_Mass/__init__.py | Vinicius-Tanigawa/Undergraduate-Research-Project | e92372f07882484b127d7affe305eeec2238b8a9 | [
"MIT"
] | null | null | null | ## @defgroup Components-Energy-Storages-Batteries-Variable_Mass Variable_Mass
#Contains different battery types that don't change mass, such as lithium-air and aluminum-air batteries
# @ingroup Components-Energy-Storages-Batteries
from .Lithium_Air import Lithium_Air
from .Aluminum_Air import Aluminum_Air
| 38.625 | 104 | 0.838188 | 43 | 309 | 5.883721 | 0.55814 | 0.118577 | 0.189723 | 0.26087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.100324 | 309 | 7 | 105 | 44.142857 | 0.910072 | 0.721683 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e689d30bd24cbae1bdcaae599dffc8c7fd9f322b | 24 | py | Python | wk/web/applications/dbserver/__init__.py | Peiiii/wk | dcf948c1cb36c1eec9b2a554ea0296c6d3dbbdc4 | [
"MIT"
] | null | null | null | wk/web/applications/dbserver/__init__.py | Peiiii/wk | dcf948c1cb36c1eec9b2a554ea0296c6d3dbbdc4 | [
"MIT"
] | null | null | null | wk/web/applications/dbserver/__init__.py | Peiiii/wk | dcf948c1cb36c1eec9b2a554ea0296c6d3dbbdc4 | [
"MIT"
] | null | null | null | from .DBServer import *
| 12 | 23 | 0.75 | 3 | 24 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 24 | 1 | 24 | 24 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e68f3678edae6090edbd989de27835d6102f8eb3 | 8,404 | py | Python | tests/corpus/io/test_esc.py | toddrme2178/audiomate | 14e932ce9c0b0bebb895d496cb6054521fc80ab1 | [
"MIT"
] | null | null | null | tests/corpus/io/test_esc.py | toddrme2178/audiomate | 14e932ce9c0b0bebb895d496cb6054521fc80ab1 | [
"MIT"
] | null | null | null | tests/corpus/io/test_esc.py | toddrme2178/audiomate | 14e932ce9c0b0bebb895d496cb6054521fc80ab1 | [
"MIT"
] | null | null | null | import os
import pytest
import requests_mock
from audiomate import corpus
from audiomate.corpus import io
from audiomate.corpus.io import esc
from tests import resources
@pytest.fixture
def reader():
return io.ESC50Reader()
@pytest.fixture
def downloader():
return io.ESC50Downloader()
@pytest.fixture
de... | 44.231579 | 113 | 0.620181 | 1,382 | 8,404 | 3.702605 | 0.0767 | 0.137581 | 0.207543 | 0.219074 | 0.808091 | 0.786398 | 0.760016 | 0.626539 | 0.535275 | 0.455931 | 0 | 0.163236 | 0.185031 | 8,404 | 189 | 114 | 44.465608 | 0.583881 | 0 | 0 | 0.065693 | 0 | 0 | 0.217515 | 0.003451 | 0 | 0 | 0 | 0 | 0.708029 | 1 | 0.080292 | false | 0 | 0.051095 | 0.021898 | 0.175182 | 0 | 0 | 0 | 0 | null | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e6a231aa6fecc8f116544411514f045c37fa90f3 | 1,364 | py | Python | samples/server/petstore/flaskConnexion/controllers/default_controller.py | deerghayu/swagger-codegen | 1e33403e381be1db91b1427d3f70f7476cb4da67 | [
"Apache-2.0"
] | 2 | 2017-12-19T12:48:04.000Z | 2018-02-25T18:31:51.000Z | samples/server/petstore/flaskConnexion/controllers/default_controller.py | the-blue-alliance/swagger-codegen | 6ad8df57f7c1d593eb0fc7d132a5cef5ce0ed100 | [
"Apache-2.0"
] | 2 | 2021-10-05T14:41:26.000Z | 2022-03-28T16:07:30.000Z | samples/server/petstore/flaskConnexion/controllers/default_controller.py | the-blue-alliance/swagger-codegen | 6ad8df57f7c1d593eb0fc7d132a5cef5ce0ed100 | [
"Apache-2.0"
] | 5 | 2020-04-01T02:37:35.000Z | 2021-04-07T08:04:07.000Z |
def add_pet(body) -> str:
return 'do some magic!'
def delete_pet(petId, apiKey = None) -> str:
return 'do some magic!'
def find_pets_by_status(status) -> str:
return 'do some magic!'
def find_pets_by_tags(tags) -> str:
return 'do some magic!'
def get_pet_by_id(petId) -> str:
return 'do some mag... | 22.360656 | 70 | 0.670821 | 208 | 1,364 | 4.216346 | 0.197115 | 0.205245 | 0.250855 | 0.342075 | 0.741163 | 0.741163 | 0.687571 | 0.376283 | 0.171038 | 0.095781 | 0 | 0 | 0.203079 | 1,364 | 60 | 71 | 22.733333 | 0.806808 | 0 | 0 | 0.5 | 0 | 0 | 0.205429 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0.025 | 0 | 0.5 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 6 |
e6a702c56619c2c7cfc6a2c6aada198d95a2a6d1 | 9,489 | py | Python | tests/parse/scope.py | felix-hilden/sphinx-codeautolink | cde00711e2359e30a76d6224a01da90104b06b19 | [
"MIT"
] | 21 | 2021-09-13T15:53:32.000Z | 2022-03-24T15:27:36.000Z | tests/parse/scope.py | felix-hilden/sphinx-codeautolink | cde00711e2359e30a76d6224a01da90104b06b19 | [
"MIT"
] | 89 | 2021-09-19T21:42:38.000Z | 2022-03-25T09:09:39.000Z | tests/parse/scope.py | felix-hilden/sphinx-codeautolink | cde00711e2359e30a76d6224a01da90104b06b19 | [
"MIT"
] | 5 | 2021-10-14T03:08:39.000Z | 2022-02-11T10:50:19.000Z | import sys
import pytest
from ._util import refs_equal
class TestFunction:
@refs_equal
def test_func_uses(self):
s = 'import a\ndef f():\n a'
refs = [('a', 'a'), ('a', 'a')]
return s, refs
@refs_equal
def test_async_func_uses(self):
s = 'import a\nasync def f():\n a... | 29.196923 | 87 | 0.517125 | 1,472 | 9,489 | 3.152174 | 0.080842 | 0.063793 | 0.057543 | 0.175862 | 0.857759 | 0.837069 | 0.79806 | 0.73944 | 0.68944 | 0.654741 | 0 | 0.00335 | 0.307936 | 9,489 | 324 | 88 | 29.287037 | 0.703213 | 0.005375 | 0 | 0.591078 | 0 | 0.018587 | 0.231267 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.189591 | false | 0.040892 | 0.215613 | 0 | 0.605948 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
fc37c2cea7a255487e9d19f02c87cf471cac680d | 5,706 | py | Python | [extremely buggy] testing/testEVO.py | TinyLilyMoss/evo | 17fd0a79f53241fa53dcf275c3a559b912b89c4d | [
"CC0-1.0"
] | 1 | 2021-12-07T00:16:59.000Z | 2021-12-07T00:16:59.000Z | [extremely buggy] testing/testEVO.py | TinyLilyMoss/evo | 17fd0a79f53241fa53dcf275c3a559b912b89c4d | [
"CC0-1.0"
] | null | null | null | [extremely buggy] testing/testEVO.py | TinyLilyMoss/evo | 17fd0a79f53241fa53dcf275c3a559b912b89c4d | [
"CC0-1.0"
] | 1 | 2021-12-29T02:10:30.000Z | 2021-12-29T02:10:30.000Z | ## imports
##test
import pygame
import sys
import random
pygame.init()
## variables
animal = 0
animalRNG = (random.randint(0, 100))
WORLDSPVALUE = (random.randint(0, 10))
WORLDSTRVALUE = (random.randint(0, 10))
FOOD = (random.randint(0, 10))
guy = 1
win = 0
CREATURESDEAD = 0
x = []
y = []
## print command to avoid... | 35.6625 | 79 | 0.490712 | 507 | 5,706 | 4.942801 | 0.145957 | 0.096568 | 0.122107 | 0.047885 | 0.801676 | 0.775339 | 0.755387 | 0.709497 | 0.681564 | 0.681564 | 0 | 0.014822 | 0.42061 | 5,706 | 160 | 80 | 35.6625 | 0.743194 | 0.026113 | 0 | 0.715328 | 0 | 0 | 0.25343 | 0.053069 | 0 | 0 | 0 | 0 | 0 | 1 | 0.014599 | false | 0 | 0.021898 | 0 | 0.036496 | 0.394161 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 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 |
fc499c086f223e97d63f017051cf278879af96ad | 20 | py | Python | __init__.py | jia1/cs2309 | 1c1fd80b30e16379da2f5f2996b9f5839e1c7761 | [
"BSD-3-Clause"
] | null | null | null | __init__.py | jia1/cs2309 | 1c1fd80b30e16379da2f5f2996b9f5839e1c7761 | [
"BSD-3-Clause"
] | null | null | null | __init__.py | jia1/cs2309 | 1c1fd80b30e16379da2f5f2996b9f5839e1c7761 | [
"BSD-3-Clause"
] | null | null | null | from .learn import * | 20 | 20 | 0.75 | 3 | 20 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 20 | 1 | 20 | 20 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
fc604ed8c200f96f672a84d715f2aec2a818be07 | 216 | py | Python | verstack/__init__.py | goteguru/verstack | 5bd74d95478a09aa5aaaa6438da4693695bea211 | [
"MIT"
] | null | null | null | verstack/__init__.py | goteguru/verstack | 5bd74d95478a09aa5aaaa6438da4693695bea211 | [
"MIT"
] | null | null | null | verstack/__init__.py | goteguru/verstack | 5bd74d95478a09aa5aaaa6438da4693695bea211 | [
"MIT"
] | null | null | null | from verstack.NaNImputer import NaNImputer
from verstack.Multicore import Multicore
from verstack.ThreshTuner import ThreshTuner
# create a __version__ attribute in the verstack class
from .version import __version__ | 43.2 | 54 | 0.865741 | 27 | 216 | 6.62963 | 0.481481 | 0.201117 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 216 | 5 | 55 | 43.2 | 0.932292 | 0.240741 | 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 |
fc60fbb7e77448f2249870012712b44130f4f1c1 | 44 | py | Python | pyARC/__init__.py | tomevans/pyARC | 935e3d9b49bca36433e4fb85a43c42b1d10d561d | [
"MIT"
] | null | null | null | pyARC/__init__.py | tomevans/pyARC | 935e3d9b49bca36433e4fb85a43c42b1d10d561d | [
"MIT"
] | null | null | null | pyARC/__init__.py | tomevans/pyARC | 935e3d9b49bca36433e4fb85a43c42b1d10d561d | [
"MIT"
] | null | null | null | from ClassDefs import *
import ModelLogLike
| 14.666667 | 23 | 0.840909 | 5 | 44 | 7.4 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 44 | 2 | 24 | 22 | 0.973684 | 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 |
fc8599c59c38f1edf8df698995dff4ecb905ae0c | 73 | py | Python | example2_a.py | val314159/kx | edc5f4fb087171ae22624e575665668c4704fa36 | [
"Unlicense"
] | 1 | 2017-03-17T16:56:23.000Z | 2017-03-17T16:56:23.000Z | example2_a.py | val314159/kx | edc5f4fb087171ae22624e575665668c4704fa36 | [
"Unlicense"
] | null | null | null | example2_a.py | val314159/kx | edc5f4fb087171ae22624e575665668c4704fa36 | [
"Unlicense"
] | null | null | null | from networks import save_bottleneck_features
save_bottleneck_features()
| 24.333333 | 45 | 0.90411 | 9 | 73 | 6.888889 | 0.666667 | 0.451613 | 0.709677 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068493 | 73 | 2 | 46 | 36.5 | 0.911765 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
fc90d63a7380e375461d7cb6749fe5194c63a6fa | 2,576 | py | Python | Uspto/download/download.py | Matcha00/uspt_python_bs4 | 3193b5f1db921f354d27df65c783681bd759db33 | [
"MIT"
] | null | null | null | Uspto/download/download.py | Matcha00/uspt_python_bs4 | 3193b5f1db921f354d27df65c783681bd759db33 | [
"MIT"
] | null | null | null | Uspto/download/download.py | Matcha00/uspt_python_bs4 | 3193b5f1db921f354d27df65c783681bd759db33 | [
"MIT"
] | null | null | null | import requests
import re
import random
import time
class download(object):
def __init__(self):
self.user_agent_list = [
"Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.1 (KHTML, like Gecko) Chrome/22.0.1207.1 Safari/537.1",
"Mozilla/5.0 (X11; CrOS i686 2268.111.0) AppleWebKit... | 62.829268 | 131 | 0.638199 | 447 | 2,576 | 3.651007 | 0.181208 | 0.088235 | 0.099265 | 0.220588 | 0.785539 | 0.784314 | 0.770221 | 0.743873 | 0.6875 | 0.578431 | 0 | 0.198339 | 0.205357 | 2,576 | 41 | 132 | 62.829268 | 0.598925 | 0 | 0 | 0 | 0 | 0.529412 | 0.738456 | 0.008925 | 0 | 0 | 0 | 0 | 0 | 1 | 0.058824 | false | 0 | 0.117647 | 0 | 0.235294 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5d9ae48dfc6c0c08cbfbfeff6a2ba30fd7db66e5 | 31,962 | py | Python | tests/core/test_checks_builtin.py | lkadin/pandera | 247d020ded7a3f160f05c4fc8bb9a626e8570846 | [
"MIT"
] | null | null | null | tests/core/test_checks_builtin.py | lkadin/pandera | 247d020ded7a3f160f05c4fc8bb9a626e8570846 | [
"MIT"
] | null | null | null | tests/core/test_checks_builtin.py | lkadin/pandera | 247d020ded7a3f160f05c4fc8bb9a626e8570846 | [
"MIT"
] | null | null | null | """Tests for builtin checks in pandera.checks.Check
"""
import pandas as pd
import pytest
from pandera.checks import Check
from pandera.errors import SchemaError
from pandera.schema_components import Column
from pandera.schemas import DataFrameSchema, SeriesSchema
def check_values(values, check, expected_failure_ca... | 32.714432 | 109 | 0.532226 | 3,619 | 31,962 | 4.52556 | 0.067146 | 0.06179 | 0.084259 | 0.094456 | 0.831787 | 0.793687 | 0.768165 | 0.746123 | 0.715228 | 0.705336 | 0 | 0.048418 | 0.306645 | 31,962 | 976 | 110 | 32.747951 | 0.690628 | 0.111601 | 0 | 0.521739 | 0 | 0 | 0.117569 | 0 | 0 | 0 | 0 | 0 | 0.007673 | 1 | 0.070332 | false | 0.002558 | 0.007673 | 0 | 0.095908 | 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 |
5db9e7cba247e0f9d1c4cefa2c90b9912edef7be | 302 | py | Python | deli_counter/test/test_authn.py | sandwichcloud/deli-counter | e72ee3966f4457ffbd1d432b3516965075c7c86e | [
"MIT"
] | 1 | 2017-10-19T09:25:29.000Z | 2017-10-19T09:25:29.000Z | deli_counter/test/test_authn.py | sandwichcloud/deli-counter | e72ee3966f4457ffbd1d432b3516965075c7c86e | [
"MIT"
] | null | null | null | deli_counter/test/test_authn.py | sandwichcloud/deli-counter | e72ee3966f4457ffbd1d432b3516965075c7c86e | [
"MIT"
] | null | null | null | from deli_counter.test.base import DeliTestCase
# TODO: do this
class TestAuthN(DeliTestCase):
def test_get_token(self, wsgi):
pass
def test_get_token_head(self, wsgi):
pass
def test_scope_token(self, wsgi):
pass
def test_get_user(self, wsgi):
pass
| 17.764706 | 47 | 0.662252 | 42 | 302 | 4.52381 | 0.5 | 0.147368 | 0.252632 | 0.236842 | 0.384211 | 0.284211 | 0.284211 | 0 | 0 | 0 | 0 | 0 | 0.261589 | 302 | 16 | 48 | 18.875 | 0.852018 | 0.043046 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0625 | 0 | 1 | 0.4 | false | 0.4 | 0.1 | 0 | 0.6 | 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 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
b9094f3980d52e836f01f7cae8022e9c59c37b11 | 68 | py | Python | tests/test_package.py | phinate/clarinet | 8cc9929c7f5489b596abd3278722a9e7e6f5f439 | [
"BSD-3-Clause"
] | 1 | 2021-02-24T22:10:11.000Z | 2021-02-24T22:10:11.000Z | tests/test_package.py | phinate/clarinet | 8cc9929c7f5489b596abd3278722a9e7e6f5f439 | [
"BSD-3-Clause"
] | 10 | 2021-03-12T11:33:51.000Z | 2021-09-13T17:18:10.000Z | tests/test_package.py | phinate/clarinet | 8cc9929c7f5489b596abd3278722a9e7e6f5f439 | [
"BSD-3-Clause"
] | null | null | null | import clarinet as m
def test_version():
assert m.__version__
| 11.333333 | 24 | 0.735294 | 10 | 68 | 4.5 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.205882 | 68 | 5 | 25 | 13.6 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5d202400f6698d827050d277a7e21b5f3a757845 | 18 | py | Python | DearPyGui/dearpygui/core.py | wallace11/DearPyGui | 2f45099b6d136f22a2c882003d3ac2bd37b94a6f | [
"MIT"
] | 2 | 2020-08-12T22:06:33.000Z | 2020-08-13T02:14:55.000Z | DearPyGui/dearpygui/core.py | wallace11/DearPyGui | 2f45099b6d136f22a2c882003d3ac2bd37b94a6f | [
"MIT"
] | 11 | 2019-02-14T03:14:49.000Z | 2022-01-13T01:03:59.000Z | DearPyGui/dearpygui/core.py | wallace11/DearPyGui | 2f45099b6d136f22a2c882003d3ac2bd37b94a6f | [
"MIT"
] | 5 | 2019-01-26T01:52:10.000Z | 2019-05-01T23:12:27.000Z | from core import * | 18 | 18 | 0.777778 | 3 | 18 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 18 | 1 | 18 | 18 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5d39420b2b7ea3563ea25a6a8b96aa6d4655b94c | 3,357 | py | Python | nativedroid/nativedroid/analyses/resolver/jni/java_type/__init__.py | CherishAZ/Argus-SAF | 06596c6bb03fe2560030b52bf2b47d17d1bd3068 | [
"Apache-2.0"
] | 152 | 2016-06-10T19:10:03.000Z | 2022-02-26T12:43:00.000Z | nativedroid/nativedroid/analyses/resolver/jni/java_type/__init__.py | CherishAZ/Argus-SAF | 06596c6bb03fe2560030b52bf2b47d17d1bd3068 | [
"Apache-2.0"
] | 83 | 2016-07-08T16:49:37.000Z | 2022-01-16T10:48:27.000Z | nativedroid/nativedroid/analyses/resolver/jni/java_type/__init__.py | CherishAZ/Argus-SAF | 06596c6bb03fe2560030b52bf2b47d17d1bd3068 | [
"Apache-2.0"
] | 47 | 2016-06-22T01:28:21.000Z | 2022-03-06T14:18:08.000Z | from nativedroid.analyses.resolver.jni.java_type.primitive import *
from nativedroid.analyses.resolver.jni.java_type.reference import *
def get_type(project, java_type):
"""
Get JType based on java type.
:param angr.project.Project project: angr project
:param str java_type: java type
:return: re... | 28.939655 | 67 | 0.610069 | 412 | 3,357 | 4.786408 | 0.162621 | 0.210953 | 0.231237 | 0.183063 | 0.815923 | 0.688134 | 0.366126 | 0.155172 | 0.103448 | 0.103448 | 0 | 0.003727 | 0.280608 | 3,357 | 115 | 68 | 29.191304 | 0.812836 | 0.089366 | 0 | 0.702128 | 0 | 0 | 0.098864 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.021277 | false | 0 | 0.021277 | 0 | 0.510638 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 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 | 1 | 0 | 0 | 6 |
5d39b893f1e87fca70cdca3da614bda1c4902ffe | 233 | py | Python | fastapi_mvc/utils/__init__.py | rszamszur/fastapi-mvc | 98670eda3b485cfe25850773dcc1ae7ae5feced9 | [
"MIT"
] | 98 | 2021-12-21T18:45:07.000Z | 2022-03-27T08:48:37.000Z | fastapi_mvc/utils/__init__.py | rszamszur/fastapi-mvc | 98670eda3b485cfe25850773dcc1ae7ae5feced9 | [
"MIT"
] | 48 | 2021-12-21T16:06:56.000Z | 2022-03-26T17:28:57.000Z | fastapi_mvc/utils/__init__.py | rszamszur/fastapi-mvc | 98670eda3b485cfe25850773dcc1ae7ae5feced9 | [
"MIT"
] | 16 | 2022-01-05T14:21:50.000Z | 2022-02-13T17:55:07.000Z | """Fastapi-mvc utilities.
The ``fastapi-mvc.utils`` submodule implements generic utilities for the need of
the package.
"""
from fastapi_mvc.utils.shell import ShellUtils
from fastapi_mvc.utils.excepthook import global_except_hook
| 25.888889 | 80 | 0.811159 | 33 | 233 | 5.606061 | 0.606061 | 0.216216 | 0.243243 | 0.205405 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107296 | 233 | 8 | 81 | 29.125 | 0.889423 | 0.502146 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
5d47c7125a7aac63f85ed4d97a7dec1829327e5b | 43 | py | Python | Module_3/AES_Test/tempCodeRunnerFile.py | dks1018/CoffeeShopCoding | 13ac1700673c86c601eb2758570920620a956e4c | [
"ADSL"
] | null | null | null | Module_3/AES_Test/tempCodeRunnerFile.py | dks1018/CoffeeShopCoding | 13ac1700673c86c601eb2758570920620a956e4c | [
"ADSL"
] | null | null | null | Module_3/AES_Test/tempCodeRunnerFile.py | dks1018/CoffeeShopCoding | 13ac1700673c86c601eb2758570920620a956e4c | [
"ADSL"
] | null | null | null | import os, random, string, secrets, hashlib | 43 | 43 | 0.790698 | 6 | 43 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116279 | 43 | 1 | 43 | 43 | 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 |
5d705f42d4cb70f50bc38ee4921b62ef5d52cf53 | 1,899 | py | Python | apps/projects/migrations/0005_auto_20190125_1436.py | IT-PM-OpenAdaptronik/Webapp | c3bdde0ca56b6d77f49bc830fa2b8bb41a26bae4 | [
"MIT"
] | 2 | 2017-12-17T21:28:22.000Z | 2018-02-02T14:44:58.000Z | apps/projects/migrations/0005_auto_20190125_1436.py | IT-PM-OpenAdaptronik/Webapp | c3bdde0ca56b6d77f49bc830fa2b8bb41a26bae4 | [
"MIT"
] | 118 | 2017-10-31T13:45:09.000Z | 2018-02-24T20:51:42.000Z | apps/projects/migrations/0005_auto_20190125_1436.py | OpenAdaptronik/Rattler | c3bdde0ca56b6d77f49bc830fa2b8bb41a26bae4 | [
"MIT"
] | null | null | null | # Generated by Django 2.0 on 2019-01-25 14:36
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('projects', '0004_auto_20180517_1028'),
]
operations = [
migrations.AddField(
model_name='datarow',
name='data_format',... | 32.186441 | 86 | 0.576093 | 187 | 1,899 | 5.631016 | 0.26738 | 0.153846 | 0.196581 | 0.230769 | 0.82906 | 0.823362 | 0.823362 | 0.421652 | 0.102564 | 0.102564 | 0 | 0.025738 | 0.304371 | 1,899 | 58 | 87 | 32.741379 | 0.771385 | 0.022644 | 0 | 0.519231 | 1 | 0 | 0.150485 | 0.012406 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.019231 | 0 | 0.076923 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 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 | 0 | 0 | 0 | 0 | 6 |
5d73f2af181b4e3a109c559c6734917741d19bb1 | 46,103 | py | Python | graphbrain/tests/test_hypergraph.py | Mechachleopteryx/graphbrain | 1c0cd6da45e62b59057485b09b0715850020e0fb | [
"MIT"
] | 412 | 2016-02-20T12:04:34.000Z | 2022-03-30T21:07:39.000Z | graphbrain/tests/test_hypergraph.py | Mechachleopteryx/graphbrain | 1c0cd6da45e62b59057485b09b0715850020e0fb | [
"MIT"
] | 20 | 2018-09-21T13:47:59.000Z | 2021-04-10T04:21:30.000Z | graphbrain/tests/test_hypergraph.py | Mechachleopteryx/graphbrain | 1c0cd6da45e62b59057485b09b0715850020e0fb | [
"MIT"
] | 51 | 2017-01-25T17:19:30.000Z | 2022-03-29T07:32:53.000Z | import unittest
import graphbrain.constants as const
from graphbrain import hedge
from graphbrain import hgraph, hopen
class TestHypergraph(unittest.TestCase):
def setUp(self):
self.hg = hgraph('test.db')
def tearDown(self):
self.hg.close()
def test_close(self):
self.hg.close()
... | 47.382323 | 79 | 0.516778 | 6,677 | 46,103 | 3.514003 | 0.039239 | 0.108682 | 0.053318 | 0.074287 | 0.92469 | 0.895751 | 0.875336 | 0.849849 | 0.828198 | 0.780761 | 0 | 0.014738 | 0.280329 | 46,103 | 972 | 80 | 47.43107 | 0.692215 | 0.006811 | 0 | 0.642045 | 0 | 0.118182 | 0.346177 | 0.031258 | 0 | 0 | 0 | 0 | 0.217045 | 1 | 0.077273 | false | 0 | 0.004545 | 0 | 0.082955 | 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 |
5381a0f2ca2dfc94d341dc11e509c1776853c46c | 93 | py | Python | exception/invalid_username_exception.py | tuannguyendang/montypython | c0b8ff7a8130e811ba16bfab8d5e013eac37f432 | [
"Apache-2.0"
] | null | null | null | exception/invalid_username_exception.py | tuannguyendang/montypython | c0b8ff7a8130e811ba16bfab8d5e013eac37f432 | [
"Apache-2.0"
] | null | null | null | exception/invalid_username_exception.py | tuannguyendang/montypython | c0b8ff7a8130e811ba16bfab8d5e013eac37f432 | [
"Apache-2.0"
] | null | null | null | from exception import AuthException
class InvalidUserNameException(AuthException):
pass | 18.6 | 46 | 0.83871 | 8 | 93 | 9.75 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 93 | 5 | 47 | 18.6 | 0.962963 | 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 |
538f6eb451ece4383c953838abd0264a7b3b67b4 | 19,506 | py | Python | test_autolens/point/test_fit_point_source.py | Jammy2211/PyAutoLens | 728100a3bf13f89f35030724aa08593ab44e65eb | [
"MIT"
] | 114 | 2018-03-05T07:31:47.000Z | 2022-03-08T06:40:52.000Z | test_autolens/point/test_fit_point_source.py | Jammy2211/PyAutoLens | 728100a3bf13f89f35030724aa08593ab44e65eb | [
"MIT"
] | 143 | 2018-01-31T09:57:13.000Z | 2022-03-16T09:41:05.000Z | test_autolens/point/test_fit_point_source.py | Jammy2211/PyAutoLens | 728100a3bf13f89f35030724aa08593ab44e65eb | [
"MIT"
] | 33 | 2018-01-31T12:15:57.000Z | 2022-01-08T18:31:02.000Z | from functools import partial
import numpy as np
import pytest
import autolens as al
from autolens.mock.mock import MockTracerPoint
from autolens.mock.mock import MockPointSolver
class TestAbstractFitPositionsSourcePlane:
def test__furthest_separation_of_source_plane_positions(self):
posit... | 37.729207 | 89 | 0.605301 | 2,588 | 19,506 | 4.332689 | 0.066847 | 0.015696 | 0.011772 | 0.031392 | 0.86364 | 0.829038 | 0.813609 | 0.796129 | 0.782306 | 0.724605 | 0 | 0.065478 | 0.269507 | 19,506 | 516 | 90 | 37.802326 | 0.721454 | 0 | 0 | 0.503836 | 0 | 0 | 0.014745 | 0 | 0 | 0 | 0 | 0 | 0.202046 | 1 | 0.033248 | false | 0 | 0.015345 | 0 | 0.061381 | 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 |
53975c8831b7edc8fc40f48ce67d7b1f41548bae | 84 | py | Python | dependencies/FontTools/Lib/fontTools/ttLib/tables/B_A_S_E_.py | charlesmchen/typefacet | 8c6db26d0c599ece16f3704696811275120a4044 | [
"Apache-2.0"
] | 21 | 2015-01-16T05:10:02.000Z | 2021-06-11T20:48:15.000Z | dependencies/FontTools/Lib/fontTools/ttLib/tables/B_A_S_E_.py | charlesmchen/typefacet | 8c6db26d0c599ece16f3704696811275120a4044 | [
"Apache-2.0"
] | 1 | 2019-09-09T12:10:27.000Z | 2020-05-22T10:12:14.000Z | dependencies/FontTools/Lib/fontTools/ttLib/tables/B_A_S_E_.py | charlesmchen/typefacet | 8c6db26d0c599ece16f3704696811275120a4044 | [
"Apache-2.0"
] | 2 | 2015-05-03T04:51:08.000Z | 2018-08-24T08:28:53.000Z | from otBase import BaseTTXConverter
class table_B_A_S_E_(BaseTTXConverter):
pass
| 14 | 39 | 0.845238 | 12 | 84 | 5.5 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119048 | 84 | 5 | 40 | 16.8 | 0.891892 | 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 |
53c163ceda25420f45aab9be9f38ad5f2e7c7ae6 | 7,756 | py | Python | skyportal/tests/api/test_photometry.py | glenn2763/skyportal | 79dc11bfe08076d9c1f920bad85681ab001e22c8 | [
"BSD-3-Clause"
] | null | null | null | skyportal/tests/api/test_photometry.py | glenn2763/skyportal | 79dc11bfe08076d9c1f920bad85681ab001e22c8 | [
"BSD-3-Clause"
] | null | null | null | skyportal/tests/api/test_photometry.py | glenn2763/skyportal | 79dc11bfe08076d9c1f920bad85681ab001e22c8 | [
"BSD-3-Clause"
] | null | null | null | import os
import datetime
import base64
from skyportal.tests import api
from skyportal.models import Thumbnail, DBSession, Photometry
def test_token_user_post_get_photometry_data(upload_data_token, public_source):
status, data = api('POST', 'photometry',
data={'source_id': str(public_source... | 36.933333 | 99 | 0.484012 | 769 | 7,756 | 4.672302 | 0.126138 | 0.060117 | 0.070971 | 0.066797 | 0.791817 | 0.756749 | 0.74005 | 0.716115 | 0.716115 | 0.716115 | 0 | 0.038171 | 0.38525 | 7,756 | 209 | 100 | 37.110048 | 0.715394 | 0 | 0 | 0.722826 | 0 | 0 | 0.157813 | 0.038551 | 0 | 0 | 0 | 0 | 0.184783 | 1 | 0.038043 | false | 0 | 0.027174 | 0 | 0.065217 | 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 |
53d8d8559814977e2fea654200f99e6dd2ddfe6e | 149 | py | Python | functions.py | araujo0608/ola-mundo | f48c99c187a414fed5770a194f6207c6fbc9b789 | [
"MIT"
] | null | null | null | functions.py | araujo0608/ola-mundo | f48c99c187a414fed5770a194f6207c6fbc9b789 | [
"MIT"
] | null | null | null | functions.py | araujo0608/ola-mundo | f48c99c187a414fed5770a194f6207c6fbc9b789 | [
"MIT"
] | null | null | null | # Is working
def somar(x, y):
return x + y
def subtrair(x, y):
return x - y
def mult(x, y):
return x * y
def div(x, y):
return x / y
| 14.9 | 19 | 0.543624 | 30 | 149 | 2.7 | 0.333333 | 0.197531 | 0.395062 | 0.444444 | 0.604938 | 0.481481 | 0 | 0 | 0 | 0 | 0 | 0 | 0.315436 | 149 | 9 | 20 | 16.555556 | 0.794118 | 0.067114 | 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 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
54ce822b196d59c4ca738df75e633d238c683915 | 6,922 | py | Python | utils/generate_urls.py | MaastrichtU-IDS/solid-station | 66567418709635d3d299ddaefe0ceb2d8c71a0c8 | [
"MIT"
] | 3 | 2020-11-19T15:21:59.000Z | 2021-03-04T12:34:05.000Z | utils/generate_urls.py | MaastrichtU-IDS/solid-station | 66567418709635d3d299ddaefe0ceb2d8c71a0c8 | [
"MIT"
] | null | null | null | utils/generate_urls.py | MaastrichtU-IDS/solid-station | 66567418709635d3d299ddaefe0ceb2d8c71a0c8 | [
"MIT"
] | 1 | 2021-02-19T11:24:23.000Z | 2021-02-19T11:24:23.000Z | # users = [ 'chang', 'vemonet' ]
# 'https://solidforresearchtest' + index + '.inrupt.net/profile/card#me'
# From 1 to 9: need to add a 0 (e.g. 01 to 09)
user_prefix = 'solidforresearchtest'
count = 1
# 1 - 128
user_hosts = ''
while count < 129:
user_hosts += user_prefix + str(count) + '.solid.137.120.31.102.n... | 329.619048 | 6,558 | 0.832707 | 1,079 | 6,922 | 5.337349 | 0.154773 | 0.179198 | 0.246397 | 0.291196 | 0.470394 | 0.470394 | 0.470394 | 0 | 0 | 0 | 0 | 0.251132 | 0.010546 | 6,922 | 21 | 6,558 | 329.619048 | 0.589721 | 0.969373 | 0 | 0 | 0 | 0 | 0.237864 | 0.140777 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.142857 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
071b7e60d073dbd8bb8194de63cdb4d9cce94f5f | 30,210 | py | Python | src/reporter/tests/test_NTNENA.py | pooja1pathak/ngsi-timeseries-api | 1709b2f62e6c8b5112cca4badcfb01b92bcc9bb5 | [
"MIT"
] | null | null | null | src/reporter/tests/test_NTNENA.py | pooja1pathak/ngsi-timeseries-api | 1709b2f62e6c8b5112cca4badcfb01b92bcc9bb5 | [
"MIT"
] | null | null | null | src/reporter/tests/test_NTNENA.py | pooja1pathak/ngsi-timeseries-api | 1709b2f62e6c8b5112cca4badcfb01b92bcc9bb5 | [
"MIT"
] | 1 | 2022-02-13T13:05:17.000Z | 2022-02-13T13:05:17.000Z | from conftest import QL_URL
from datetime import datetime
from reporter.tests.utils import delete_test_data, insert_test_data
import pytest
import requests
import dateutil.parser
entity_type = "Room"
entity_type_1 = "Kitchen"
entity_id = "Room1"
entity_id_1 = "Room2"
entity_id_1_1 = 'Kitchen1'
attrs = 'pressure'
n_day... | 25.365239 | 95 | 0.543198 | 2,857 | 30,210 | 5.506825 | 0.073854 | 0.059493 | 0.060637 | 0.073222 | 0.861438 | 0.84542 | 0.822411 | 0.804106 | 0.787072 | 0.780461 | 0 | 0.044832 | 0.342138 | 30,210 | 1,190 | 96 | 25.386555 | 0.746805 | 0.027276 | 0 | 0.537126 | 0 | 0 | 0.142511 | 0.033889 | 0 | 0 | 0 | 0 | 0.037608 | 1 | 0.018322 | false | 0 | 0.005786 | 0 | 0.026037 | 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 |
ab1b6bc95e845d1e7d8f73d480ab1f2f010cc236 | 246 | py | Python | src/python/pants/backend/python/lint/bandit/register.py | revl/pants | 8ad83e4ca80c095d44efceafd8b41e575da39c65 | [
"Apache-2.0"
] | null | null | null | src/python/pants/backend/python/lint/bandit/register.py | revl/pants | 8ad83e4ca80c095d44efceafd8b41e575da39c65 | [
"Apache-2.0"
] | null | null | null | src/python/pants/backend/python/lint/bandit/register.py | revl/pants | 8ad83e4ca80c095d44efceafd8b41e575da39c65 | [
"Apache-2.0"
] | null | null | null | # Copyright 2020 Pants project contributors (see CONTRIBUTORS.md).
# Licensed under the Apache License, Version 2.0 (see LICENSE).
from pants.backend.python.lint.bandit import rules as bandit_rules
def rules():
return bandit_rules.rules()
| 27.333333 | 66 | 0.772358 | 35 | 246 | 5.371429 | 0.714286 | 0.117021 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028436 | 0.142276 | 246 | 8 | 67 | 30.75 | 0.862559 | 0.512195 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0.333333 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
ab54bb46d07ffea77dda47287f0745bf484f5f7a | 20 | py | Python | obsman/python3-code/aukr/omal/obsv/__init__.py | psykobug/obsman | db7f6e0dbbdbb6f5f8a4e8e6fdb10460d0c4fa23 | [
"MIT"
] | null | null | null | obsman/python3-code/aukr/omal/obsv/__init__.py | psykobug/obsman | db7f6e0dbbdbb6f5f8a4e8e6fdb10460d0c4fa23 | [
"MIT"
] | 2 | 2021-01-29T18:25:55.000Z | 2021-09-02T11:27:13.000Z | obsman/python3-code/aukr/omal/obsv/__init__.py | psykobug/obsman | db7f6e0dbbdbb6f5f8a4e8e6fdb10460d0c4fa23 | [
"MIT"
] | null | null | null | from .obsv import *
| 10 | 19 | 0.7 | 3 | 20 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 20 | 1 | 20 | 20 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
db487d06c3d2c7eeb4080cf56cad52cc34b5d54c | 4,250 | py | Python | tests/contrib/flask_cache/test_utils.py | zhammer/dd-trace-py | 4c30f6e36bfa34a63cd9b6884677c977f76d2a01 | [
"Apache-2.0",
"BSD-3-Clause"
] | 5 | 2020-03-07T01:12:29.000Z | 2021-04-21T00:53:19.000Z | tests/contrib/flask_cache/test_utils.py | zhammer/dd-trace-py | 4c30f6e36bfa34a63cd9b6884677c977f76d2a01 | [
"Apache-2.0",
"BSD-3-Clause"
] | 4 | 2019-11-22T20:58:01.000Z | 2020-08-17T21:16:13.000Z | tests/contrib/flask_cache/test_utils.py | zhammer/dd-trace-py | 4c30f6e36bfa34a63cd9b6884677c977f76d2a01 | [
"Apache-2.0",
"BSD-3-Clause"
] | 3 | 2020-03-18T16:29:20.000Z | 2020-07-20T16:05:10.000Z | import unittest
# project
from ddtrace.tracer import Tracer
from ddtrace.contrib.flask_cache import get_traced_cache
from ddtrace.contrib.flask_cache.utils import _extract_conn_tags, _resource_from_cache_prefix
# 3rd party
from flask import Flask
# testing
from ..config import REDIS_CONFIG, MEMCACHED_CONFIG
class ... | 38.288288 | 102 | 0.638824 | 487 | 4,250 | 5.25462 | 0.131417 | 0.081673 | 0.068777 | 0.056272 | 0.831184 | 0.799531 | 0.789762 | 0.789762 | 0.765924 | 0.765924 | 0 | 0.008291 | 0.262118 | 4,250 | 110 | 103 | 38.636364 | 0.807717 | 0.109882 | 0 | 0.583333 | 0 | 0 | 0.113618 | 0.012211 | 0 | 0 | 0 | 0 | 0.071429 | 1 | 0.071429 | false | 0 | 0.071429 | 0 | 0.166667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
db4a7bd279058f80c25edf92f4578e74171ab53c | 42 | py | Python | CodingBat/Python/String-1 > without_end.py | JLJTECH/TutorialTesting | f2dbbd49a86b3b086d0fc156ac3369fb74727f86 | [
"MIT"
] | null | null | null | CodingBat/Python/String-1 > without_end.py | JLJTECH/TutorialTesting | f2dbbd49a86b3b086d0fc156ac3369fb74727f86 | [
"MIT"
] | null | null | null | CodingBat/Python/String-1 > without_end.py | JLJTECH/TutorialTesting | f2dbbd49a86b3b086d0fc156ac3369fb74727f86 | [
"MIT"
] | null | null | null | def without_end(str):
return str[1:-1]
| 10.5 | 21 | 0.666667 | 8 | 42 | 3.375 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.057143 | 0.166667 | 42 | 3 | 22 | 14 | 0.714286 | 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 |
db6504e3d06213190d8f351ecabad64722f90a1a | 362 | py | Python | wradvis/__init__.py | wradlib/wradvis | 25aafc7281a79796096034bba5f35dfc289861c0 | [
"MIT"
] | 1 | 2020-06-07T21:23:55.000Z | 2020-06-07T21:23:55.000Z | wradvis/__init__.py | wradlib/wradvis | 25aafc7281a79796096034bba5f35dfc289861c0 | [
"MIT"
] | 18 | 2016-09-01T14:41:43.000Z | 2018-08-03T16:07:11.000Z | wradvis/__init__.py | wradlib/wradvis | 25aafc7281a79796096034bba5f35dfc289861c0 | [
"MIT"
] | 2 | 2016-09-01T13:55:27.000Z | 2016-09-01T14:47:50.000Z | # -*- coding: utf-8 -*-
# -----------------------------------------------------------------------------
# Copyright (c) 2016, wradlib Development Team. All Rights Reserved.
# Distributed under the MIT License. See LICENSE.txt for more info.
# -----------------------------------------------------------------------------... | 40.222222 | 79 | 0.39779 | 30 | 362 | 4.8 | 0.966667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015385 | 0.10221 | 362 | 8 | 80 | 45.25 | 0.427692 | 0.911602 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
db7ba8dcaf2246a808eff188e60cf624855d02e6 | 368 | py | Python | terrascript/provider/sdm.py | mjuenema/python-terrascript | 6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d | [
"BSD-2-Clause"
] | 507 | 2017-07-26T02:58:38.000Z | 2022-01-21T12:35:13.000Z | terrascript/provider/sdm.py | mjuenema/python-terrascript | 6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d | [
"BSD-2-Clause"
] | 135 | 2017-07-20T12:01:59.000Z | 2021-10-04T22:25:40.000Z | terrascript/provider/sdm.py | mjuenema/python-terrascript | 6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d | [
"BSD-2-Clause"
] | 81 | 2018-02-20T17:55:28.000Z | 2022-01-31T07:08:40.000Z | # terrascript/provider/sdm.py
# Automatically generated by tools/makecode.py (24-Sep-2021 15:26:26 UTC)
#
# For imports without namespace, e.g.
#
# >>> import terrascript.provider.sdm
#
# instead of
#
# >>> import terrascript.provider.strongdm.sdm
#
# This is only available for 'official' and 'partner' providers.
... | 24.533333 | 73 | 0.736413 | 49 | 368 | 5.530612 | 0.693878 | 0.280443 | 0.162362 | 0.221402 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037855 | 0.138587 | 368 | 14 | 74 | 26.285714 | 0.817035 | 0.798913 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
db98b98b5ed03da58d033a508d383bdae07ed4ba | 123 | py | Python | regym/networks/servers/__init__.py | Danielhp95/Regym | f0f0be0ad23bf1a3410ecd9ed9b8025947d6080a | [
"MIT"
] | 6 | 2019-12-03T21:07:12.000Z | 2021-03-25T13:09:39.000Z | regym/networks/servers/__init__.py | Danielhp95/Generalized-RL-Self-Play-Framework | 64e02e143070ca6eb8bc8f898c431f59cd229341 | [
"MIT"
] | 1 | 2019-01-29T18:43:32.000Z | 2019-01-31T17:31:39.000Z | regym/networks/servers/__init__.py | Danielhp95/Regym | f0f0be0ad23bf1a3410ecd9ed9b8025947d6080a | [
"MIT"
] | 4 | 2019-08-01T10:29:41.000Z | 2021-12-06T21:44:30.000Z | from .neural_net_server import neural_net_server, NeuralNetServerHandler
from .utils import request_prediction_from_server
| 41 | 72 | 0.902439 | 16 | 123 | 6.5 | 0.5625 | 0.173077 | 0.288462 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.073171 | 123 | 2 | 73 | 61.5 | 0.912281 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
dbcaa52e484acb0fa00d3d2a015926c320c5bd96 | 30 | py | Python | tests/baz/dom/expatbuilder.py | mccredie/bbfreeze | c74223318826ebd1a19aed15cba5641055ff0187 | [
"Zlib",
"MIT"
] | 33 | 2015-01-25T18:30:31.000Z | 2021-03-17T08:53:29.000Z | tests/baz/dom/expatbuilder.py | mccredie/bbfreeze | c74223318826ebd1a19aed15cba5641055ff0187 | [
"Zlib",
"MIT"
] | 8 | 2015-10-30T07:07:41.000Z | 2017-06-30T16:55:40.000Z | tests/baz/dom/expatbuilder.py | mccredie/bbfreeze | c74223318826ebd1a19aed15cba5641055ff0187 | [
"Zlib",
"MIT"
] | 17 | 2015-03-11T09:38:29.000Z | 2022-01-06T23:19:48.000Z | from baz.parsers import expat
| 15 | 29 | 0.833333 | 5 | 30 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 30 | 1 | 30 | 30 | 0.961538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9173be95e8dd1d059a26496dc5d5340cf6734ebc | 3,469 | py | Python | api/tests/test_company_profile_advantages.py | matchd-ch/matchd-backend | 84be4aab1b4708cae50a8988301b15df877c8db0 | [
"Apache-2.0"
] | 1 | 2022-03-03T09:55:57.000Z | 2022-03-03T09:55:57.000Z | api/tests/test_company_profile_advantages.py | matchd-ch/matchd-backend | 84be4aab1b4708cae50a8988301b15df877c8db0 | [
"Apache-2.0"
] | 7 | 2022-02-09T10:44:53.000Z | 2022-03-28T03:29:43.000Z | api/tests/test_company_profile_advantages.py | matchd-ch/matchd-backend | 84be4aab1b4708cae50a8988301b15df877c8db0 | [
"Apache-2.0"
] | null | null | null | import pytest
from django.contrib.auth import get_user_model
from django.contrib.auth.models import AnonymousUser
from db.models import Branch, Benefit
@pytest.mark.django_db
def test_advantages(login, user_employee, company_advantages, branch_objects, benefit_objects):
user_employee.company.profile_step = 3
... | 37.706522 | 95 | 0.738541 | 446 | 3,469 | 5.55157 | 0.116592 | 0.096931 | 0.073506 | 0.072698 | 0.859855 | 0.810985 | 0.766963 | 0.707997 | 0.674071 | 0.649435 | 0 | 0.005913 | 0.171231 | 3,469 | 91 | 96 | 38.120879 | 0.855304 | 0 | 0 | 0.611111 | 0 | 0 | 0.096281 | 0.076103 | 0 | 0 | 0 | 0 | 0.458333 | 1 | 0.069444 | false | 0 | 0.055556 | 0 | 0.125 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
918ba94f45677b504ffa88516addc078103c2043 | 192 | py | Python | pytorch_feature_decoupling/algorithms/__init__.py | abeSanchez/FeatureDecoupling | 2a5ace5d057714b0b8657c75f1cff41e779b0ba4 | [
"MIT"
] | null | null | null | pytorch_feature_decoupling/algorithms/__init__.py | abeSanchez/FeatureDecoupling | 2a5ace5d057714b0b8657c75f1cff41e779b0ba4 | [
"MIT"
] | null | null | null | pytorch_feature_decoupling/algorithms/__init__.py | abeSanchez/FeatureDecoupling | 2a5ace5d057714b0b8657c75f1cff41e779b0ba4 | [
"MIT"
] | null | null | null | from .Algorithm import *
from .DecouplingModel import DecouplingModel
from .DecouplingColorModel import DecouplingColorModel
from .FeatureClassificationModel import FeatureClassificationModel
| 38.4 | 66 | 0.890625 | 15 | 192 | 11.4 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 192 | 4 | 67 | 48 | 0.971591 | 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 |
726c61c2286f4e4b577cb0cc5fee3e40af44adec | 223 | py | Python | packages/Mock/GlobalObjectManager/GlobalObjectSignals.py | tommo/gii | 03624a57cf74a07e38bfdc7f53c50bd926b7b5a7 | [
"MIT"
] | 7 | 2016-02-13T18:47:23.000Z | 2020-07-03T13:47:49.000Z | packages/Mock/GlobalObjectManager/GlobalObjectSignals.py | tommo/gii | 03624a57cf74a07e38bfdc7f53c50bd926b7b5a7 | [
"MIT"
] | 1 | 2018-06-13T04:55:27.000Z | 2021-11-05T05:52:51.000Z | packages/Mock/GlobalObjectManager/GlobalObjectSignals.py | tommo/gii | 03624a57cf74a07e38bfdc7f53c50bd926b7b5a7 | [
"MIT"
] | 4 | 2016-02-15T13:32:46.000Z | 2019-12-12T17:22:31.000Z | from gii.core import app, signals
signals.register ( 'global_object.added' )
signals.register ( 'global_object.removed' )
signals.register ( 'global_object.renamed' )
# signals.register ( 'global_object.modified' )
| 31.857143 | 47 | 0.744395 | 26 | 223 | 6.230769 | 0.5 | 0.37037 | 0.518519 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.134529 | 223 | 6 | 48 | 37.166667 | 0.839378 | 0.201794 | 0 | 0 | 0 | 0 | 0.346591 | 0.238636 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.25 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
72787fa86a3638fcd52b2fad33da242949dd69e1 | 106 | py | Python | demo/with_wsgi/ops/hello.py | marco-souza/falsy | 0dd6f792061ee833f308372f0204dea0ad9bf2d1 | [
"MIT"
] | 127 | 2017-01-05T14:55:50.000Z | 2022-02-01T06:02:49.000Z | demo/with_wsgi/ops/hello.py | marco-souza/falsy | 0dd6f792061ee833f308372f0204dea0ad9bf2d1 | [
"MIT"
] | 9 | 2017-03-08T21:38:16.000Z | 2022-02-01T06:44:09.000Z | demo/with_wsgi/ops/hello.py | marco-souza/falsy | 0dd6f792061ee833f308372f0204dea0ad9bf2d1 | [
"MIT"
] | 26 | 2017-01-12T08:56:15.000Z | 2022-02-01T06:02:52.000Z | import falcon
def get_it():
return "<h1 style='color:blue'>Hello Falsy!</h1>", falcon.HTTP_200
| 9.636364 | 70 | 0.650943 | 16 | 106 | 4.1875 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.05814 | 0.188679 | 106 | 10 | 71 | 10.6 | 0.72093 | 0 | 0 | 0 | 0 | 0 | 0.39604 | 0.237624 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
72c16ff6606a2523c71536f151dda51eb2f91f52 | 159 | py | Python | src/stackoverflow/66641783/grab_api_tokens.py | mrdulin/python-codelab | 3d960a14a96b3a673b7dc2277d202069b1f8e778 | [
"MIT"
] | null | null | null | src/stackoverflow/66641783/grab_api_tokens.py | mrdulin/python-codelab | 3d960a14a96b3a673b7dc2277d202069b1f8e778 | [
"MIT"
] | null | null | null | src/stackoverflow/66641783/grab_api_tokens.py | mrdulin/python-codelab | 3d960a14a96b3a673b7dc2277d202069b1f8e778 | [
"MIT"
] | 3 | 2020-02-19T08:02:04.000Z | 2021-06-08T13:27:51.000Z | class GrabApiTokens():
def __init__(self, site_one, site_two) -> None:
self.login_to_site_one = site_one
self.login_to_site_two = site_two
| 31.8 | 51 | 0.698113 | 24 | 159 | 4.041667 | 0.458333 | 0.216495 | 0.226804 | 0.309278 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.213836 | 159 | 4 | 52 | 39.75 | 0.776 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f4057b0adc0bcdebb5a840d0ad5c56c99c9a9c7c | 104 | py | Python | localstack/services/s3control/provider.py | matt-mercer/localstack | b69ba25e495c6ef889d33a050b216d0cd1035041 | [
"Apache-2.0"
] | null | null | null | localstack/services/s3control/provider.py | matt-mercer/localstack | b69ba25e495c6ef889d33a050b216d0cd1035041 | [
"Apache-2.0"
] | null | null | null | localstack/services/s3control/provider.py | matt-mercer/localstack | b69ba25e495c6ef889d33a050b216d0cd1035041 | [
"Apache-2.0"
] | null | null | null | from localstack.aws.api.s3control import S3ControlApi
class S3ControlProvider(S3ControlApi):
pass
| 17.333333 | 53 | 0.817308 | 11 | 104 | 7.727273 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043956 | 0.125 | 104 | 5 | 54 | 20.8 | 0.89011 | 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 |
f411d6e347b8df7e955473cda39c4ce5dffb036b | 28 | py | Python | default/urls.py | clouserw/olympia | 1d5755b08a526372ec66e6bc64ab636018181969 | [
"BSD-3-Clause"
] | 1 | 2017-07-14T19:22:39.000Z | 2017-07-14T19:22:39.000Z | default/urls.py | clouserw/olympia | 1d5755b08a526372ec66e6bc64ab636018181969 | [
"BSD-3-Clause"
] | 6 | 2021-02-02T23:08:48.000Z | 2021-09-08T02:47:17.000Z | default/urls.py | clouserw/olympia | 1d5755b08a526372ec66e6bc64ab636018181969 | [
"BSD-3-Clause"
] | 1 | 2021-03-13T00:33:12.000Z | 2021-03-13T00:33:12.000Z | from lib.urls_base import *
| 14 | 27 | 0.785714 | 5 | 28 | 4.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 28 | 1 | 28 | 28 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f4196f38cea62371bea8e612a5b32ce616206830 | 7 | py | Python | test_data/parse_retree/unexpected/unterminated/character_set/source.py | aas-core-works/aas-core-codegen | afec2cf363b6cb69816e7724a2b58626e2165869 | [
"MIT"
] | 5 | 2021-12-29T12:55:34.000Z | 2022-03-01T17:57:21.000Z | test_data/parse_retree/unexpected/unterminated/character_set/source.py | aas-core-works/aas-core-codegen | afec2cf363b6cb69816e7724a2b58626e2165869 | [
"MIT"
] | 10 | 2021-12-29T02:15:55.000Z | 2022-03-09T11:04:22.000Z | test_data/parse_retree/unexpected/unterminated/character_set/source.py | aas-core-works/aas-core-codegen | afec2cf363b6cb69816e7724a2b58626e2165869 | [
"MIT"
] | 2 | 2021-12-29T01:42:12.000Z | 2022-02-15T13:46:33.000Z | "[a-z"
| 3.5 | 6 | 0.285714 | 2 | 7 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 7 | 1 | 7 | 7 | 0.333333 | 0.571429 | 0 | 0 | 0 | 0 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f425705f32ad39f4584b525f851f707df7f2d582 | 28,955 | py | Python | src/register_experiments.py | charleswilmot/Contrastive_DPG | e63f3251ea2501ca8416a0c57d12fff9df4ef039 | [
"BSD-2-Clause"
] | null | null | null | src/register_experiments.py | charleswilmot/Contrastive_DPG | e63f3251ea2501ca8416a0c57d12fff9df4ef039 | [
"BSD-2-Clause"
] | null | null | null | src/register_experiments.py | charleswilmot/Contrastive_DPG | e63f3251ea2501ca8416a0c57d12fff9df4ef039 | [
"BSD-2-Clause"
] | null | null | null | from database import Database
from copy import deepcopy
k = 1.15
SQRT2 = 1.41421356237
SAFETY = 2
minmax_factor = 1.5
dmin2 = 0.6
dmax2 = dmin2 * minmax_factor
dmin1 = SAFETY * SQRT2 * (dmax2)
dmax1 = dmin1 * minmax_factor
dmin0 = SAFETY * SQRT2 * (dmax1 + dmax2)
dmax0 = dmin0 * minmax_factor
hierarchization_config... | 37.36129 | 159 | 0.655638 | 3,820 | 28,955 | 4.586387 | 0.059424 | 0.01153 | 0.008562 | 0.037443 | 0.863927 | 0.835274 | 0.805765 | 0.766667 | 0.722032 | 0.701256 | 0 | 0.09115 | 0.219099 | 28,955 | 774 | 160 | 37.409561 | 0.683694 | 0.014678 | 0 | 0.593949 | 0 | 0 | 0.305917 | 0.169724 | 0 | 0 | 0 | 0 | 0 | 1 | 0.035032 | false | 0.003185 | 0.007962 | 0 | 0.042994 | 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 |
f4835650ad0cf307d33b9af92306e2ecbcd3b78b | 256 | py | Python | tests/test_utils/__init__.py | delmalih/few-shots-classification | 8b06ff673882fd0d8b99cd705e5e5fab0ec93fb3 | [
"MIT"
] | null | null | null | tests/test_utils/__init__.py | delmalih/few-shots-classification | 8b06ff673882fd0d8b99cd705e5e5fab0ec93fb3 | [
"MIT"
] | null | null | null | tests/test_utils/__init__.py | delmalih/few-shots-classification | 8b06ff673882fd0d8b99cd705e5e5fab0ec93fb3 | [
"MIT"
] | null | null | null | ##########################
# Imports
##########################
import os
from tests import TEST_DIRECTORY_PATH as DIR_PATH
##########################
# Constants
##########################
TEST_DIRECTORY_PATH = os.path.join(DIR_PATH, "test_utils")
| 15.058824 | 58 | 0.449219 | 23 | 256 | 4.695652 | 0.565217 | 0.240741 | 0.314815 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105469 | 256 | 16 | 59 | 16 | 0.471616 | 0.066406 | 0 | 0 | 0 | 0 | 0.075758 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f4876c00c39ad063d56f9aedbf6ef103e90da85c | 153 | py | Python | src/views/display_title.py | lucas54neves/financial-manager | 89be34ad34a33490dc7ebb421b794dcb2f20d9b1 | [
"MIT"
] | null | null | null | src/views/display_title.py | lucas54neves/financial-manager | 89be34ad34a33490dc7ebb421b794dcb2f20d9b1 | [
"MIT"
] | null | null | null | src/views/display_title.py | lucas54neves/financial-manager | 89be34ad34a33490dc7ebb421b794dcb2f20d9b1 | [
"MIT"
] | null | null | null | import streamlit as st
from utils.translate_words import translate_words
def display_title(language):
st.title(translate_words("title", language))
| 21.857143 | 49 | 0.803922 | 21 | 153 | 5.666667 | 0.571429 | 0.352941 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 153 | 6 | 50 | 25.5 | 0.881481 | 0 | 0 | 0 | 0 | 0 | 0.03268 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
be48457f468f5358ac42fe01fff6009c755dc5e7 | 189 | py | Python | useful/creator/__init__.py | velebit-ai/useful-creator | 70e153599c678db55900ad2b9aa8734a06c528a3 | [
"MIT"
] | 3 | 2019-12-18T15:07:50.000Z | 2020-01-21T19:55:23.000Z | useful/creator/__init__.py | velebit-ai/useful-creator | 70e153599c678db55900ad2b9aa8734a06c528a3 | [
"MIT"
] | null | null | null | useful/creator/__init__.py | velebit-ai/useful-creator | 70e153599c678db55900ad2b9aa8734a06c528a3 | [
"MIT"
] | null | null | null | from useful.creator._creators import BaseCreator # noqa
from useful.creator._creators import RegistryCreator, GenericCreator # noqa
from useful.creator.version import __version__ # noqa
| 47.25 | 76 | 0.830688 | 22 | 189 | 6.863636 | 0.454545 | 0.198676 | 0.337748 | 0.331126 | 0.410596 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116402 | 189 | 3 | 77 | 63 | 0.904192 | 0.074074 | 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 |
be5f0c60b328884c59cd93143eb14ba51fd65034 | 5,134 | py | Python | thor/orbits/tests/test_kepler.py | B612-Asteroid-Institute/thor | d3d1dcbe86f67a62c90b4cde3fc577e414825cf2 | [
"BSD-3-Clause"
] | null | null | null | thor/orbits/tests/test_kepler.py | B612-Asteroid-Institute/thor | d3d1dcbe86f67a62c90b4cde3fc577e414825cf2 | [
"BSD-3-Clause"
] | null | null | null | thor/orbits/tests/test_kepler.py | B612-Asteroid-Institute/thor | d3d1dcbe86f67a62c90b4cde3fc577e414825cf2 | [
"BSD-3-Clause"
] | null | null | null | import numpy as np
import warnings
from astropy.time import Time
from astropy import units as u
from ...constants import Constants as c
from ...utils import getHorizonsVectors
from ...utils import getHorizonsElements
from ...testing import testOrbits
from ..kepler import convertOrbitalElements
from ..kepler import _co... | 31.115152 | 116 | 0.675497 | 584 | 5,134 | 5.791096 | 0.222603 | 0.062093 | 0.068007 | 0.024837 | 0.801892 | 0.801892 | 0.797161 | 0.797161 | 0.797161 | 0.797161 | 0 | 0.020225 | 0.23919 | 5,134 | 164 | 117 | 31.304878 | 0.845622 | 0.288859 | 0 | 0.606838 | 0 | 0 | 0.094466 | 0.011738 | 0 | 0 | 0 | 0 | 0 | 1 | 0.025641 | false | 0 | 0.094017 | 0 | 0.145299 | 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 |
be878f796efbc4d57181dd35b507d33001bf2c79 | 1,665 | py | Python | tests/test_plugins.py | mikegribov/filedjson | ee9f8408edcf8a72b8ed415237789a602ee6b579 | [
"MIT"
] | null | null | null | tests/test_plugins.py | mikegribov/filedjson | ee9f8408edcf8a72b8ed415237789a602ee6b579 | [
"MIT"
] | null | null | null | tests/test_plugins.py | mikegribov/filedjson | ee9f8408edcf8a72b8ed415237789a602ee6b579 | [
"MIT"
] | null | null | null | import os
import traceback
from ..xjson import XJson
def check_same_structure(name, ext):
json = XJson(os.path.join("examples", "single_file_" + name + ".json"))
plugin = XJson(os.path.join("examples", "single_file_" + name + "." + ext))
assert json.structure != {} and json.structure == plugin.str... | 23.125 | 80 | 0.717718 | 241 | 1,665 | 4.39834 | 0.13278 | 0.178302 | 0.356604 | 0.358491 | 0.778302 | 0.754717 | 0.754717 | 0.728302 | 0.658491 | 0.466981 | 0 | 0.002926 | 0.178979 | 1,665 | 72 | 81 | 23.125 | 0.772495 | 0 | 0 | 0.375 | 0 | 0 | 0.030094 | 0 | 0 | 0 | 0 | 0 | 0.020833 | 1 | 0.416667 | false | 0 | 0.0625 | 0 | 0.479167 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
be8e89fc0f4d6123bf3b0f48b0f6b900b2cf8741 | 23 | py | Python | nanapy/__init__.py | nanato12/nanapy | 274de90c54dfad3b7ea9078efa43e85e62955dbb | [
"MIT"
] | null | null | null | nanapy/__init__.py | nanato12/nanapy | 274de90c54dfad3b7ea9078efa43e85e62955dbb | [
"MIT"
] | null | null | null | nanapy/__init__.py | nanato12/nanapy | 274de90c54dfad3b7ea9078efa43e85e62955dbb | [
"MIT"
] | null | null | null | from .nana import Nana
| 11.5 | 22 | 0.782609 | 4 | 23 | 4.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 23 | 1 | 23 | 23 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
be9fa715b195e72d9b91fa8108f731aa480b732d | 48 | py | Python | nilmtk/version.py | Agirljustsayhello/nilmtk | bf985f0f637460bd8df3bb1cbf17b81a20303826 | [
"Apache-2.0"
] | 1 | 2021-11-04T05:10:58.000Z | 2021-11-04T05:10:58.000Z | nilmtk/version.py | Agirljustsayhello/nilmtk | bf985f0f637460bd8df3bb1cbf17b81a20303826 | [
"Apache-2.0"
] | null | null | null | nilmtk/version.py | Agirljustsayhello/nilmtk | bf985f0f637460bd8df3bb1cbf17b81a20303826 | [
"Apache-2.0"
] | 1 | 2019-10-12T16:02:05.000Z | 2019-10-12T16:02:05.000Z |
version = '0.2.0.dev-'
short_version = '0.2.0'
| 12 | 23 | 0.604167 | 10 | 48 | 2.8 | 0.5 | 0.571429 | 0.642857 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146341 | 0.145833 | 48 | 3 | 24 | 16 | 0.536585 | 0 | 0 | 0 | 0 | 0 | 0.319149 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
fe3d5464a27091df7c5232f4f0af879cc22ae53d | 2,009 | py | Python | tests/language/test_block_string_value.py | patrys/graphql-core-next | f6b078bddae4dd8a48ebf878a6fd5fbbac52bd1b | [
"MIT"
] | null | null | null | tests/language/test_block_string_value.py | patrys/graphql-core-next | f6b078bddae4dd8a48ebf878a6fd5fbbac52bd1b | [
"MIT"
] | 3 | 2021-03-20T05:19:34.000Z | 2021-06-02T03:27:28.000Z | tests/language/test_block_string_value.py | patrys/graphql-core-next | f6b078bddae4dd8a48ebf878a6fd5fbbac52bd1b | [
"MIT"
] | null | null | null | from graphql.language.block_string_value import block_string_value
def join(*args):
return "\n".join(args)
def describe_block_string_value():
def removes_uniform_indentation_from_a_string():
raw_value = join(
"", " Hello,", " World!", "", " Yours,", " GraphQL."
)
... | 28.7 | 85 | 0.392235 | 145 | 2,009 | 5.089655 | 0.241379 | 0.108401 | 0.162602 | 0.230352 | 0.707317 | 0.707317 | 0.707317 | 0.707317 | 0.707317 | 0.707317 | 0 | 0 | 0.462917 | 2,009 | 69 | 86 | 29.115942 | 0.683967 | 0 | 0 | 0.672131 | 0 | 0 | 0.243902 | 0 | 0 | 0 | 0 | 0 | 0.081967 | 1 | 0.114754 | false | 0 | 0.016393 | 0.016393 | 0.147541 | 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 |
fe70e433425eb82b3c8e6f1d72108a348f51331a | 323 | py | Python | bitmovin_api_sdk/encoding/configurations/audio/mp3/__init__.py | jaythecaesarean/bitmovin-api-sdk-python | 48166511fcb9082041c552ace55a9b66cc59b794 | [
"MIT"
] | 11 | 2019-07-03T10:41:16.000Z | 2022-02-25T21:48:06.000Z | bitmovin_api_sdk/encoding/configurations/audio/mp3/__init__.py | jaythecaesarean/bitmovin-api-sdk-python | 48166511fcb9082041c552ace55a9b66cc59b794 | [
"MIT"
] | 8 | 2019-11-23T00:01:25.000Z | 2021-04-29T12:30:31.000Z | bitmovin_api_sdk/encoding/configurations/audio/mp3/__init__.py | jaythecaesarean/bitmovin-api-sdk-python | 48166511fcb9082041c552ace55a9b66cc59b794 | [
"MIT"
] | 13 | 2020-01-02T14:58:18.000Z | 2022-03-26T12:10:30.000Z | from bitmovin_api_sdk.encoding.configurations.audio.mp3.mp3_api import Mp3Api
from bitmovin_api_sdk.encoding.configurations.audio.mp3.customdata.customdata_api import CustomdataApi
from bitmovin_api_sdk.encoding.configurations.audio.mp3.mp3_audio_configuration_list_query_params import Mp3AudioConfigurationListQueryPara... | 80.75 | 141 | 0.913313 | 41 | 323 | 6.878049 | 0.414634 | 0.12766 | 0.159574 | 0.191489 | 0.531915 | 0.531915 | 0.531915 | 0.531915 | 0.361702 | 0 | 0 | 0.022508 | 0.037152 | 323 | 3 | 142 | 107.666667 | 0.884244 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
fe928fe46f9c992893cd15531c7828f8ff9d402a | 269 | py | Python | django_fab_deployer/exceptions.py | illagrenan/fab-django-deploy | 2ef8eb0013ccc484665d21760a319e2c15129ca7 | [
"MIT"
] | null | null | null | django_fab_deployer/exceptions.py | illagrenan/fab-django-deploy | 2ef8eb0013ccc484665d21760a319e2c15129ca7 | [
"MIT"
] | 1 | 2015-06-29T12:09:45.000Z | 2015-10-07T08:49:42.000Z | django_fab_deployer/exceptions.py | illagrenan/fab-django-deploy | 2ef8eb0013ccc484665d21760a319e2c15129ca7 | [
"MIT"
] | 1 | 2015-12-09T09:08:01.000Z | 2015-12-09T09:08:01.000Z | # -*- encoding: utf-8 -*-
# ! python2
from __future__ import (absolute_import, division, print_function, unicode_literals)
class InvalidConfiguration(Exception):
pass
class MissingConfiguration(Exception):
pass
class FabricException(Exception):
pass
| 15.823529 | 84 | 0.747212 | 26 | 269 | 7.461538 | 0.730769 | 0.201031 | 0.185567 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00885 | 0.159851 | 269 | 16 | 85 | 16.8125 | 0.849558 | 0.122677 | 0 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.428571 | 0.142857 | 0 | 0.571429 | 0.142857 | 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 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
fe979623aab9944e6927f9b59484a40f6fc17494 | 4,127 | py | Python | card.py | sagarhm/NeuKivy | 2f116e332c0b49ad7d1ed3210fff0085375fd899 | [
"MIT"
] | null | null | null | card.py | sagarhm/NeuKivy | 2f116e332c0b49ad7d1ed3210fff0085375fd899 | [
"MIT"
] | null | null | null | card.py | sagarhm/NeuKivy | 2f116e332c0b49ad7d1ed3210fff0085375fd899 | [
"MIT"
] | null | null | null | from kivy.lang import Builder
from kivy.properties import ListProperty, NumericProperty
from kivy.uix.boxlayout import BoxLayout
from kivy.uix.anchorlayout import AnchorLayout
from neukivy.uix.behaviors.neumorph import (
NeuMorphCircular,
NeuMorphRectangle,
NeuMorphRoundedRectangle,
)
from neukivy.uix.behav... | 28.462069 | 90 | 0.619578 | 495 | 4,127 | 5.018182 | 0.133333 | 0.021739 | 0.021739 | 0.068841 | 0.770531 | 0.770531 | 0.761675 | 0.761675 | 0.761675 | 0.761675 | 0 | 0.033367 | 0.281076 | 4,127 | 145 | 91 | 28.462069 | 0.803842 | 0 | 0 | 0.583333 | 0 | 0 | 0.008409 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.083333 | false | 0 | 0.166667 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
22962c1d3a9c7f92b9a64a4b62da5d34a5083de6 | 239 | py | Python | utils/security.py | Shaid3r/reservations | 43e17ae88eed74593879f9f8c5a9bed7252888f7 | [
"MIT"
] | null | null | null | utils/security.py | Shaid3r/reservations | 43e17ae88eed74593879f9f8c5a9bed7252888f7 | [
"MIT"
] | null | null | null | utils/security.py | Shaid3r/reservations | 43e17ae88eed74593879f9f8c5a9bed7252888f7 | [
"MIT"
] | null | null | null | import bcrypt
from config.settings import SECRET
def hash_password(raw_pass):
return bcrypt.hashpw(raw_pass.encode('utf-8'), SECRET)
def check_password(raw_pass, hashed):
return bcrypt.checkpw(raw_pass.encode('utf-8'), hashed)
| 21.727273 | 59 | 0.761506 | 36 | 239 | 4.888889 | 0.527778 | 0.159091 | 0.170455 | 0.181818 | 0.193182 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009524 | 0.121339 | 239 | 10 | 60 | 23.9 | 0.828571 | 0 | 0 | 0 | 0 | 0 | 0.041841 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.666667 | 0.333333 | 0.333333 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 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 | 1 | 1 | 1 | 0 | 0 | 6 |
a3b55fad75719dfb0eb7beb8866cebcb64811855 | 262 | py | Python | __init__.py | philip-karlsson/aerojump | 7a7f558adb2b443ac09599f3ab297e5006fd7335 | [
"MIT"
] | null | null | null | __init__.py | philip-karlsson/aerojump | 7a7f558adb2b443ac09599f3ab297e5006fd7335 | [
"MIT"
] | null | null | null | __init__.py | philip-karlsson/aerojump | 7a7f558adb2b443ac09599f3ab297e5006fd7335 | [
"MIT"
] | null | null | null | # ============================================================================
# FILE: __init__.py
# AUTHOR: Philip Karlsson Gisslow <philipkarlsson at me.com>
# License: MIT license
# ============================================================================
| 43.666667 | 78 | 0.301527 | 14 | 262 | 5.357143 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.072519 | 262 | 5 | 79 | 52.4 | 0.308642 | 0.958015 | 0 | null | 0 | null | 0 | 0 | null | 1 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a3b5bb46f29e7eb7aed285aba686e6d53196b70e | 28,892 | py | Python | Program/DPDP/dpdp/dp/graph.py | italogs/HGS-CVRP | 24b3e7b8525f4b2b2de69fd162bd10bedb39e51f | [
"MIT"
] | null | null | null | Program/DPDP/dpdp/dp/graph.py | italogs/HGS-CVRP | 24b3e7b8525f4b2b2de69fd162bd10bedb39e51f | [
"MIT"
] | null | null | null | Program/DPDP/dpdp/dp/graph.py | italogs/HGS-CVRP | 24b3e7b8525f4b2b2de69fd162bd10bedb39e51f | [
"MIT"
] | 1 | 2021-06-09T12:55:19.000Z | 2021-06-09T12:55:19.000Z | import math
import torch
import torch.nn.functional as F
from utils.mask_utils import packmask
from utils.scatter_utils import csr_to_counts, counts_to_csr, csr_to_coo, coo_to_csr
class MergedGraph:
"""
Class that combines multiple graphs into a single batch object, by padding smaller graphs to the largest g... | 49.728055 | 173 | 0.633601 | 4,166 | 28,892 | 4.110898 | 0.06121 | 0.045545 | 0.021897 | 0.021021 | 0.876212 | 0.843396 | 0.813325 | 0.796917 | 0.791253 | 0.786932 | 0 | 0.013717 | 0.26824 | 28,892 | 580 | 174 | 49.813793 | 0.79633 | 0.160979 | 0 | 0.580189 | 0 | 0 | 0.038637 | 0.00294 | 0 | 0 | 0 | 0 | 0.089623 | 1 | 0.056604 | false | 0 | 0.011792 | 0.03066 | 0.143868 | 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 |
4a54108ea016d84628cc5ca904f2ee47fa3f5ffc | 15,472 | py | Python | tests/test_widgets_grids.py | nakagami/reportlab | 0514ba380fe66c76746725cc0c1b7a3fee51c833 | [
"BSD-3-Clause"
] | 9 | 2016-12-21T02:19:24.000Z | 2021-08-07T11:39:47.000Z | tests/test_widgets_grids.py | nakagami/reportlab | 0514ba380fe66c76746725cc0c1b7a3fee51c833 | [
"BSD-3-Clause"
] | null | null | null | tests/test_widgets_grids.py | nakagami/reportlab | 0514ba380fe66c76746725cc0c1b7a3fee51c833 | [
"BSD-3-Clause"
] | 4 | 2018-08-24T14:50:14.000Z | 2022-03-01T08:46:40.000Z | from reportlab.lib.testutils import setOutDir,makeSuiteForClasses, outputfile, printLocation
setOutDir(__name__)
import unittest
from reportlab.lib import colors
from reportlab.graphics.shapes import Drawing, Group, Line, Rect
from reportlab.graphics.widgetbase import Widget
from reportlab.graphics.widgets.grids import... | 34.079295 | 120 | 0.347402 | 1,498 | 15,472 | 3.571429 | 0.095461 | 0.04972 | 0.023925 | 0.038879 | 0.822804 | 0.798318 | 0.76 | 0.699065 | 0.699065 | 0.699065 | 0 | 0.066556 | 0.569804 | 15,472 | 453 | 121 | 34.154525 | 0.73723 | 0.051577 | 0 | 0.858561 | 0 | 0 | 0.048248 | 0.009158 | 0 | 0 | 0 | 0 | 0 | 1 | 0.019851 | false | 0.01737 | 0.019851 | 0.002481 | 0.052109 | 0.019851 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 |
437a3ba884cd7a8ab8e0a8bd62e3bbf46921b379 | 19 | py | Python | detectionModules/camera/yolo/__init__.py | Impeekay/shop-analytics-pi | 4e02068775b700da3f0e01a612fdc5cc29c85eaf | [
"MIT"
] | 1 | 2020-12-12T07:00:03.000Z | 2020-12-12T07:00:03.000Z | detectionModules/camera/yolo/__init__.py | Impeekay/shop-analytics-pi | 4e02068775b700da3f0e01a612fdc5cc29c85eaf | [
"MIT"
] | 7 | 2020-11-13T18:47:55.000Z | 2022-03-12T00:30:13.000Z | detectionModules/camera/yolo/__init__.py | Impeekay/shop-analytics-pi | 4e02068775b700da3f0e01a612fdc5cc29c85eaf | [
"MIT"
] | 3 | 2020-05-11T06:59:28.000Z | 2020-06-08T16:59:54.000Z | from . import yolo
| 9.5 | 18 | 0.736842 | 3 | 19 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.210526 | 19 | 1 | 19 | 19 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4385d2bdb75b81631a8b6f6e2a734096e7ef6fbe | 8,261 | py | Python | compute_dists_pair_InfoMUNIT.py | doantientai/PerceptualSimilarity | 5ecb832f94156ec70d880bc5d4e171159b0ea47c | [
"BSD-2-Clause"
] | null | null | null | compute_dists_pair_InfoMUNIT.py | doantientai/PerceptualSimilarity | 5ecb832f94156ec70d880bc5d4e171159b0ea47c | [
"BSD-2-Clause"
] | null | null | null | compute_dists_pair_InfoMUNIT.py | doantientai/PerceptualSimilarity | 5ecb832f94156ec70d880bc5d4e171159b0ea47c | [
"BSD-2-Clause"
] | null | null | null | import argparse
import os
import models
import numpy as np
from util import util
parser = argparse.ArgumentParser(formatter_class=argparse.ArgumentDefaultsHelpFormatter)
parser.add_argument('--use_gpu', default=True, help='turn on flag to use GPU')
# # 012_MUNIT_origin_cityscapes_64_cyc
# # parser.add_argument('-d', ... | 75.1 | 198 | 0.772425 | 1,251 | 8,261 | 4.852118 | 0.123901 | 0.05486 | 0.103624 | 0.083031 | 0.829325 | 0.817628 | 0.806425 | 0.806425 | 0.805437 | 0.805437 | 0 | 0.052719 | 0.053989 | 8,261 | 109 | 199 | 75.788991 | 0.723992 | 0.759472 | 0 | 0.052632 | 0 | 0.078947 | 0.238837 | 0.168224 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.131579 | 0 | 0.131579 | 0.078947 | 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 |
43d36b265f88e720059d1dcb61ec3b744580578a | 2,926 | py | Python | kid_readout/measurement/io/test/test_nc.py | danielflanigan/kid_readout | 07202090d468669200cab78297122880c1c03e87 | [
"BSD-2-Clause"
] | null | null | null | kid_readout/measurement/io/test/test_nc.py | danielflanigan/kid_readout | 07202090d468669200cab78297122880c1c03e87 | [
"BSD-2-Clause"
] | null | null | null | kid_readout/measurement/io/test/test_nc.py | danielflanigan/kid_readout | 07202090d468669200cab78297122880c1c03e87 | [
"BSD-2-Clause"
] | null | null | null | import os
import numpy as np
from testfixtures import TempDirectory
from kid_readout.measurement.test import utilities
from kid_readout.measurement.io import nc
def test_read_write_measurement():
with TempDirectory() as directory:
filename = 'test.nc'
io = nc.NCFile(os.path.join(directory.path, ... | 31.12766 | 82 | 0.652427 | 357 | 2,926 | 5.196078 | 0.159664 | 0.030189 | 0.081941 | 0.120755 | 0.773046 | 0.773046 | 0.743935 | 0.738005 | 0.738005 | 0.738005 | 0 | 0.005811 | 0.235475 | 2,926 | 94 | 83 | 31.12766 | 0.823424 | 0.006494 | 0 | 0.688525 | 0 | 0 | 0.051724 | 0 | 0 | 0 | 0 | 0.010638 | 0.114754 | 1 | 0.114754 | false | 0 | 0.081967 | 0 | 0.196721 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
78d76b388fb521064f3c3b75ed902c17ec181837 | 13,133 | py | Python | Python/hitohude.py | PotatoTimeKun/programming | 7a825ae037b4a39752b10563466657d879d17a5c | [
"MIT"
] | 1 | 2022-03-08T04:20:28.000Z | 2022-03-08T04:20:28.000Z | Python/hitohude.py | PotatoTimeKun/programming | 7a825ae037b4a39752b10563466657d879d17a5c | [
"MIT"
] | null | null | null | Python/hitohude.py | PotatoTimeKun/programming | 7a825ae037b4a39752b10563466657d879d17a5c | [
"MIT"
] | null | null | null | import tkinter as tk
import time as ti
import os
import pathlib as pl
if os.path.exists('C:\\hitohude\\data.txt'):
with open('C:\\hitohude\\data.txt','r')as r:
b=r.read()
else:
b='100000,100000,100000'
pl.Path('C:\\hitohude').mkdir()
with open('C:\\hitohude\\data.txt','x')as t:
... | 34.651715 | 135 | 0.41963 | 2,329 | 13,133 | 2.354229 | 0.07471 | 0.057268 | 0.046507 | 0.035747 | 0.77567 | 0.757979 | 0.72132 | 0.709283 | 0.706183 | 0.693051 | 0 | 0.177993 | 0.370289 | 13,133 | 379 | 136 | 34.651715 | 0.485006 | 0.002284 | 0 | 0.543536 | 0 | 0 | 0.075079 | 0.006918 | 0 | 0 | 0 | 0 | 0 | 1 | 0.013193 | false | 0 | 0.010554 | 0 | 0.023747 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 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 |
78de5435f071253ef139be92f03db1ad77afdce5 | 14,082 | py | Python | minimax_abpruning_batuhan.py | batuhanovski/minimax_and_abpruning | 5916367eab9f8695c2387fc7d6a31861a8f6e257 | [
"MIT"
] | null | null | null | minimax_abpruning_batuhan.py | batuhanovski/minimax_and_abpruning | 5916367eab9f8695c2387fc7d6a31861a8f6e257 | [
"MIT"
] | null | null | null | minimax_abpruning_batuhan.py | batuhanovski/minimax_and_abpruning | 5916367eab9f8695c2387fc7d6a31861a8f6e257 | [
"MIT"
] | null | null | null | import copy
from statistics import mean,mode
import sys
search_type=sys.argv[1]
f = open(sys.argv[2], "r")
n_actions=int(sys.argv[3])
#f = open("io/init_file1.txt", "r")
#n_actions=2
# DOWN - X+++ , RIGHT - Y+++
s = f.readline().split(' \n')
sizes = s[0].split(" ", 1)
size_x, size_y = int(sizes[0])-1,int(sizes[1])... | 26.874046 | 99 | 0.60169 | 2,204 | 14,082 | 3.544011 | 0.065336 | 0.061964 | 0.057355 | 0.058379 | 0.803354 | 0.782358 | 0.765715 | 0.740494 | 0.73819 | 0.71745 | 0 | 0.012173 | 0.288311 | 14,082 | 523 | 100 | 26.92543 | 0.767212 | 0.015623 | 0 | 0.69797 | 0 | 0 | 0.011421 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.040609 | false | 0 | 0.007614 | 0.002538 | 0.121827 | 0.007614 | 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 |
606c47c788a1ddbcf83cd685b733c8f9f88f079c | 162 | py | Python | models/__init__.py | maipatana/flask-restful-basic | 501828e42be2b3a8339282232044b0bf36bb0845 | [
"MIT"
] | null | null | null | models/__init__.py | maipatana/flask-restful-basic | 501828e42be2b3a8339282232044b0bf36bb0845 | [
"MIT"
] | null | null | null | models/__init__.py | maipatana/flask-restful-basic | 501828e42be2b3a8339282232044b0bf36bb0845 | [
"MIT"
] | 1 | 2019-04-28T21:44:49.000Z | 2019-04-28T21:44:49.000Z | from .user_model import User
from .port_model import Port
from .association_model import PortAdmins, PortEditors, PortMembers
if __name__ == '__main__':
pass | 27 | 67 | 0.796296 | 21 | 162 | 5.619048 | 0.619048 | 0.279661 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141975 | 162 | 6 | 68 | 27 | 0.848921 | 0 | 0 | 0 | 0 | 0 | 0.04908 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.6 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 6 |
608ee9b4aff28f4d89a5ee9ac364787adf75149d | 45,594 | py | Python | mbeddr2C_MM/Contracts/HSimple_ConnectedLHS.py | levilucio/SyVOLT | 7526ec794d21565e3efcc925a7b08ae8db27d46a | [
"MIT"
] | 3 | 2017-06-02T19:26:27.000Z | 2021-06-14T04:25:45.000Z | mbeddr2C_MM/Contracts/HSimple_ConnectedLHS.py | levilucio/SyVOLT | 7526ec794d21565e3efcc925a7b08ae8db27d46a | [
"MIT"
] | 8 | 2016-08-24T07:04:07.000Z | 2017-05-26T16:22:47.000Z | mbeddr2C_MM/Contracts/HSimple_ConnectedLHS.py | levilucio/SyVOLT | 7526ec794d21565e3efcc925a7b08ae8db27d46a | [
"MIT"
] | 1 | 2019-10-31T06:00:23.000Z | 2019-10-31T06:00:23.000Z | from core.himesis import Himesis, HimesisPreConditionPatternLHS
import uuid
class HSimple_ConnectedLHS(HimesisPreConditionPatternLHS):
def __init__(self):
"""
Creates the himesis graph representing the AToM3 model HSimple_ConnectedLHS.
"""
# Flag ... | 54.603593 | 125 | 0.492872 | 4,848 | 45,594 | 4.505776 | 0.040017 | 0.034884 | 0.051639 | 0.039553 | 0.849982 | 0.816792 | 0.794864 | 0.751694 | 0.733932 | 0.733932 | 0 | 0.013415 | 0.265934 | 45,594 | 834 | 126 | 54.669065 | 0.639248 | 0.344256 | 0 | 0.590717 | 0 | 0 | 0.531801 | 0.137901 | 0 | 0 | 0 | 0 | 0 | 1 | 0.052743 | false | 0 | 0.004219 | 0.048523 | 0.160338 | 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 |
6095d6b6ef9c9b6db8dcffdffeb9f20381955112 | 37 | py | Python | Bot/3_Algorithm/Logic/_Floor_Ceiling.py | ReedGraff/High-Low | c8ba0339d7818e344cacf9a73a83d24dc539c2ca | [
"MIT"
] | 1 | 2022-01-06T05:50:53.000Z | 2022-01-06T05:50:53.000Z | Bot/3_Algorithm/Logic/_Floor_Ceiling.py | ReedGraff/High-Low | c8ba0339d7818e344cacf9a73a83d24dc539c2ca | [
"MIT"
] | null | null | null | Bot/3_Algorithm/Logic/_Floor_Ceiling.py | ReedGraff/High-Low | c8ba0339d7818e344cacf9a73a83d24dc539c2ca | [
"MIT"
] | null | null | null | def Floor_Ceiling(self):
return 0 | 18.5 | 24 | 0.72973 | 6 | 37 | 4.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033333 | 0.189189 | 37 | 2 | 25 | 18.5 | 0.833333 | 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 |
60a95bbb393c3b1e9c14f95028b0ed08662a191b | 132 | py | Python | dnlconfig.py | wborbajr/nfeimport-4.0 | 2fd1952c46d81e50e6cf76f9b4c28f09bfdb4bdc | [
"MIT"
] | 2 | 2021-01-27T21:15:26.000Z | 2021-11-09T20:16:28.000Z | dnlconfig.py | wborbajr/nfeimport | 2fd1952c46d81e50e6cf76f9b4c28f09bfdb4bdc | [
"MIT"
] | null | null | null | dnlconfig.py | wborbajr/nfeimport | 2fd1952c46d81e50e6cf76f9b4c28f09bfdb4bdc | [
"MIT"
] | 1 | 2020-02-06T23:25:47.000Z | 2020-02-06T23:25:47.000Z | server = {
"EMAIL":"xmlapple@omniinformatica.com.br",
"PWD":"#Senha_123_Mudar*",
"IMAP":"imap.omniinformatica.com.br"
}
| 22 | 46 | 0.643939 | 15 | 132 | 5.533333 | 0.733333 | 0.433735 | 0.481928 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026549 | 0.143939 | 132 | 5 | 47 | 26.4 | 0.707965 | 0 | 0 | 0 | 0 | 0 | 0.659091 | 0.439394 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
60acbdc0382af1498af5bd6a8386a4cbec7b5238 | 75 | py | Python | dag_executor/Interfaces/__init__.py | GennadiiTurutin/dag_executor | ddc7eab1e0e98753309e245247ac00e465e52ec1 | [
"MIT"
] | null | null | null | dag_executor/Interfaces/__init__.py | GennadiiTurutin/dag_executor | ddc7eab1e0e98753309e245247ac00e465e52ec1 | [
"MIT"
] | null | null | null | dag_executor/Interfaces/__init__.py | GennadiiTurutin/dag_executor | ddc7eab1e0e98753309e245247ac00e465e52ec1 | [
"MIT"
] | null | null | null | from .interfaces import BaseInterface
from .interfaces import AWSInterface
| 25 | 37 | 0.866667 | 8 | 75 | 8.125 | 0.625 | 0.430769 | 0.615385 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106667 | 75 | 2 | 38 | 37.5 | 0.970149 | 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 |
60b5287ba62f66952f823d7e8fc00492a0c27b03 | 4,221 | py | Python | signalwire/tests/relay/messaging/test_messaging.py | ramarketing/signalwire-python | c0663bdd0454faaa39f42af7c936cea1d43e1842 | [
"MIT"
] | 23 | 2018-12-19T14:48:18.000Z | 2022-01-11T03:58:36.000Z | signalwire/tests/relay/messaging/test_messaging.py | ramarketing/signalwire-python | c0663bdd0454faaa39f42af7c936cea1d43e1842 | [
"MIT"
] | 13 | 2018-10-17T12:57:54.000Z | 2021-09-01T21:46:01.000Z | signalwire/tests/relay/messaging/test_messaging.py | ramarketing/signalwire-python | c0663bdd0454faaa39f42af7c936cea1d43e1842 | [
"MIT"
] | 12 | 2020-01-21T14:29:43.000Z | 2022-01-11T07:48:06.000Z | import json
import pytest
from signalwire.blade.messages.message import Message as BladeMessage
from signalwire.relay.messaging import Messaging, Message, SendResult
from unittest.mock import Mock
from signalwire.tests import AsyncMock
@pytest.mark.asyncio
async def test_receive(relay_messaging):
handler = Mock()
... | 61.173913 | 685 | 0.750533 | 522 | 4,221 | 5.927203 | 0.210728 | 0.081448 | 0.047511 | 0.030705 | 0.825145 | 0.815126 | 0.774725 | 0.71978 | 0.69457 | 0.69457 | 0 | 0.085057 | 0.072495 | 4,221 | 68 | 686 | 62.073529 | 0.705236 | 0 | 0 | 0.482759 | 0 | 0.051724 | 0.468609 | 0.386638 | 0 | 0 | 0 | 0 | 0.448276 | 1 | 0 | false | 0 | 0.103448 | 0 | 0.103448 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
60b6ed7e6f6099c35242226d1c69915e225d1e9e | 46 | py | Python | src/semantic/__init__.py | f14-bertolotti/eko | c3742de5d34adc3eb3e0d719fbe1a142b0a86e6a | [
"MIT"
] | null | null | null | src/semantic/__init__.py | f14-bertolotti/eko | c3742de5d34adc3eb3e0d719fbe1a142b0a86e6a | [
"MIT"
] | null | null | null | src/semantic/__init__.py | f14-bertolotti/eko | c3742de5d34adc3eb3e0d719fbe1a142b0a86e6a | [
"MIT"
] | null | null | null |
from .EkoTransformer import EkoTransformer
| 9.2 | 42 | 0.826087 | 4 | 46 | 9.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152174 | 46 | 4 | 43 | 11.5 | 0.974359 | 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 |
60cb0860cfcae5f826c322a54bfb74bcc663e83b | 202 | py | Python | src/dfs.py | sampreets3/pyjulia-pddl | 8508690312535d90b59297279268d8a754e4a212 | [
"Apache-2.0"
] | null | null | null | src/dfs.py | sampreets3/pyjulia-pddl | 8508690312535d90b59297279268d8a754e4a212 | [
"Apache-2.0"
] | null | null | null | src/dfs.py | sampreets3/pyjulia-pddl | 8508690312535d90b59297279268d8a754e4a212 | [
"Apache-2.0"
] | null | null | null | class DepthFirstSearch:
def __init__(self, automated_planner):
self.automated_planner = automated_planner
def search(self):
print("-/!\- No path found -/!\-")
return []
| 25.25 | 50 | 0.623762 | 20 | 202 | 5.95 | 0.65 | 0.403361 | 0.336134 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.247525 | 202 | 7 | 51 | 28.857143 | 0.782895 | 0 | 0 | 0 | 0 | 0 | 0.123762 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0.166667 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
71666aadb43c00bf34faffe15ca6e11c3a7f8128 | 2,895 | py | Python | rapport/migrations/0001_initial.py | amineadmane/AutoCare | f4339cdc2d78c985b77b7b1cc469bae67728086b | [
"MIT"
] | null | null | null | rapport/migrations/0001_initial.py | amineadmane/AutoCare | f4339cdc2d78c985b77b7b1cc469bae67728086b | [
"MIT"
] | null | null | null | rapport/migrations/0001_initial.py | amineadmane/AutoCare | f4339cdc2d78c985b77b7b1cc469bae67728086b | [
"MIT"
] | null | null | null | # Generated by Django 3.0.4 on 2020-06-16 17:52
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
initial = True
dependencies = [
('mission', '0005_auto_20200616_1646'),
migrations.swappable_depe... | 52.636364 | 157 | 0.602418 | 282 | 2,895 | 6.067376 | 0.280142 | 0.042081 | 0.065459 | 0.102864 | 0.733489 | 0.733489 | 0.733489 | 0.733489 | 0.733489 | 0.733489 | 0 | 0.017528 | 0.231434 | 2,895 | 54 | 158 | 53.611111 | 0.751461 | 0.015544 | 0 | 0.659574 | 1 | 0 | 0.168188 | 0.030548 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.06383 | 0 | 0.148936 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.