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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
2dc0027e5c056672abf889973cba05f85d0ebb33 | 173 | py | Python | tests/test_whos_there.py | twsl/whos-there | cd6167c74e5de20fb7fa24776cba3a74af180bb9 | [
"MIT"
] | 49 | 2021-11-04T00:26:37.000Z | 2022-03-21T18:53:03.000Z | tests/test_whos_there.py | twsl/whos-there | cd6167c74e5de20fb7fa24776cba3a74af180bb9 | [
"MIT"
] | 83 | 2021-11-08T01:37:55.000Z | 2022-03-30T01:33:49.000Z | tests/test_whos_there.py | twsl/whos-there | cd6167c74e5de20fb7fa24776cba3a74af180bb9 | [
"MIT"
] | 4 | 2021-11-09T21:51:45.000Z | 2022-01-01T16:52:41.000Z | from whos_there import __version__
def test_version():
# real version initialized in package from poetry and resolved from resources
assert __version__ == "0.0.0"
| 24.714286 | 81 | 0.757225 | 24 | 173 | 5.041667 | 0.708333 | 0.033058 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021277 | 0.184971 | 173 | 6 | 82 | 28.833333 | 0.836879 | 0.433526 | 0 | 0 | 0 | 0 | 0.052083 | 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 |
2dc5135d1e05a0684fe9a0f42a684e67c8cc7f5a | 24 | py | Python | satyrus/api/__init__.py | lucasvg/Satyrus3-FinalProject-EspTopsOTM | 024785752abdc46e3463d8c94df7c3da873c354d | [
"MIT"
] | null | null | null | satyrus/api/__init__.py | lucasvg/Satyrus3-FinalProject-EspTopsOTM | 024785752abdc46e3463d8c94df7c3da873c354d | [
"MIT"
] | null | null | null | satyrus/api/__init__.py | lucasvg/Satyrus3-FinalProject-EspTopsOTM | 024785752abdc46e3463d8c94df7c3da873c354d | [
"MIT"
] | null | null | null | from .main import SatAPI | 24 | 24 | 0.833333 | 4 | 24 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 24 | 1 | 24 | 24 | 0.952381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2df6ec7f3669e00a3d8c57a34b9a45f9e9574097 | 38 | py | Python | web/web/views.py | OPI-py/django_blog | 43cb0079499a6397246fd01dc50212fd8d432431 | [
"BSD-2-Clause"
] | null | null | null | web/web/views.py | OPI-py/django_blog | 43cb0079499a6397246fd01dc50212fd8d432431 | [
"BSD-2-Clause"
] | null | null | null | web/web/views.py | OPI-py/django_blog | 43cb0079499a6397246fd01dc50212fd8d432431 | [
"BSD-2-Clause"
] | null | null | null | from django.http import HttpResponse
| 12.666667 | 36 | 0.842105 | 5 | 38 | 6.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131579 | 38 | 2 | 37 | 19 | 0.969697 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2dffb9fc674bff3df6449acd14141eb7be13a731 | 5,496 | py | Python | tests/test_filters.py | iandroogmans/django-reports | 2663abfa0546df6e12af651ea959b395eb4c764b | [
"BSD-3-Clause"
] | 1 | 2020-06-11T12:38:21.000Z | 2020-06-11T12:38:21.000Z | tests/test_filters.py | iandroogmans/django-reports | 2663abfa0546df6e12af651ea959b395eb4c764b | [
"BSD-3-Clause"
] | 3 | 2020-06-05T18:31:28.000Z | 2021-06-10T20:29:29.000Z | tests/test_filters.py | iandroogmans/django-reports | 2663abfa0546df6e12af651ea959b395eb4c764b | [
"BSD-3-Clause"
] | 1 | 2020-01-22T09:16:41.000Z | 2020-01-22T09:16:41.000Z | from django.test import TestCase
from advanced_reports.defaults import AdvancedReport
class AdvancedReportTest(TestCase):
def setUp(self):
self.report = AdvancedReport()
def test_tabbed_filter_fields(self):
self.report.tabbed_filter_fields = {
'card': {
'images': ... | 33.717791 | 107 | 0.44687 | 530 | 5,496 | 4.443396 | 0.1 | 0.13758 | 0.04034 | 0.056476 | 0.836518 | 0.810616 | 0.797877 | 0.771125 | 0.717622 | 0.717622 | 0 | 0.021224 | 0.408479 | 5,496 | 162 | 108 | 33.925926 | 0.703168 | 0 | 0 | 0.575342 | 0 | 0 | 0.134279 | 0 | 0 | 0 | 0 | 0 | 0.09589 | 1 | 0.054795 | false | 0 | 0.013699 | 0 | 0.075342 | 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 |
93104c858964dae6d4a927dffa5bd3e9534a426b | 22 | py | Python | logparser/Drain/__init__.py | f1amingo/logparser | 65f077a78a974a50e0fff792257fb6fea0a86821 | [
"MIT"
] | null | null | null | logparser/Drain/__init__.py | f1amingo/logparser | 65f077a78a974a50e0fff792257fb6fea0a86821 | [
"MIT"
] | null | null | null | logparser/Drain/__init__.py | f1amingo/logparser | 65f077a78a974a50e0fff792257fb6fea0a86821 | [
"MIT"
] | null | null | null | from .Drain import *
| 11 | 21 | 0.681818 | 3 | 22 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.227273 | 22 | 1 | 22 | 22 | 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 |
931500a0459264600cb8b9096359b127f6612a89 | 2,957 | py | Python | code/fig666.py | felixwzh/SJTU-CS410-Project | b6e90cb353af49f8f18b1bc368db00e9c8e6aab8 | [
"MIT"
] | 1 | 2018-01-14T16:58:11.000Z | 2018-01-14T16:58:11.000Z | code/fig666.py | felixwzh/SJTU-CS410-Project | b6e90cb353af49f8f18b1bc368db00e9c8e6aab8 | [
"MIT"
] | null | null | null | code/fig666.py | felixwzh/SJTU-CS410-Project | b6e90cb353af49f8f18b1bc368db00e9c8e6aab8 | [
"MIT"
] | null | null | null | import pickle
import matplotlib.pyplot as plt
sex=pickle.load(open('sex_nn_result.pkl'))
#sex['loss']
#sex['acc']
bio=pickle.load(open('bio_nn_result.pkl'))
#bio['loss']
#bio['acc']
fig = plt.figure(frameon=False)
fig.set_size_inches(6, 4)
plt.grid()
# fig = pylab.figure()
ax = fig.add_subplot(1, 1, 1)
ax.yaxis.g... | 30.802083 | 52 | 0.663172 | 531 | 2,957 | 3.640301 | 0.141243 | 0.086912 | 0.082773 | 0.09105 | 0.915158 | 0.915158 | 0.915158 | 0.898603 | 0.898603 | 0.668908 | 0 | 0.045289 | 0.074062 | 2,957 | 96 | 53 | 30.802083 | 0.660701 | 0.144403 | 0 | 0.597222 | 0 | 0 | 0.259849 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.027778 | 0 | 0.027778 | 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 |
935b1778e42946bb7cdf30b8564192f66cd6dac9 | 83 | py | Python | data_vis/views/__init__.py | jneuendorf/dkb_pdf2csv | 836257403054242fe2971fb3e9c0dfd909b2d199 | [
"MIT"
] | null | null | null | data_vis/views/__init__.py | jneuendorf/dkb_pdf2csv | 836257403054242fe2971fb3e9c0dfd909b2d199 | [
"MIT"
] | null | null | null | data_vis/views/__init__.py | jneuendorf/dkb_pdf2csv | 836257403054242fe2971fb3e9c0dfd909b2d199 | [
"MIT"
] | null | null | null | from .index import index # NOQA
from .test import test # NOQA
from . import api
| 16.6 | 32 | 0.710843 | 13 | 83 | 4.538462 | 0.461538 | 0.271186 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.228916 | 83 | 4 | 33 | 20.75 | 0.921875 | 0.108434 | 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 |
9371297822d97dacff675bb9124a06ec453ed8c5 | 150 | py | Python | cantileveroptimizer/problems/__init__.py | simoore/cantilever-designer | dfc3849b5c772708dc173054cc2da4b2b1f18e94 | [
"MIT"
] | 1 | 2019-06-03T13:15:47.000Z | 2019-06-03T13:15:47.000Z | cantileveroptimizer/problems/__init__.py | ccwanggl/cantilever-optimizer | e7447cbb227a3c04bdd2810c8f43bae6278ec7ee | [
"MIT"
] | null | null | null | cantileveroptimizer/problems/__init__.py | ccwanggl/cantilever-optimizer | e7447cbb227a3c04bdd2810c8f43bae6278ec7ee | [
"MIT"
] | 1 | 2019-06-03T13:15:41.000Z | 2019-06-03T13:15:41.000Z | from .problem_frequency import FrequencyProblem
from .problem_bimodal import BimodalProblem
from .problem_fast_cantilever import FastCantileverProblem | 50 | 58 | 0.906667 | 16 | 150 | 8.25 | 0.625 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.073333 | 150 | 3 | 58 | 50 | 0.94964 | 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 |
fae03c9c25204bd0f05a5f76175f1fa016e3ba34 | 7,492 | py | Python | barotropy/_core/diffusion.py | njweber2/barotropy | 2cbf9fcba82052e956c52c138f4bfefef77b6381 | [
"MIT"
] | null | null | null | barotropy/_core/diffusion.py | njweber2/barotropy | 2cbf9fcba82052e956c52c138f4bfefef77b6381 | [
"MIT"
] | null | null | null | barotropy/_core/diffusion.py | njweber2/barotropy | 2cbf9fcba82052e956c52c138f4bfefef77b6381 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Module containing the Prognostic object Diffusion and some helper functions
"""
from sympl import Prognostic, get_numpy_arrays_with_properties, restore_data_arrays_with_properties
import spharm
class LinearizedDiffusion(Prognostic):
"""
Prescribes vorticity tendency based due to d... | 33.004405 | 99 | 0.601575 | 802 | 7,492 | 5.457606 | 0.205736 | 0.022847 | 0.036555 | 0.032899 | 0.822938 | 0.793466 | 0.793466 | 0.770162 | 0.746402 | 0.72721 | 0 | 0.016916 | 0.313534 | 7,492 | 226 | 100 | 33.150442 | 0.834144 | 0.391751 | 0 | 0.58427 | 0 | 0 | 0.086274 | 0.045326 | 0 | 0 | 0 | 0 | 0 | 1 | 0.078652 | false | 0 | 0.022472 | 0 | 0.247191 | 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 |
faf6f5f2eeac6f625c4fac6adf29b2647c7b9965 | 215 | py | Python | __tests__/unit/test_is_number.py | tetrascience/ts-task-script-utils | 7e7992c8345f478b74ed42dd0ba990e21933141c | [
"Apache-2.0"
] | 2 | 2022-01-24T15:33:03.000Z | 2022-03-23T10:59:44.000Z | __tests__/unit/test_is_number.py | tetrascience/ts-task-script-utils | 7e7992c8345f478b74ed42dd0ba990e21933141c | [
"Apache-2.0"
] | 11 | 2021-04-21T13:57:24.000Z | 2022-03-31T20:19:34.000Z | __tests__/unit/test_is_number.py | tetrascience/ts-task-script-utils | 7e7992c8345f478b74ed42dd0ba990e21933141c | [
"Apache-2.0"
] | null | null | null | from task_script_utils.is_number import isnumber
def test_is_number():
assert isnumber(10)
assert isnumber("10")
assert isnumber("NaN")
assert not isnumber(True)
assert not isnumber("cheese")
| 19.545455 | 48 | 0.716279 | 29 | 215 | 5.137931 | 0.551724 | 0.281879 | 0.214765 | 0.295302 | 0.308725 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022989 | 0.190698 | 215 | 10 | 49 | 21.5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0.051163 | 0 | 0 | 0 | 0 | 0 | 0.714286 | 1 | 0.142857 | true | 0 | 0.142857 | 0 | 0.285714 | 0 | 1 | 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 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
87892ea37e51c4d406aa6c3baab17723117047e4 | 106 | py | Python | bitmovin_api_sdk/encoding/encodings/live/insertable_content/schedule/__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/encodings/live/insertable_content/schedule/__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/encodings/live/insertable_content/schedule/__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.encodings.live.insertable_content.schedule.schedule_api import ScheduleApi
| 53 | 105 | 0.90566 | 14 | 106 | 6.571429 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037736 | 106 | 1 | 106 | 106 | 0.901961 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
87c520f5bbee65e9cac83cdc0ef9586c3bc9b12c | 385 | py | Python | src/behavior_tree_learning/core/gp/__init__.py | dgerod/bt_learning_using_gp | ac1fb6ba4dbd6d18b5d002c7ad2647771f8b0fb9 | [
"Apache-2.0"
] | 6 | 2021-08-09T22:05:00.000Z | 2022-01-31T11:01:44.000Z | src/behavior_tree_learning/core/gp/__init__.py | dgerod/bt_learning_using_gp | ac1fb6ba4dbd6d18b5d002c7ad2647771f8b0fb9 | [
"Apache-2.0"
] | 6 | 2021-12-12T15:38:40.000Z | 2022-01-31T11:02:12.000Z | src/behavior_tree_learning/core/gp/__init__.py | dgerod/bt_learning_using_gp | ac1fb6ba4dbd6d18b5d002c7ad2647771f8b0fb9 | [
"Apache-2.0"
] | null | null | null | from behavior_tree_learning.core.gp.environment import GeneticEnvironment
from behavior_tree_learning.core.gp.parameters import GeneticParameters
from behavior_tree_learning.core.gp.selection import SelectionMethods as GeneticSelectionMethods
from behavior_tree_learning.core.gp.operators import GeneticOperators
from be... | 64.166667 | 96 | 0.903896 | 47 | 385 | 7.191489 | 0.404255 | 0.177515 | 0.236686 | 0.35503 | 0.443787 | 0.443787 | 0 | 0 | 0 | 0 | 0 | 0 | 0.057143 | 385 | 5 | 97 | 77 | 0.931129 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
35542d2e31ae4fcaca706b203010ad7258f00c4a | 6,011 | py | Python | z2/part2/interactive/jm/random_normal_1/613566861.py | kozakusek/ipp-2020-testy | 09aa008fa53d159672cc7cbf969a6b237e15a7b8 | [
"MIT"
] | 1 | 2020-04-16T12:13:47.000Z | 2020-04-16T12:13:47.000Z | z2/part2/interactive/jm/random_normal_1/613566861.py | kozakusek/ipp-2020-testy | 09aa008fa53d159672cc7cbf969a6b237e15a7b8 | [
"MIT"
] | 18 | 2020-03-06T17:50:15.000Z | 2020-05-19T14:58:30.000Z | z2/part2/interactive/jm/random_normal_1/613566861.py | kozakusek/ipp-2020-testy | 09aa008fa53d159672cc7cbf969a6b237e15a7b8 | [
"MIT"
] | 18 | 2020-03-06T17:45:13.000Z | 2020-06-09T19:18:31.000Z | from part1 import (
gamma_board,
gamma_busy_fields,
gamma_delete,
gamma_free_fields,
gamma_golden_move,
gamma_golden_possible,
gamma_move,
gamma_new,
)
"""
scenario: test_random_actions
uuid: 613566861
"""
"""
random actions, total chaos
"""
board = gamma_new(7, 5, 4, 7)
assert board is... | 31.636842 | 46 | 0.658959 | 1,106 | 6,011 | 3.432188 | 0.050633 | 0.347734 | 0.375395 | 0.500527 | 0.806902 | 0.770811 | 0.666228 | 0.45627 | 0.404636 | 0.377239 | 0 | 0.146218 | 0.179671 | 6,011 | 189 | 47 | 31.804233 | 0.623606 | 0 | 0 | 0.284024 | 0 | 0 | 0.03039 | 0 | 0 | 0 | 0 | 0 | 0.763314 | 1 | 0 | false | 0 | 0.005917 | 0 | 0.005917 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
356cea3d175f2b0c085fc8290c85373b407727fe | 47 | py | Python | Tests/Runnable2/r_classdoc_t.py | jwilk/Pyrex | 83dfbae1261788933472e3f9c501ad74c61a37c5 | [
"Apache-2.0"
] | 5 | 2019-05-26T20:48:36.000Z | 2021-07-09T01:38:38.000Z | Tests/Runnable2/r_classdoc_t.py | jwilk/Pyrex | 83dfbae1261788933472e3f9c501ad74c61a37c5 | [
"Apache-2.0"
] | null | null | null | Tests/Runnable2/r_classdoc_t.py | jwilk/Pyrex | 83dfbae1261788933472e3f9c501ad74c61a37c5 | [
"Apache-2.0"
] | 1 | 2022-02-10T07:14:58.000Z | 2022-02-10T07:14:58.000Z | from r_classdoc import Spam
print Spam.__doc__
| 15.666667 | 27 | 0.851064 | 8 | 47 | 4.375 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12766 | 47 | 2 | 28 | 23.5 | 0.853659 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.5 | null | null | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
359cd1fbefa19537fce7c6d9656589e18f81d53c | 2,872 | py | Python | tests/transformer/test_import.py | rahulbahal7/restricted-python | c39cffe71dfc30630e946977735303d3a65b0383 | [
"ZPL-2.1"
] | 236 | 2015-01-03T17:14:53.000Z | 2022-03-01T15:52:46.000Z | tests/transformer/test_import.py | rahulbahal7/restricted-python | c39cffe71dfc30630e946977735303d3a65b0383 | [
"ZPL-2.1"
] | 149 | 2016-10-24T06:56:44.000Z | 2022-02-24T08:09:10.000Z | tests/transformer/test_import.py | rahulbahal7/restricted-python | c39cffe71dfc30630e946977735303d3a65b0383 | [
"ZPL-2.1"
] | 30 | 2015-04-03T05:38:13.000Z | 2021-11-10T05:13:38.000Z | from RestrictedPython import compile_restricted_exec
import_errmsg = (
'Line 1: "%s" is an invalid variable name because it starts with "_"')
def test_RestrictingNodeTransformer__visit_Import__1():
"""It allows importing a module."""
result = compile_restricted_exec('import a')
assert result.errors ... | 36.820513 | 79 | 0.726671 | 355 | 2,872 | 5.538028 | 0.177465 | 0.09766 | 0.128179 | 0.212614 | 0.817904 | 0.715158 | 0.604781 | 0.577823 | 0.564598 | 0.502543 | 0 | 0.005863 | 0.168524 | 2,872 | 77 | 80 | 37.298701 | 0.81742 | 0.199513 | 0 | 0.285714 | 0 | 0 | 0.165849 | 0 | 0 | 0 | 0 | 0 | 0.380952 | 1 | 0.261905 | false | 0 | 0.761905 | 0 | 1.02381 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
35c57e3d0a8f68bd66f2e30afe63eaf1952d163c | 149 | py | Python | core/agent/__init__.py | Marxlp/RLFrame | 1fcfa4fb26c1f0e407c8ea77c86d9d51af8b579a | [
"MIT"
] | 8 | 2020-02-09T03:33:50.000Z | 2022-01-05T06:35:28.000Z | core/agent/__init__.py | Marxlp/RLFrame | 1fcfa4fb26c1f0e407c8ea77c86d9d51af8b579a | [
"MIT"
] | null | null | null | core/agent/__init__.py | Marxlp/RLFrame | 1fcfa4fb26c1f0e407c8ea77c86d9d51af8b579a | [
"MIT"
] | 2 | 2020-02-10T03:21:31.000Z | 2020-03-22T15:40:37.000Z | from .agent_sync import Agent_sync as Agent_sync
from .agent_async import Agent_async as Agent_async
from .agent_single import Agent_single as Agent
| 37.25 | 51 | 0.85906 | 26 | 149 | 4.615385 | 0.269231 | 0.225 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.120805 | 149 | 3 | 52 | 49.666667 | 0.916031 | 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 |
35cad388a4aa0669d41622943dcf845fc0333280 | 2,467 | py | Python | tests/test_version.py | ericbusboom/metapack | c08c84e1208755ddc57d2f758d0a99223ded19cc | [
"MIT",
"BSD-3-Clause"
] | 3 | 2018-09-17T15:08:12.000Z | 2020-05-28T21:48:24.000Z | tests/test_version.py | ericbusboom/metapack | c08c84e1208755ddc57d2f758d0a99223ded19cc | [
"MIT",
"BSD-3-Clause"
] | 11 | 2017-10-13T12:29:09.000Z | 2020-03-22T17:20:29.000Z | tests/test_version.py | ericbusboom/metapack | c08c84e1208755ddc57d2f758d0a99223ded19cc | [
"MIT",
"BSD-3-Clause"
] | 1 | 2017-12-08T20:17:19.000Z | 2017-12-08T20:17:19.000Z | import unittest
from textwrap import dedent
from metatab.rowgenerators import TextRowGenerator
from metapack import Downloader, MetapackDoc
downloader = Downloader()
class TestIssues(unittest.TestCase):
"""Test Metapack AppUrls and Row Generators"""
def setUp(self):
import warnings
warning... | 26.815217 | 84 | 0.650993 | 285 | 2,467 | 5.442105 | 0.2 | 0.069633 | 0.174081 | 0.203095 | 0.779497 | 0.779497 | 0.779497 | 0.778208 | 0.778208 | 0.778208 | 0 | 0.01847 | 0.231861 | 2,467 | 91 | 85 | 27.10989 | 0.8 | 0.020268 | 0 | 0.586207 | 0 | 0 | 0.358358 | 0.01742 | 0 | 0 | 0 | 0 | 0.258621 | 1 | 0.034483 | false | 0 | 0.086207 | 0 | 0.137931 | 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 |
35e091b557f67445abd60e802736a0ce05e290ec | 63 | py | Python | bmcs_beam/mxn/matresdev/db/exdb/__init__.py | bmcs-group/bmcs_beam | b53967d0d0461657ec914a3256ec40f9dcff80d5 | [
"MIT"
] | 1 | 2021-05-07T11:10:27.000Z | 2021-05-07T11:10:27.000Z | bmcs_beam/mxn/matresdev/db/exdb/__init__.py | bmcs-group/bmcs_beam | b53967d0d0461657ec914a3256ec40f9dcff80d5 | [
"MIT"
] | null | null | null | bmcs_beam/mxn/matresdev/db/exdb/__init__.py | bmcs-group/bmcs_beam | b53967d0d0461657ec914a3256ec40f9dcff80d5 | [
"MIT"
] | null | null | null |
from .ex_run import ExRun
from .ex_run_view import ExRunView
| 12.6 | 34 | 0.809524 | 11 | 63 | 4.363636 | 0.636364 | 0.25 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15873 | 63 | 4 | 35 | 15.75 | 0.90566 | 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 |
ea1e9100bc6c3808dba52dd7bc0d2e598af3c604 | 43 | py | Python | lambdata_lrizika/__init__.py | Lrizika/Lambdata | 7f6646597ab23e097ec3d93d29c161636618f25c | [
"MIT"
] | null | null | null | lambdata_lrizika/__init__.py | Lrizika/Lambdata | 7f6646597ab23e097ec3d93d29c161636618f25c | [
"MIT"
] | 4 | 2020-03-24T17:57:33.000Z | 2021-06-02T01:01:32.000Z | lambdata_lrizika/__init__.py | Lrizika/Lambdata | 7f6646597ab23e097ec3d93d29c161636618f25c | [
"MIT"
] | null | null | null | from lambdata_lrizika import pandas_utils
| 14.333333 | 41 | 0.883721 | 6 | 43 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116279 | 43 | 2 | 42 | 21.5 | 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 |
ea28f3ac4d9b288fe5294e2cf0ca6b1ecc854f0a | 269 | py | Python | polrev/portals/run/views.py | polrev-github/polrev-django | 99108ace1a5307b14c3eccb424a9f9616e8c02ae | [
"MIT"
] | 1 | 2021-12-10T05:54:16.000Z | 2021-12-10T05:54:16.000Z | polrev/portals/run/views.py | polrev-github/polrev-django | 99108ace1a5307b14c3eccb424a9f9616e8c02ae | [
"MIT"
] | null | null | null | polrev/portals/run/views.py | polrev-github/polrev-django | 99108ace1a5307b14c3eccb424a9f9616e8c02ae | [
"MIT"
] | null | null | null | from django.shortcuts import render, get_object_or_404
from django.utils import timezone
from accounts.models import User
def index(request):
return render(request, 'run/index.html')
def amascheduler(request):
return render(request, 'run/amascheduler.html')
| 24.454545 | 54 | 0.784387 | 37 | 269 | 5.621622 | 0.567568 | 0.096154 | 0.182692 | 0.25 | 0.278846 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012766 | 0.126394 | 269 | 10 | 55 | 26.9 | 0.87234 | 0 | 0 | 0 | 0 | 0 | 0.130597 | 0.078358 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.428571 | 0.285714 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
ea3055a8822fa8ef1bc981ad2cd0bba0ac54e23e | 43 | py | Python | textpreprocess/__init__.py | dreamvrutik/textclean | 4e823421489b7861fbb89e9b4824720e6d55c798 | [
"MIT"
] | null | null | null | textpreprocess/__init__.py | dreamvrutik/textclean | 4e823421489b7861fbb89e9b4824720e6d55c798 | [
"MIT"
] | null | null | null | textpreprocess/__init__.py | dreamvrutik/textclean | 4e823421489b7861fbb89e9b4824720e6d55c798 | [
"MIT"
] | null | null | null | from textpreprocess.process import process
| 21.5 | 42 | 0.883721 | 5 | 43 | 7.6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093023 | 43 | 1 | 43 | 43 | 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 |
ea5eeb33d3dc9ba7d158105003b2ee1011247220 | 1,181 | py | Python | src/decision_tree_writer/__init__.py | AndreBacic/DecisionTreeWriter | 58eb229df949fda5f0560b985ed0f9e62c626d4c | [
"MIT"
] | 1 | 2021-10-19T22:58:20.000Z | 2021-10-19T22:58:20.000Z | src/decision_tree_writer/__init__.py | AndreBacic/DecisionTreeWriter | 58eb229df949fda5f0560b985ed0f9e62c626d4c | [
"MIT"
] | null | null | null | src/decision_tree_writer/__init__.py | AndreBacic/DecisionTreeWriter | 58eb229df949fda5f0560b985ed0f9e62c626d4c | [
"MIT"
] | null | null | null | from decision_tree_writer.TreeWriter import DecisionTreeWriter
# ✓ (v0.4.1): delete the unused root parameter from BaseDecisionTree for cleaner scaffolded code.
# ✓ (v0.4.2): move data validating and cleaning to a separate class from DecisionTreeWriter and add better validating and cleaning methods
# ✓ (v0.5.1): Have m... | 107.363636 | 212 | 0.782388 | 202 | 1,181 | 4.549505 | 0.589109 | 0.009793 | 0.068553 | 0.054407 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023023 | 0.154107 | 1,181 | 10 | 213 | 118.1 | 0.893894 | 0.931414 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ea6bf7c57caa0e54f2a8962d602238ba9dda2872 | 110 | py | Python | opentimesheet/core/api/serializers.py | valerymelou/opentimesheet-server | 0da97ebb3c3e59962132d1bc5e83e1d727f7331b | [
"MIT"
] | null | null | null | opentimesheet/core/api/serializers.py | valerymelou/opentimesheet-server | 0da97ebb3c3e59962132d1bc5e83e1d727f7331b | [
"MIT"
] | 95 | 2021-02-20T21:53:29.000Z | 2022-01-14T17:24:50.000Z | opentimesheet/core/api/serializers.py | valerymelou/opentimesheet-server | 0da97ebb3c3e59962132d1bc5e83e1d727f7331b | [
"MIT"
] | null | null | null | from rest_framework_json_api import serializers
class BaseSerializer(serializers.ModelSerializer):
pass
| 18.333333 | 50 | 0.845455 | 12 | 110 | 7.5 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.118182 | 110 | 5 | 51 | 22 | 0.927835 | 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 |
eaa2295de747b8e53dfaba8831501909d4cbab01 | 191 | py | Python | modoboa/relaydomains/lib.py | vietbm-hcm/modoboa | ceeec1bf0a63cf1b3ef7b4087c06e2a1eb35598d | [
"ISC"
] | null | null | null | modoboa/relaydomains/lib.py | vietbm-hcm/modoboa | ceeec1bf0a63cf1b3ef7b4087c06e2a1eb35598d | [
"ISC"
] | null | null | null | modoboa/relaydomains/lib.py | vietbm-hcm/modoboa | ceeec1bf0a63cf1b3ef7b4087c06e2a1eb35598d | [
"ISC"
] | null | null | null | """Internal library."""
from .models import RelayDomain
def import_relaydomain(user, row, formopts):
"""Specific code for relay domains import"""
RelayDomain().from_csv(user, row)
| 21.222222 | 48 | 0.717277 | 23 | 191 | 5.869565 | 0.695652 | 0.377778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151832 | 191 | 8 | 49 | 23.875 | 0.833333 | 0.293194 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.666667 | 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 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
577d9855d8890f64a4615ded83eec0e6ed1396ca | 37 | py | Python | slaid/classifiers/__init__.py | mdrio/slaid | 67c85f0d1702bced1c089bfb3c20ba1cfbc9c225 | [
"MIT"
] | null | null | null | slaid/classifiers/__init__.py | mdrio/slaid | 67c85f0d1702bced1c089bfb3c20ba1cfbc9c225 | [
"MIT"
] | null | null | null | slaid/classifiers/__init__.py | mdrio/slaid | 67c85f0d1702bced1c089bfb3c20ba1cfbc9c225 | [
"MIT"
] | 1 | 2022-02-11T15:54:47.000Z | 2022-02-11T15:54:47.000Z | from slaid.classifiers.base import *
| 18.5 | 36 | 0.810811 | 5 | 37 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 37 | 1 | 37 | 37 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5795738d93c741b449009809771b25fc6e28bef5 | 36 | py | Python | toppy/__init__.py | ashdnazg/toppy | cefda8b2177576331252265d257532ae79d34a94 | [
"MIT"
] | null | null | null | toppy/__init__.py | ashdnazg/toppy | cefda8b2177576331252265d257532ae79d34a94 | [
"MIT"
] | 1 | 2021-02-07T09:52:48.000Z | 2021-02-07T09:52:48.000Z | toppy/__init__.py | ashdnazg/toppy | cefda8b2177576331252265d257532ae79d34a94 | [
"MIT"
] | 1 | 2021-02-07T09:45:13.000Z | 2021-02-07T09:45:13.000Z | from .toppy import Toppy, ToppyArgs
| 18 | 35 | 0.805556 | 5 | 36 | 5.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138889 | 36 | 1 | 36 | 36 | 0.935484 | 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 |
57c855dfb29b5085e7165c3976518decf7c20390 | 2,518 | py | Python | FormManagement/views.py | SajedeNick1999/Payslip-Management- | 21e40c5c3ea040733d609a014b66b24135624b73 | [
"MIT"
] | 1 | 2020-08-16T14:27:00.000Z | 2020-08-16T14:27:00.000Z | FormManagement/views.py | SajedeNick1999/Payslip-Management-System | 21e40c5c3ea040733d609a014b66b24135624b73 | [
"MIT"
] | null | null | null | FormManagement/views.py | SajedeNick1999/Payslip-Management-System | 21e40c5c3ea040733d609a014b66b24135624b73 | [
"MIT"
] | null | null | null | from django.shortcuts import render
from django.http import JsonResponse
from .models import Form
from ManagerManagement.models import Manager
from EmployeeManagement.models import Employee
def addfield_view(request,name,type,token,id):
manager = Employee.objects.filter(ID=id).first()
if manager == None:
return Js... | 33.573333 | 70 | 0.697776 | 345 | 2,518 | 5.069565 | 0.165217 | 0.164666 | 0.180103 | 0.150943 | 0.73299 | 0.73299 | 0.73299 | 0.713551 | 0.713551 | 0.666667 | 0 | 0.031076 | 0.143765 | 2,518 | 74 | 71 | 34.027027 | 0.780148 | 0.083797 | 0 | 0.641791 | 0 | 0 | 0.072363 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.059701 | false | 0 | 0.074627 | 0 | 0.373134 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
57ef5534785ab04910b6cab258eda9285c47a909 | 123 | py | Python | exputils/data/__init__.py | craymichael/exputils | cd9cf08e6556104e4be10f1765d41fc9717a8f82 | [
"MIT"
] | 2 | 2020-09-30T20:23:35.000Z | 2021-04-23T03:44:49.000Z | exputils/data/__init__.py | craymichael/exputils | cd9cf08e6556104e4be10f1765d41fc9717a8f82 | [
"MIT"
] | 1 | 2021-03-09T20:39:35.000Z | 2021-03-16T20:13:36.000Z | exputils/data/__init__.py | craymichael/exputils | cd9cf08e6556104e4be10f1765d41fc9717a8f82 | [
"MIT"
] | 1 | 2021-04-07T19:04:35.000Z | 2021-04-07T19:04:35.000Z | from exputils.data.confusion_matrix import ConfusionMatrix
from exputils.data import labels
__all__ = ['ConfusionMatrix']
| 24.6 | 58 | 0.837398 | 14 | 123 | 7 | 0.642857 | 0.244898 | 0.326531 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097561 | 123 | 4 | 59 | 30.75 | 0.882883 | 0 | 0 | 0 | 0 | 0 | 0.121951 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
17a7d5cf526eb48ad4fb0451c4b3cd55bc74c244 | 34 | py | Python | apps/odoo/lib/odoo-10.0.post20170615-py2.7.egg/odoo/addons/l10n_fr_certification/models/__init__.py | gtfarng/Odoo_migrade | 9cc28fae4c379e407645248a29d22139925eafe7 | [
"Apache-2.0"
] | 1 | 2019-12-19T01:53:13.000Z | 2019-12-19T01:53:13.000Z | apps/odoo/lib/odoo-10.0.post20170615-py2.7.egg/odoo/addons/l10n_fr_certification/models/__init__.py | gtfarng/Odoo_migrade | 9cc28fae4c379e407645248a29d22139925eafe7 | [
"Apache-2.0"
] | null | null | null | apps/odoo/lib/odoo-10.0.post20170615-py2.7.egg/odoo/addons/l10n_fr_certification/models/__init__.py | gtfarng/Odoo_migrade | 9cc28fae4c379e407645248a29d22139925eafe7 | [
"Apache-2.0"
] | null | null | null | import res_company
import account
| 11.333333 | 18 | 0.882353 | 5 | 34 | 5.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 34 | 2 | 19 | 17 | 0.966667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
17dc383428dffcc8bee32abb6457d27ee9d69115 | 89 | py | Python | sites/pycharm-guide/demos/tutorials/visual_pytest/tdd_flow/test_guardian01.py | stevewhitmore/jetbrains_guide | 234eb44a3ecc670048e4d02b3b5b39affe4a9e31 | [
"Apache-2.0",
"CC-BY-4.0"
] | 16 | 2019-02-01T14:03:53.000Z | 2019-08-18T13:57:33.000Z | sites/pycharm-guide/demos/tutorials/visual_pytest/tdd_flow/test_guardian01.py | stevewhitmore/jetbrains_guide | 234eb44a3ecc670048e4d02b3b5b39affe4a9e31 | [
"Apache-2.0",
"CC-BY-4.0"
] | 3 | 2019-03-22T07:40:33.000Z | 2019-04-03T16:04:35.000Z | sites/pycharm-guide/demos/tutorials/visual_pytest/tdd_flow/test_guardian01.py | stevewhitmore/jetbrains_guide | 234eb44a3ecc670048e4d02b3b5b39affe4a9e31 | [
"Apache-2.0",
"CC-BY-4.0"
] | 2 | 2019-03-25T15:00:12.000Z | 2019-08-18T13:57:36.000Z | from laxleague.guardian import Guardian
def test_construction():
assert Guardian()
| 14.833333 | 39 | 0.775281 | 10 | 89 | 6.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157303 | 89 | 5 | 40 | 17.8 | 0.906667 | 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 |
17e6888353f78b3afddbf3d2fcc1efc0873d98ce | 173 | py | Python | setup.py | kngxscn/Sentence-Splitter-for-Russian | cbd356c29a3c39a15840d97dc0ed2e6ddc9b83d9 | [
"Apache-2.0"
] | null | null | null | setup.py | kngxscn/Sentence-Splitter-for-Russian | cbd356c29a3c39a15840d97dc0ed2e6ddc9b83d9 | [
"Apache-2.0"
] | 5 | 2020-01-28T22:28:24.000Z | 2022-02-09T23:58:30.000Z | setup.py | kngxscn/Sentence-Splitter-for-Russian | cbd356c29a3c39a15840d97dc0ed2e6ddc9b83d9 | [
"Apache-2.0"
] | null | null | null | from setuptools import setup
setup(
name='sentence_splitter_for_russian',
version='0.1',
description='俄语系分句器',
packages=['sentence_splitter_for_russian']
)
| 19.222222 | 46 | 0.728324 | 20 | 173 | 6 | 0.75 | 0.266667 | 0.316667 | 0.433333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013699 | 0.156069 | 173 | 8 | 47 | 21.625 | 0.808219 | 0 | 0 | 0 | 0 | 0 | 0.387283 | 0.33526 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.142857 | 0 | 0.142857 | 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 |
3511c1c75e81fc66ee9e09851b5a06241b1c2c70 | 46 | py | Python | girder_worker_tasks/arbor_nova_tasks/arbor_tasks/app_support/__init__.py | girder/arbor_tasks | 8a0b6c94b3aea1722878c7425a70197d206a8414 | [
"Apache-2.0"
] | 4 | 2019-04-30T16:52:31.000Z | 2020-03-11T17:18:08.000Z | girder_worker_tasks/arbor_nova_tasks/arbor_tasks/app_support/__init__.py | girder/arbor_tasks | 8a0b6c94b3aea1722878c7425a70197d206a8414 | [
"Apache-2.0"
] | 6 | 2019-04-08T20:54:32.000Z | 2019-04-19T19:29:11.000Z | girder_worker_tasks/arbor_nova_tasks/arbor_tasks/app_support/__init__.py | girder/arbor_tasks | 8a0b6c94b3aea1722878c7425a70197d206a8414 | [
"Apache-2.0"
] | 2 | 2020-04-30T20:23:34.000Z | 2020-10-23T14:18:59.000Z | from .pgls import pgls
from .asr import asr
| 11.5 | 22 | 0.73913 | 8 | 46 | 4.25 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.217391 | 46 | 3 | 23 | 15.333333 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
354962539fe54fce61541a57de93ffdc88ec57ad | 491 | py | Python | test/test_registry.py | wangjunyan305/homura | 815750e927e0eeaac3f5c0bf49d8d46dabaf5988 | [
"Apache-2.0"
] | 102 | 2018-05-25T05:59:09.000Z | 2022-03-08T22:38:44.000Z | test/test_registry.py | Xiangyu-Han/homura | c366ca70b4b65f6a4809bf76926bbd926320262e | [
"Apache-2.0"
] | 31 | 2018-04-22T17:35:40.000Z | 2021-12-07T19:06:18.000Z | test/test_registry.py | Xiangyu-Han/homura | c366ca70b4b65f6a4809bf76926bbd926320262e | [
"Apache-2.0"
] | 24 | 2019-02-05T11:39:37.000Z | 2022-02-09T01:01:25.000Z | import pytest
from homura.register import Registry
def test_registry():
MODEL_REGISTRY = Registry('model')
MODEL_REGISTRY2 = Registry('model')
assert MODEL_REGISTRY is MODEL_REGISTRY2
@MODEL_REGISTRY.register
def something():
return 1
@MODEL_REGISTRY.register
def anything():
... | 19.64 | 45 | 0.661914 | 53 | 491 | 5.962264 | 0.396226 | 0.246835 | 0.199367 | 0.227848 | 0.208861 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013661 | 0.254582 | 491 | 24 | 46 | 20.458333 | 0.849727 | 0 | 0 | 0.294118 | 0 | 0 | 0.038697 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 1 | 0.235294 | false | 0.058824 | 0.117647 | 0.117647 | 0.470588 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 6 |
1051e511a79a5d78e8ebdbf0ab59184eb08a0097 | 36 | py | Python | tictac/__main__.py | pxeger/tictac | 59e1313f30e82c4ca5f58e7f7f24eed535b13207 | [
"Artistic-2.0"
] | 2 | 2021-12-13T22:40:53.000Z | 2022-01-01T11:57:04.000Z | tictac/__main__.py | pxeger/tictac | 59e1313f30e82c4ca5f58e7f7f24eed535b13207 | [
"Artistic-2.0"
] | null | null | null | tictac/__main__.py | pxeger/tictac | 59e1313f30e82c4ca5f58e7f7f24eed535b13207 | [
"Artistic-2.0"
] | null | null | null | import tictac.cli
tictac.cli.main()
| 12 | 17 | 0.777778 | 6 | 36 | 4.666667 | 0.666667 | 0.642857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 36 | 2 | 18 | 18 | 0.848485 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
10a078b31cb7c5263748a9b08fd920ee5d1a8bd4 | 9,118 | py | Python | test/entry/cli/test_cli.py | HansBug/jentry | 69817fc19df1c8b31b32a834cfe1aa93841d6022 | [
"Apache-2.0"
] | null | null | null | test/entry/cli/test_cli.py | HansBug/jentry | 69817fc19df1c8b31b32a834cfe1aa93841d6022 | [
"Apache-2.0"
] | 1 | 2022-03-20T01:42:56.000Z | 2022-03-20T01:42:56.000Z | test/entry/cli/test_cli.py | HansBug/jentry | 69817fc19df1c8b31b32a834cfe1aa93841d6022 | [
"Apache-2.0"
] | null | null | null | import json
import pytest
from click.testing import CliRunner
from jentry.entry.cli import cli
from ...testing import DEMO_PROJECT_PATH, demo_mark, DEMO_COMPLEX_PROJECT_PATH, demo_complex_mark, \
DEMO_ALL_PROJECT_PATH, demo_all_mark
class TestEntryCliCli:
@pytest.mark.unittest
def test_version(self):
... | 33.895911 | 108 | 0.557469 | 1,017 | 9,118 | 4.752212 | 0.072763 | 0.059383 | 0.082557 | 0.106145 | 0.926547 | 0.902545 | 0.882682 | 0.87006 | 0.841299 | 0.823505 | 0 | 0.044019 | 0.312349 | 9,118 | 268 | 109 | 34.022388 | 0.726794 | 0 | 0 | 0.606195 | 0 | 0 | 0.203224 | 0.10726 | 0 | 0 | 0 | 0 | 0.216814 | 1 | 0.079646 | false | 0 | 0.022124 | 0 | 0.106195 | 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 |
529ccd8cdc3485a6edbc0ff7791774ff3f769f1b | 220 | py | Python | ccal/write_gps_map.py | alex-wenzel/ccal | 74dfc604d93e6ce9e12f34a828b601618df51faa | [
"MIT"
] | null | null | null | ccal/write_gps_map.py | alex-wenzel/ccal | 74dfc604d93e6ce9e12f34a828b601618df51faa | [
"MIT"
] | null | null | null | ccal/write_gps_map.py | alex-wenzel/ccal | 74dfc604d93e6ce9e12f34a828b601618df51faa | [
"MIT"
] | null | null | null | from gzip import open as gzip_open
from pickle import dump
def write_gps_map(gps_map, pickle_gz_file_path):
with gzip_open(pickle_gz_file_path, mode="wb") as pickle_gz_file:
dump(gps_map, pickle_gz_file)
| 22 | 69 | 0.772727 | 40 | 220 | 3.85 | 0.425 | 0.207792 | 0.311688 | 0.181818 | 0.233766 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163636 | 220 | 9 | 70 | 24.444444 | 0.836957 | 0 | 0 | 0 | 0 | 0 | 0.009091 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
52cb71fcbd0028ce63e97fc7ae8db67ed6e74094 | 48 | py | Python | tools/__init__.py | VincentXWD/codebase-segmentation | d25a6adc87aa75e03421cfa07a7d45b2dcff3249 | [
"MIT"
] | 14 | 2019-10-31T12:55:28.000Z | 2019-11-01T16:10:04.000Z | tools/__init__.py | VincentXWD/codebase-segmentation | d25a6adc87aa75e03421cfa07a7d45b2dcff3249 | [
"MIT"
] | 3 | 2019-11-15T13:30:00.000Z | 2020-06-27T17:04:11.000Z | tools/__init__.py | VincentXWD/codebase-segmentation | d25a6adc87aa75e03421cfa07a7d45b2dcff3249 | [
"MIT"
] | 2 | 2019-11-10T13:34:05.000Z | 2019-12-12T06:59:40.000Z | from . import benchmark
from . import statistics | 24 | 24 | 0.8125 | 6 | 48 | 6.5 | 0.666667 | 0.512821 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145833 | 48 | 2 | 24 | 24 | 0.95122 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
5e1ec64a6a0c8221d35eec3463c0f401ec6b96a1 | 14 | pyde | Python | Talk 1/a_grey_dullness/a_grey_dullness.pyde | purrcat259/introduction-to-artistic-programming | 6694c9c8c8c4ff321e6ec8b6917cc0d6c3c95e20 | [
"MIT"
] | 1 | 2018-12-05T20:04:48.000Z | 2018-12-05T20:04:48.000Z | Talk 1/a_grey_dullness/a_grey_dullness.pyde | purrcat259/introduction-to-artistic-programming | 6694c9c8c8c4ff321e6ec8b6917cc0d6c3c95e20 | [
"MIT"
] | null | null | null | Talk 1/a_grey_dullness/a_grey_dullness.pyde | purrcat259/introduction-to-artistic-programming | 6694c9c8c8c4ff321e6ec8b6917cc0d6c3c95e20 | [
"MIT"
] | null | null | null | size(800, 600) | 14 | 14 | 0.714286 | 3 | 14 | 3.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.461538 | 0.071429 | 14 | 1 | 14 | 14 | 0.307692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5e21b8ed88bf4096d4f2d5b19e988b1e15c1dca6 | 451 | py | Python | asyncupbankapi/models/__init__.py | unchartedshark/async-up-bank-api | 9e789d16aa05fd9ea8d7981c78d35015a67142ae | [
"MIT"
] | 1 | 2021-12-07T09:04:49.000Z | 2021-12-07T09:04:49.000Z | asyncupbankapi/models/__init__.py | unchartedshark/async-up-bank-api | 9e789d16aa05fd9ea8d7981c78d35015a67142ae | [
"MIT"
] | null | null | null | asyncupbankapi/models/__init__.py | unchartedshark/async-up-bank-api | 9e789d16aa05fd9ea8d7981c78d35015a67142ae | [
"MIT"
] | null | null | null | """Typed python client for interacting with Up's banking API."""
from asyncupbankapi.models.accounts import Account, Accounts
from asyncupbankapi.models.categories import Category, Categories
from asyncupbankapi.models.tags import Tags
from asyncupbankapi.models.transactions import Transaction, Transactions
from a... | 56.375 | 88 | 0.840355 | 52 | 451 | 7.288462 | 0.519231 | 0.28496 | 0.379947 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101996 | 451 | 7 | 89 | 64.428571 | 0.935802 | 0.128603 | 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 | 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 |
eaba397d14e6e76eb9cd3b451361cca81b073b6f | 14,546 | py | Python | tests/api/v1/test_fields.py | omertuc/CTFd | 2d2674aceee07c468742d9e2b48479df95089c45 | [
"Apache-2.0"
] | 3,592 | 2017-03-12T19:44:07.000Z | 2022-03-30T16:03:33.000Z | tests/api/v1/test_fields.py | omertuc/CTFd | 2d2674aceee07c468742d9e2b48479df95089c45 | [
"Apache-2.0"
] | 1,648 | 2017-03-12T23:44:34.000Z | 2022-03-31T15:28:38.000Z | tests/api/v1/test_fields.py | omertuc/CTFd | 2d2674aceee07c468742d9e2b48479df95089c45 | [
"Apache-2.0"
] | 1,736 | 2017-03-13T14:01:28.000Z | 2022-03-31T08:14:24.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from CTFd.models import Fields, TeamFieldEntries, Teams, UserFieldEntries, Users
from tests.helpers import (
create_ctfd,
destroy_ctfd,
gen_field,
gen_team,
login_as_user,
register_user,
)
def test_api_custom_fields():
app = create_ctfd()
... | 34.882494 | 87 | 0.440533 | 1,306 | 14,546 | 4.772588 | 0.096478 | 0.013477 | 0.039628 | 0.038184 | 0.871651 | 0.838922 | 0.783411 | 0.755816 | 0.731269 | 0.676721 | 0 | 0.023517 | 0.429946 | 14,546 | 416 | 88 | 34.966346 | 0.728172 | 0.014781 | 0 | 0.685637 | 0 | 0 | 0.172972 | 0.029736 | 0 | 0 | 0 | 0 | 0.124661 | 1 | 0.01355 | false | 0.00271 | 0.00542 | 0 | 0.01897 | 0.00271 | 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 |
d814bb85a11d6a82daadb95642fb12ef8f0f52bd | 246 | py | Python | tests/wfm/common.py | Pasarus/ess | ec0a7e3080137c51316513c394903d5d98473b44 | [
"BSD-3-Clause"
] | null | null | null | tests/wfm/common.py | Pasarus/ess | ec0a7e3080137c51316513c394903d5d98473b44 | [
"BSD-3-Clause"
] | null | null | null | tests/wfm/common.py | Pasarus/ess | ec0a7e3080137c51316513c394903d5d98473b44 | [
"BSD-3-Clause"
] | null | null | null | # SPDX-License-Identifier: BSD-3-Clause
# Copyright (c) 2021 Scipp contributors (https://github.com/scipp)
import scipp as sc
# TODO replace with sc.allclose after 0.8 scipp release
def allclose(x, y):
return sc.all(sc.isclose(x, y)).value
| 27.333333 | 66 | 0.731707 | 41 | 246 | 4.390244 | 0.780488 | 0.022222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033175 | 0.142276 | 246 | 8 | 67 | 30.75 | 0.819905 | 0.634146 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 0 | 1 | 0.333333 | false | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
d82b3d6d5751c5bcb5a63d857e5df18689b4fee5 | 215 | py | Python | conversational_sentence_encoder/definitions.py | SamEleos/ConveRT | 311ec836e029aaa96b0bc93f1d1575ff8f8d359c | [
"Apache-2.0"
] | 38 | 2020-11-08T18:30:29.000Z | 2022-03-01T09:29:54.000Z | conversational_sentence_encoder/definitions.py | SamEleos/ConveRT | 311ec836e029aaa96b0bc93f1d1575ff8f8d359c | [
"Apache-2.0"
] | 2 | 2021-02-19T15:02:59.000Z | 2021-07-16T15:38:05.000Z | conversational_sentence_encoder/definitions.py | SamEleos/ConveRT | 311ec836e029aaa96b0bc93f1d1575ff8f8d359c | [
"Apache-2.0"
] | 10 | 2020-11-20T08:11:41.000Z | 2022-02-28T18:33:10.000Z |
nocontext_model = "https://github.com/davidalami/ConveRT/releases/download/1.0/nocontext_tf_model.tar.gz"
multicontext_model = "https://github.com/davidalami/ConveRT/releases/download/1.0/multicontext_tf_model.tar" | 71.666667 | 108 | 0.827907 | 31 | 215 | 5.548387 | 0.483871 | 0.116279 | 0.186047 | 0.22093 | 0.627907 | 0.627907 | 0.627907 | 0.627907 | 0.627907 | 0.627907 | 0 | 0.019139 | 0.027907 | 215 | 3 | 108 | 71.666667 | 0.803828 | 0 | 0 | 0 | 0 | 1 | 0.790698 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
dc46fed9cd426c0f10b6a777303cc423911ea2ff | 92 | py | Python | lib/layers/diffeq_layers/__init__.py | arnabgho/ffjord | 06343e840b9d01c67a69508550be6447341fcdb6 | [
"MIT"
] | 518 | 2018-11-14T19:03:52.000Z | 2022-03-31T10:44:24.000Z | lib/layers/diffeq_layers/__init__.py | arnabgho/ffjord | 06343e840b9d01c67a69508550be6447341fcdb6 | [
"MIT"
] | 18 | 2020-06-03T22:12:01.000Z | 2022-02-16T16:17:28.000Z | lib/layers/diffeq_layers/__init__.py | arnabgho/ffjord | 06343e840b9d01c67a69508550be6447341fcdb6 | [
"MIT"
] | 134 | 2018-11-15T23:06:03.000Z | 2022-01-13T22:30:03.000Z | from .container import *
from .resnet import *
from .basic import *
from .wrappers import *
| 18.4 | 24 | 0.73913 | 12 | 92 | 5.666667 | 0.5 | 0.441176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 92 | 4 | 25 | 23 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
dc86adaaff40f927c39c4d5b583cfbaddfdbf4b3 | 18,600 | py | Python | phasor/optics/polarization.py | mccullerlp/OpenLoop | fe86dc6dec3740d4b6be6b88d8eef8566e2aa78d | [
"Apache-2.0"
] | 5 | 2018-02-28T00:43:37.000Z | 2020-01-21T11:39:15.000Z | phasor/optics/polarization.py | mccullerlp/OpenLoop | fe86dc6dec3740d4b6be6b88d8eef8566e2aa78d | [
"Apache-2.0"
] | 1 | 2019-09-07T23:15:43.000Z | 2019-09-07T23:15:43.000Z | phasor/optics/polarization.py | mccullerlp/OpenLoop | fe86dc6dec3740d4b6be6b88d8eef8566e2aa78d | [
"Apache-2.0"
] | 1 | 2020-08-21T04:42:09.000Z | 2020-08-21T04:42:09.000Z | # -*- coding: utf-8 -*-
"""
"""
from __future__ import division, print_function, unicode_literals
import declarative as decl
from ..utilities.future_from_2 import super
from . import bases
from . import ports
from .mirror import Mirror
from .selective_mirrors import PolarizingMirror
from . import standard_attrs
cl... | 36.54224 | 111 | 0.472204 | 1,846 | 18,600 | 4.519502 | 0.077465 | 0.082584 | 0.088098 | 0.045188 | 0.777778 | 0.745295 | 0.733789 | 0.725758 | 0.709697 | 0.709697 | 0 | 0.016145 | 0.447204 | 18,600 | 508 | 112 | 36.614173 | 0.795273 | 0.005376 | 0 | 0.751634 | 0 | 0 | 0.003083 | 0 | 0 | 0 | 0 | 0.001969 | 0 | 1 | 0.050109 | false | 0.008715 | 0.017429 | 0.019608 | 0.137255 | 0.002179 | 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 |
dcbacc4928a81a3b3a1b736699210b11d1fae816 | 4,177 | py | Python | migrations/versions/f6056503a291_v0_1_0_feature_157.py | BoostryJP/ibet-Prime | 924e7f8da4f8feea0a572e8b5532e09bcdf2dc99 | [
"Apache-2.0"
] | 2 | 2021-08-19T12:35:25.000Z | 2022-02-16T04:13:38.000Z | migrations/versions/f6056503a291_v0_1_0_feature_157.py | BoostryJP/ibet-Prime | 924e7f8da4f8feea0a572e8b5532e09bcdf2dc99 | [
"Apache-2.0"
] | 46 | 2021-09-02T03:22:05.000Z | 2022-03-31T09:20:00.000Z | migrations/versions/f6056503a291_v0_1_0_feature_157.py | BoostryJP/ibet-Prime | 924e7f8da4f8feea0a572e8b5532e09bcdf2dc99 | [
"Apache-2.0"
] | 1 | 2021-11-17T23:18:27.000Z | 2021-11-17T23:18:27.000Z | """v0.1.0_feature/#157
Revision ID: f6056503a291
Revises: 0d4133a5b0e3
Create Date: 2021-06-23 16:00:23.143197
"""
from alembic import op
import sqlalchemy as sa
from app.database import get_db_schema, engine
# revision identifiers, used by Alembic.
revision = 'f6056503a291'
down_revision = '0d4133a5b0e3'
branch_l... | 60.536232 | 144 | 0.75006 | 621 | 4,177 | 4.681159 | 0.133655 | 0.181631 | 0.107327 | 0.128655 | 0.857929 | 0.812178 | 0.762986 | 0.762986 | 0.707258 | 0.685931 | 0 | 0.021219 | 0.119943 | 4,177 | 68 | 145 | 61.426471 | 0.769587 | 0.482643 | 0 | 0.275862 | 0 | 0 | 0.457338 | 0.227206 | 0 | 0 | 0 | 0 | 0 | 1 | 0.068966 | false | 0 | 0.103448 | 0 | 0.172414 | 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 |
f4ef2a75f8cd489d939df4440f17d4293a5beb56 | 36 | py | Python | src/__init__.py | grzegorznowak/tensorflow-rrn-server | 1011ea465c298263fa177ba34ba0db0897985d8f | [
"Unlicense"
] | null | null | null | src/__init__.py | grzegorznowak/tensorflow-rrn-server | 1011ea465c298263fa177ba34ba0db0897985d8f | [
"Unlicense"
] | 4 | 2018-02-12T11:13:54.000Z | 2018-02-12T20:24:23.000Z | src/__init__.py | grzegorznowak/tensorflow-rrn-server | 1011ea465c298263fa177ba34ba0db0897985d8f | [
"Unlicense"
] | 1 | 2018-02-11T23:19:47.000Z | 2018-02-11T23:19:47.000Z | from . import rnn_time_series_server | 36 | 36 | 0.888889 | 6 | 36 | 4.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 36 | 1 | 36 | 36 | 0.878788 | 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 |
761380b5806666a88551f4e37c9e6ba3f6f12400 | 34,715 | py | Python | tests/test_constrained_numbers.py | LiamPattinson/proper_tea | 617a4916db0b4a0e63fa14f80eec35c6f9acc74e | [
"MIT"
] | 1 | 2022-02-07T16:47:45.000Z | 2022-02-07T16:47:45.000Z | tests/test_constrained_numbers.py | LiamPattinson/proper_tea | 617a4916db0b4a0e63fa14f80eec35c6f9acc74e | [
"MIT"
] | 1 | 2022-02-09T11:11:32.000Z | 2022-02-10T16:45:45.000Z | tests/test_constrained_numbers.py | LiamPattinson/proper_tea | 617a4916db0b4a0e63fa14f80eec35c6f9acc74e | [
"MIT"
] | null | null | null | import proper_tea as pt
import pytest
from itertools import product
@pytest.fixture
def basic_test():
class MyClass:
floating_point = pt.floating_point()
integer = pt.integer()
boolean = pt.boolean()
return MyClass()
class TestBasics:
def test_floating_point(self, basic_test):
... | 43.557089 | 86 | 0.62751 | 4,784 | 34,715 | 4.331731 | 0.026129 | 0.067075 | 0.077981 | 0.126719 | 0.94909 | 0.934469 | 0.902862 | 0.869565 | 0.820586 | 0.780196 | 0 | 0.015202 | 0.287541 | 34,715 | 796 | 87 | 43.611809 | 0.822666 | 0.093389 | 0 | 0.634992 | 0 | 0 | 0.034349 | 0 | 0 | 0 | 0 | 0 | 0.309201 | 1 | 0.043741 | false | 0 | 0.004525 | 0.001508 | 0.099548 | 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 |
520fae20a058a9b45fe50d3346dbfb706cc55341 | 203 | py | Python | idle.py | oudoubleyang/KumaTea-bot | 6e6d7b200decf89c1cfbca870a461ac5d04c6a10 | [
"MIT"
] | null | null | null | idle.py | oudoubleyang/KumaTea-bot | 6e6d7b200decf89c1cfbca870a461ac5d04c6a10 | [
"MIT"
] | null | null | null | idle.py | oudoubleyang/KumaTea-bot | 6e6d7b200decf89c1cfbca870a461ac5d04c6a10 | [
"MIT"
] | null | null | null | from session import idle_mark
def set_busy(operation):
def wrapper(*args, **kwargs):
idle_mark.buf[0] = 0
operation(*args, **kwargs)
idle_mark.buf[0] = 1
return wrapper
| 20.3 | 34 | 0.62069 | 28 | 203 | 4.357143 | 0.571429 | 0.196721 | 0.229508 | 0.295082 | 0.360656 | 0.360656 | 0 | 0 | 0 | 0 | 0 | 0.026667 | 0.261084 | 203 | 9 | 35 | 22.555556 | 0.786667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.142857 | 0 | 0.571429 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
5219acb28e253d76c57a33161817b2dec24cc844 | 1,502 | py | Python | robot/migrations/0004_auto_20200104_1405.py | Misschl/wechat | 8ce76dae32b1086bb83ee6e3fe64cf84845012c0 | [
"Apache-2.0"
] | 1 | 2020-01-07T06:51:19.000Z | 2020-01-07T06:51:19.000Z | robot/migrations/0004_auto_20200104_1405.py | Misschl/wechat | 8ce76dae32b1086bb83ee6e3fe64cf84845012c0 | [
"Apache-2.0"
] | null | null | null | robot/migrations/0004_auto_20200104_1405.py | Misschl/wechat | 8ce76dae32b1086bb83ee6e3fe64cf84845012c0 | [
"Apache-2.0"
] | null | null | null | # Generated by Django 2.1.5 on 2020-01-04 14:05
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('robot', '0003_auto_20200104_1236'),
]
operations = [
migrations.AlterField(
model_name='appmodel',
name='insert_time... | 30.653061 | 79 | 0.57723 | 147 | 1,502 | 5.680272 | 0.319728 | 0.167665 | 0.209581 | 0.243114 | 0.776048 | 0.776048 | 0.644311 | 0.644311 | 0.644311 | 0.644311 | 0 | 0.029722 | 0.305593 | 1,502 | 48 | 80 | 31.291667 | 0.770853 | 0.02996 | 0 | 0.785714 | 1 | 0 | 0.120275 | 0.015808 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.02381 | 0 | 0.095238 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
521f997ffbc78cfe164d99778ed26b87425cbb5f | 27 | py | Python | src/data/alphabets/elements.py | PhilHarnish/forge | 663f19d759b94d84935c14915922070635a4af65 | [
"MIT"
] | 2 | 2020-08-18T18:43:09.000Z | 2020-08-18T20:05:59.000Z | src/data/alphabets/elements.py | PhilHarnish/forge | 663f19d759b94d84935c14915922070635a4af65 | [
"MIT"
] | null | null | null | src/data/alphabets/elements.py | PhilHarnish/forge | 663f19d759b94d84935c14915922070635a4af65 | [
"MIT"
] | null | null | null | # TODO: Element JSON data.
| 13.5 | 26 | 0.703704 | 4 | 27 | 4.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.185185 | 27 | 1 | 27 | 27 | 0.863636 | 0.888889 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 1 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
524eeeb2e1c5a576f64146964b53d9ef941d4794 | 11,296 | py | Python | graviti/openapi/sheet.py | AChenQ/graviti-python-sdk | e321234c05d6c2cbaf55c2314b4bcdfba0e152d7 | [
"MIT"
] | null | null | null | graviti/openapi/sheet.py | AChenQ/graviti-python-sdk | e321234c05d6c2cbaf55c2314b4bcdfba0e152d7 | [
"MIT"
] | null | null | null | graviti/openapi/sheet.py | AChenQ/graviti-python-sdk | e321234c05d6c2cbaf55c2314b4bcdfba0e152d7 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
#
# Copyright 2022 Graviti. Licensed under MIT License.
#
"""Interfaces about the sheet."""
from typing import Any, Dict, Optional
from urllib.parse import urljoin
from graviti.openapi.requests import open_api_do
def _list_sheet(
access_key: str,
url: str,
with_record_count: Opti... | 31.20442 | 100 | 0.560641 | 1,324 | 11,296 | 4.623867 | 0.120091 | 0.057498 | 0.063705 | 0.043123 | 0.818523 | 0.81297 | 0.81297 | 0.804476 | 0.780627 | 0.774257 | 0 | 0.031694 | 0.296123 | 11,296 | 361 | 101 | 31.290859 | 0.738272 | 0.601894 | 0 | 0.692308 | 0 | 0 | 0.13319 | 0.098818 | 0 | 0 | 0 | 0 | 0 | 1 | 0.068376 | false | 0 | 0.025641 | 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 |
52631bf8590822d6db16e7a6d2cdb9fbec82d642 | 20,505 | py | Python | misc/visitplot.py | barbagroup/cloud-repro | ca1a4fbf2188219d3d326e2d56f6cf79ae552eb8 | [
"BSD-3-Clause"
] | 9 | 2019-09-19T17:27:22.000Z | 2021-12-01T03:23:16.000Z | misc/visitplot.py | barbagroup/cloud-repro | ca1a4fbf2188219d3d326e2d56f6cf79ae552eb8 | [
"BSD-3-Clause"
] | 3 | 2019-07-29T13:25:03.000Z | 2020-05-05T19:51:41.000Z | misc/visitplot.py | barbagroup/cloud-repro | ca1a4fbf2188219d3d326e2d56f6cf79ae552eb8 | [
"BSD-3-Clause"
] | 5 | 2019-06-21T11:35:44.000Z | 2021-12-01T03:23:32.000Z | """Functions to generate plots of the flow field with VisIt."""
import os
import sys
import yaml
def visit_check_version(version):
# Check version of VisIt.
script_version = '2.12.1'
tested_versions = [script_version, '2.12.3']
print('VisIt version: {}\n'.format(version))
if version not in tested... | 44.002146 | 161 | 0.666081 | 2,304 | 20,505 | 5.796875 | 0.136285 | 0.017221 | 0.04717 | 0.083109 | 0.800913 | 0.78257 | 0.766771 | 0.735475 | 0.696391 | 0.652291 | 0 | 0.019883 | 0.224921 | 20,505 | 465 | 162 | 44.096774 | 0.820487 | 0.083053 | 0 | 0.61326 | 1 | 0 | 0.222074 | 0.121141 | 0 | 0 | 0 | 0 | 0 | 1 | 0.01105 | false | 0 | 0.016575 | 0 | 0.038674 | 0.022099 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
bfec549b06e1505995d70270e0b8e9dcade976e4 | 55 | py | Python | fftbg/brains/__main__.py | rainbowbismuth/birb-brains-bot | f168ec06c5c5cc8d41589437c6f91f0d97289167 | [
"MIT"
] | 1 | 2020-12-01T01:31:31.000Z | 2020-12-01T01:31:31.000Z | fftbg/brains/__main__.py | rainbowbismuth/birb-brains-bot | f168ec06c5c5cc8d41589437c6f91f0d97289167 | [
"MIT"
] | 2 | 2021-05-30T21:10:16.000Z | 2021-05-30T21:10:44.000Z | fftbg/brains/__main__.py | rainbowbismuth/birb-brains-bot | f168ec06c5c5cc8d41589437c6f91f0d97289167 | [
"MIT"
] | null | null | null | import fftbg.brains.server
fftbg.brains.server.main()
| 13.75 | 26 | 0.8 | 8 | 55 | 5.5 | 0.625 | 0.5 | 0.772727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.072727 | 55 | 3 | 27 | 18.333333 | 0.862745 | 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 |
bff92731eb56641d56298c3385b69dd89c2024c8 | 232 | py | Python | src/test_corpus.py | karianjahi/word_processing | ee653d63a6b81c8efb8134f396ab55fa72a4d106 | [
"MIT"
] | null | null | null | src/test_corpus.py | karianjahi/word_processing | ee653d63a6b81c8efb8134f396ab55fa72a4d106 | [
"MIT"
] | null | null | null | src/test_corpus.py | karianjahi/word_processing | ee653d63a6b81c8efb8134f396ab55fa72a4d106 | [
"MIT"
] | null | null | null | from word_processor import count_words
def test_corpus(get_text_from_file):
"""
testing a fixture
:param get_text_from_file: name of the function
:return: None
"""
assert count_words(get_text_from_file) > 10 | 25.777778 | 51 | 0.728448 | 35 | 232 | 4.457143 | 0.685714 | 0.134615 | 0.211538 | 0.288462 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010811 | 0.202586 | 232 | 9 | 52 | 25.777778 | 0.832432 | 0.340517 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 0.666667 | 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 | 1 | 0 | 1 | 0 | 0 | 6 |
5e3f6e7548f8ce955ae028387cb670c6eae2b85c | 1,364 | py | Python | course/code/tests/backend.py | vadym-khodak/python-basic-course | e62f03e4828edd30f44e97a3fab5089f79880dc3 | [
"MIT"
] | 1 | 2022-01-31T15:12:37.000Z | 2022-01-31T15:12:37.000Z | course/code/tests/backend.py | vadym-khodak/python-basic-course | e62f03e4828edd30f44e97a3fab5089f79880dc3 | [
"MIT"
] | 1 | 2022-02-03T19:07:06.000Z | 2022-02-03T19:07:06.000Z | course/code/tests/backend.py | vadym-khodak/python-basic-course | e62f03e4828edd30f44e97a3fab5089f79880dc3 | [
"MIT"
] | null | null | null | def test_index():
from .web import app
# GIVEN a Flask test client
with app.test_client() as client:
# WHEN send get request to "/" url
response = client.get("/")
# THEN response status equals 200 and content_type should be text/html
assert response.status_code == 200
... | 29.021277 | 110 | 0.645894 | 185 | 1,364 | 4.632432 | 0.27027 | 0.130688 | 0.084014 | 0.056009 | 0.850642 | 0.756126 | 0.756126 | 0.724621 | 0.724621 | 0.614936 | 0 | 0.019743 | 0.257331 | 1,364 | 46 | 111 | 29.652174 | 0.826259 | 0.331378 | 0 | 0.5 | 0 | 0 | 0.113082 | 0 | 0 | 0 | 0 | 0 | 0.363636 | 1 | 0.136364 | false | 0.045455 | 0.136364 | 0 | 0.272727 | 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 |
5e4ff7b7f52ffe03d7a2b49cf869a0f25f2931cc | 22,989 | py | Python | tests/test_negative_cache.py | marceljahnke/negative-cache | 8b1ac5995915631b42a756159b9f1dd796736975 | [
"Apache-2.0"
] | 1 | 2022-01-26T08:27:45.000Z | 2022-01-26T08:27:45.000Z | tests/test_negative_cache.py | marceljahnke/negative-cache | 8b1ac5995915631b42a756159b9f1dd796736975 | [
"Apache-2.0"
] | null | null | null | tests/test_negative_cache.py | marceljahnke/negative-cache | 8b1ac5995915631b42a756159b9f1dd796736975 | [
"Apache-2.0"
] | 1 | 2022-02-26T07:54:29.000Z | 2022-02-26T07:54:29.000Z | # coding=utf-8
# Copyright 2022 Marcel Jahnke
# Copyright 2022 The Google Research Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
... | 38.124378 | 106 | 0.516551 | 2,696 | 22,989 | 4.262982 | 0.072329 | 0.100931 | 0.109632 | 0.022274 | 0.902897 | 0.879927 | 0.855042 | 0.840425 | 0.818846 | 0.792047 | 0 | 0.064463 | 0.342077 | 22,989 | 602 | 107 | 38.187708 | 0.695405 | 0.068642 | 0 | 0.626838 | 0 | 0 | 0.006062 | 0 | 0 | 0 | 0 | 0 | 0.102941 | 1 | 0.027574 | false | 0 | 0.009191 | 0 | 0.038603 | 0.001838 | 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 |
5e776e84ee4e64f5fbd811532c63dae95298c636 | 4,582 | py | Python | flatdata-generator/tests/generators/py_expectations/archives/subarchive.py | heremaps/flatdata | 42e62c00a25d9b65930c90044578a583efb6ed6d | [
"Apache-2.0"
] | 140 | 2018-01-26T21:59:38.000Z | 2022-02-17T10:23:29.000Z | flatdata-generator/tests/generators/py_expectations/archives/subarchive.py | VeaaC/flatdata | 5df78d89938dbbd1566fa85d417b9674ef402561 | [
"Apache-2.0"
] | 114 | 2018-01-26T17:49:20.000Z | 2021-11-26T13:27:08.000Z | flatdata-generator/tests/generators/py_expectations/archives/subarchive.py | VeaaC/flatdata | 5df78d89938dbbd1566fa85d417b9674ef402561 | [
"Apache-2.0"
] | 22 | 2018-01-26T16:51:24.000Z | 2021-04-27T13:32:44.000Z | class n_X(flatdata.archive.Archive):
_SCHEMA = """namespace n {
archive X
{
payload : raw_data;
}
}
"""
_PAYLOAD_SCHEMA = """namespace n {
archive X
{
payload : raw_data;
}
}
"""
_PAYLOAD_DOC = """"""
_NAME = "X"
_RESOURCES = {
"X.archive" : flatdata.archive.ResourceSignature(
... | 20.922374 | 103 | 0.614579 | 459 | 4,582 | 5.797386 | 0.071895 | 0.124014 | 0.102217 | 0.086434 | 0.990981 | 0.990981 | 0.988726 | 0.988726 | 0.988726 | 0.988726 | 0 | 0 | 0.27237 | 4,582 | 219 | 104 | 20.922374 | 0.79814 | 0 | 0 | 0.663265 | 0 | 0 | 0.258346 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.020408 | false | 0 | 0 | 0 | 0.163265 | 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 |
0d696924aed45c65c31e7672ba5da79fc4150e55 | 256 | py | Python | file/WatchDogFileHandler.py | compix/MetadataManagerCore | 59ff0bd908d69c624834d72e64f4e0bff01f2a49 | [
"MIT"
] | null | null | null | file/WatchDogFileHandler.py | compix/MetadataManagerCore | 59ff0bd908d69c624834d72e64f4e0bff01f2a49 | [
"MIT"
] | null | null | null | file/WatchDogFileHandler.py | compix/MetadataManagerCore | 59ff0bd908d69c624834d72e64f4e0bff01f2a49 | [
"MIT"
] | null | null | null | from MetadataManagerCore.file.FileHandler import FileHandler
from MetadataManagerCore.file.WatchDog import WatchDog
class WatchDogFileHandler(FileHandler):
def __init__(self) -> None:
super().__init__()
self.watchDog : WatchDog = None | 32 | 60 | 0.761719 | 25 | 256 | 7.48 | 0.52 | 0.245989 | 0.28877 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.160156 | 256 | 8 | 61 | 32 | 0.869767 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0d8ed5d479a6771d6d90986c1f480093a796d3b4 | 141 | py | Python | home/views.py | smlaming/Roomate-Finder | 864d6633f4303b53596d8fe62572bf7808c6c443 | [
"MIT"
] | null | null | null | home/views.py | smlaming/Roomate-Finder | 864d6633f4303b53596d8fe62572bf7808c6c443 | [
"MIT"
] | null | null | null | home/views.py | smlaming/Roomate-Finder | 864d6633f4303b53596d8fe62572bf7808c6c443 | [
"MIT"
] | null | null | null | # Create your views here.
from django.http import HttpResponse
def index(request):
return HttpResponse("Our roommate finder page ^_^")
| 20.142857 | 55 | 0.751773 | 18 | 141 | 5.833333 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163121 | 141 | 6 | 56 | 23.5 | 0.889831 | 0.163121 | 0 | 0 | 0 | 0 | 0.241379 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
0da375ff032090ac25414b4af7dcffe8a5903028 | 21,863 | py | Python | matrix-python-project/cover_generator/typesetting/model/four.py | hokaso/hocassian-media-matrix | 2c2e5a4c72dfa43d2eed0f083f5b19238aea2765 | [
"MIT"
] | 141 | 2021-06-27T03:18:54.000Z | 2022-03-17T03:24:26.000Z | matrix-python-project/cover_generator/typesetting/model/four.py | hokaso/hocassian-media-matrix | 2c2e5a4c72dfa43d2eed0f083f5b19238aea2765 | [
"MIT"
] | 1 | 2021-08-06T17:35:01.000Z | 2021-08-06T17:35:01.000Z | matrix-python-project/cover_generator/typesetting/model/four.py | hokaso/hocassian-media-matrix | 2c2e5a4c72dfa43d2eed0f083f5b19238aea2765 | [
"MIT"
] | 24 | 2021-06-29T01:58:59.000Z | 2022-03-02T01:42:43.000Z | import sys, os, time, json, random
from PIL import Image, ImageDraw, ImageFont, ImageFilter
from cover_generator.typesetting.more import More
from cover_generator.typesetting.mark import Mark
from cover_generator.typesetting.build import Build
from utils.snow_id import SnowId
sys.path.append(os.getcwd())
class Four(... | 36.682886 | 98 | 0.551251 | 2,974 | 21,863 | 3.866174 | 0.038668 | 0.053748 | 0.088015 | 0.112019 | 0.914159 | 0.903896 | 0.895547 | 0.878935 | 0.841799 | 0.811272 | 0 | 0.056967 | 0.27096 | 21,863 | 595 | 99 | 36.744538 | 0.664408 | 0.055253 | 0 | 0.6 | 0 | 0 | 0.101077 | 0.003312 | 0 | 0 | 0 | 0 | 0 | 1 | 0.055556 | false | 0 | 0.016667 | 0.025 | 0.1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0deb181f3e5c360ee58a4abcc80c6bebbba60d4f | 4,811 | py | Python | src/frr/tests/topotests/bgp_l3vpn_to_bgp_direct/scripts/add_routes.py | zhouhaifeng/vpe | 9c644ffd561988e5740021ed26e0f7739844353d | [
"Apache-2.0"
] | null | null | null | src/frr/tests/topotests/bgp_l3vpn_to_bgp_direct/scripts/add_routes.py | zhouhaifeng/vpe | 9c644ffd561988e5740021ed26e0f7739844353d | [
"Apache-2.0"
] | null | null | null | src/frr/tests/topotests/bgp_l3vpn_to_bgp_direct/scripts/add_routes.py | zhouhaifeng/vpe | 9c644ffd561988e5740021ed26e0f7739844353d | [
"Apache-2.0"
] | null | null | null | from lib.lutil import luCommand
luCommand(
"r1", 'vtysh -c "show bgp next"', "99.0.0.. valid", "wait", "See CE static NH"
)
luCommand(
"r3", 'vtysh -c "show bgp next"', "99.0.0.. valid", "wait", "See CE static NH"
)
luCommand(
"r4", 'vtysh -c "show bgp next"', "99.0.0.. valid", "wait", "See CE static NH"
)... | 24.798969 | 88 | 0.549574 | 701 | 4,811 | 3.771755 | 0.087019 | 0.09531 | 0.147504 | 0.118003 | 0.948185 | 0.938351 | 0.923222 | 0.847958 | 0.847201 | 0.781392 | 0 | 0.087017 | 0.247558 | 4,811 | 193 | 89 | 24.927461 | 0.64337 | 0 | 0 | 0.684492 | 0 | 0 | 0.578674 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.005348 | 0.122995 | 0 | 0.122995 | 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 |
217553147fafba3de640bf80f61309a4f93cb5db | 66 | py | Python | uq360/algorithms/classification_calibration/__init__.py | Sclare87/UQ360 | 2378bfa4a8d61f813afbf6854341888434c9eb11 | [
"Apache-2.0"
] | 148 | 2021-05-27T20:52:51.000Z | 2022-03-16T22:49:48.000Z | uq360/algorithms/classification_calibration/__init__.py | Sclare87/UQ360 | 2378bfa4a8d61f813afbf6854341888434c9eb11 | [
"Apache-2.0"
] | 9 | 2021-06-21T18:45:07.000Z | 2021-11-08T14:42:30.000Z | uq360/algorithms/classification_calibration/__init__.py | Sclare87/UQ360 | 2378bfa4a8d61f813afbf6854341888434c9eb11 | [
"Apache-2.0"
] | 27 | 2021-06-01T18:29:02.000Z | 2022-03-02T06:56:03.000Z | from .classification_calibration import ClassificationCalibration
| 33 | 65 | 0.924242 | 5 | 66 | 12 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.060606 | 66 | 1 | 66 | 66 | 0.967742 | 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 |
2178a012104cc40af268f1e87a0a1f6424e3beea | 9,762 | py | Python | storage/per_buffer.py | nsortur/equi_rl | 83bd2ee9dfaab715e51b71ffff90ab990aaed5f8 | [
"MIT"
] | 9 | 2022-02-20T18:18:51.000Z | 2022-03-24T03:04:44.000Z | storage/per_buffer.py | nsortur/equi_rl | 83bd2ee9dfaab715e51b71ffff90ab990aaed5f8 | [
"MIT"
] | null | null | null | storage/per_buffer.py | nsortur/equi_rl | 83bd2ee9dfaab715e51b71ffff90ab990aaed5f8 | [
"MIT"
] | 2 | 2022-02-19T05:17:06.000Z | 2022-02-21T20:53:26.000Z | import sys
import numpy as np
import random
from .buffer import QLearningBuffer, QLearningBufferExpert
from .segment_tree import SumSegmentTree, MinSegmentTree
NORMAL = 0
EXPERT = 1
class PrioritizedQLearningBuffer:
def __init__(self, size, alpha, base_buffer=NORMAL):
if base_buffer == EXPERT:
... | 35.627737 | 94 | 0.579287 | 1,109 | 9,762 | 4.864743 | 0.13706 | 0.035589 | 0.033364 | 0.013346 | 0.843188 | 0.835774 | 0.835774 | 0.835774 | 0.835774 | 0.835774 | 0 | 0.006356 | 0.32309 | 9,762 | 273 | 95 | 35.758242 | 0.810079 | 0.612375 | 0 | 0 | 0 | 0 | 0.02658 | 0 | 0 | 0 | 0 | 0 | 0.060976 | 1 | 0.121951 | false | 0 | 0.060976 | 0.02439 | 0.256098 | 0.02439 | 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 |
217bf266e87ce20c95654f207de827f0ad1c2ca4 | 25 | py | Python | dml/__init__.py | Vinegret43/Dialog-Markup-Language | f4659d2bad1e8ef0a1c1c8ff39ed6703f062ca33 | [
"MIT"
] | null | null | null | dml/__init__.py | Vinegret43/Dialog-Markup-Language | f4659d2bad1e8ef0a1c1c8ff39ed6703f062ca33 | [
"MIT"
] | null | null | null | dml/__init__.py | Vinegret43/Dialog-Markup-Language | f4659d2bad1e8ef0a1c1c8ff39ed6703f062ca33 | [
"MIT"
] | null | null | null |
from .dialog import Dml
| 8.333333 | 23 | 0.76 | 4 | 25 | 4.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 25 | 2 | 24 | 12.5 | 0.95 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
218826ac50bc3ce94386274635382521790f8fcd | 41 | py | Python | Model/G2E/__init__.py | Yottaxx/T-LSTM | 92618d8c3ee2418b194a2e1592512548da955b77 | [
"MIT"
] | 9 | 2020-05-23T05:40:27.000Z | 2021-11-19T01:29:36.000Z | Model/G2E/__init__.py | ayyyq/T-LSTM | 36dbc88ac710d3925851cd87c2368ecfc7061b70 | [
"MIT"
] | 1 | 2020-11-29T04:35:52.000Z | 2021-01-29T07:39:37.000Z | Model/G2E/__init__.py | Yottaxx/T-LSTM | 92618d8c3ee2418b194a2e1592512548da955b77 | [
"MIT"
] | 2 | 2020-10-26T13:42:49.000Z | 2020-11-01T02:01:33.000Z | from .GraphStateEEP import GraphState2eep | 41 | 41 | 0.902439 | 4 | 41 | 9.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026316 | 0.073171 | 41 | 1 | 41 | 41 | 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 |
2199f1233443485901838dcc18b073c8b2d5ea50 | 27,094 | py | Python | sandbox/grist/test_types.py | combinatorist/grist-core | 9a6369a4ff2ebe9f0ad477cd43b90fb2b8341b36 | [
"Apache-2.0"
] | null | null | null | sandbox/grist/test_types.py | combinatorist/grist-core | 9a6369a4ff2ebe9f0ad477cd43b90fb2b8341b36 | [
"Apache-2.0"
] | null | null | null | sandbox/grist/test_types.py | combinatorist/grist-core | 9a6369a4ff2ebe9f0ad477cd43b90fb2b8341b36 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# pylint: disable=line-too-long
import logger
import testutil
import test_engine
log = logger.Logger(__name__, logger.INFO)
class TestTypes(test_engine.EngineTestCase):
sample = testutil.parse_test_sample({
"SCHEMA": [
[1, "Types", [
[21, "text", "Text", False, "", "... | 44.489327 | 101 | 0.502288 | 2,829 | 27,094 | 4.717568 | 0.051255 | 0.011389 | 0.009441 | 0.086917 | 0.904391 | 0.885883 | 0.861606 | 0.818897 | 0.775513 | 0.642964 | 0 | 0.090645 | 0.289474 | 27,094 | 608 | 102 | 44.5625 | 0.602618 | 0.088285 | 0 | 0.579268 | 0 | 0 | 0.271251 | 0.001224 | 0 | 0 | 0 | 0 | 0.067073 | 1 | 0.014228 | false | 0 | 0.006098 | 0 | 0.026423 | 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 |
21fe1042e06610490194c733ac8677ef24f9fc1d | 101 | py | Python | emtcyclegan/utils.py | dhritimaandas/EMT-CycleGAN | 6a36b5adc329b4a9decc00e7351d5fa804bf8abe | [
"MIT"
] | null | null | null | emtcyclegan/utils.py | dhritimaandas/EMT-CycleGAN | 6a36b5adc329b4a9decc00e7351d5fa804bf8abe | [
"MIT"
] | null | null | null | emtcyclegan/utils.py | dhritimaandas/EMT-CycleGAN | 6a36b5adc329b4a9decc00e7351d5fa804bf8abe | [
"MIT"
] | null | null | null | def initialize_weights_normal(network):
pass
def initialize_weights_xavier(network):
pass
| 12.625 | 39 | 0.772277 | 12 | 101 | 6.166667 | 0.583333 | 0.351351 | 0.540541 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168317 | 101 | 7 | 40 | 14.428571 | 0.880952 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0.5 | 0 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
df7dc207599808cd300532991432868fafd07e5f | 33 | py | Python | exetera/io/__init__.py | deng113jie/ExeTera | 613532a419b93a9838bf5ae5594fc7bb9738cd03 | [
"Apache-2.0"
] | 14 | 2021-03-01T16:57:46.000Z | 2021-12-01T10:49:19.000Z | exetera/io/__init__.py | deng113jie/ExeTera | 613532a419b93a9838bf5ae5594fc7bb9738cd03 | [
"Apache-2.0"
] | 208 | 2021-02-16T13:47:04.000Z | 2022-03-31T11:27:03.000Z | exetera/io/__init__.py | deng113jie/ExeTera | 613532a419b93a9838bf5ae5594fc7bb9738cd03 | [
"Apache-2.0"
] | 5 | 2021-03-08T08:50:26.000Z | 2021-12-03T09:26:43.000Z |
from . import importer, parsers
| 11 | 31 | 0.757576 | 4 | 33 | 6.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 33 | 2 | 32 | 16.5 | 0.925926 | 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 |
802310363a2d9c29ef0e4609ccd183507201673e | 7,493 | py | Python | tests/test_routes/test_routes_events.py | hed-standard/hed-web | 8603526266dff78cf07e49e6c0f0c715a9225289 | [
"MIT"
] | null | null | null | tests/test_routes/test_routes_events.py | hed-standard/hed-web | 8603526266dff78cf07e49e6c0f0c715a9225289 | [
"MIT"
] | null | null | null | tests/test_routes/test_routes_events.py | hed-standard/hed-web | 8603526266dff78cf07e49e6c0f0c715a9225289 | [
"MIT"
] | 2 | 2022-02-04T19:55:40.000Z | 2022-02-04T21:36:04.000Z | import io
import os
import unittest
from flask import Response
from tests.test_web_base import TestWebBase
from hedweb.constants import base_constants
class Test(TestWebBase):
def test_events_results_empty_data(self):
response = self.app.test.post('/events_submit')
self.assertEqual(200,... | 55.095588 | 117 | 0.611371 | 889 | 7,493 | 4.917885 | 0.127109 | 0.032937 | 0.018298 | 0.025618 | 0.874199 | 0.839661 | 0.811985 | 0.743367 | 0.721866 | 0.718207 | 0 | 0.00649 | 0.280262 | 7,493 | 135 | 118 | 55.503704 | 0.804191 | 0 | 0 | 0.669565 | 0 | 0 | 0.222479 | 0.02555 | 0 | 0 | 0 | 0 | 0.156522 | 1 | 0.043478 | false | 0 | 0.052174 | 0 | 0.104348 | 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 |
80247316f26f027c301af3e0895c40e1b96228f8 | 194 | py | Python | website/about/urls.py | zckoh/ecommerce-fullstack | c4cecea3ebaec900da484954d01dcbc2cba325c9 | [
"Apache-2.0"
] | 1 | 2021-12-14T22:24:20.000Z | 2021-12-14T22:24:20.000Z | website/about/urls.py | zckoh/ecommerce-fullstack | c4cecea3ebaec900da484954d01dcbc2cba325c9 | [
"Apache-2.0"
] | 11 | 2021-03-30T13:59:29.000Z | 2022-03-12T00:48:40.000Z | website/about/urls.py | zckoh/ecommerce-fullstack | c4cecea3ebaec900da484954d01dcbc2cba325c9 | [
"Apache-2.0"
] | null | null | null | from django.urls import path
from . import views
from django.conf import settings
from django.conf.urls.static import static
urlpatterns = [
path("", views.about_view, name="about_view"),
] | 24.25 | 50 | 0.757732 | 28 | 194 | 5.178571 | 0.464286 | 0.206897 | 0.193103 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.139175 | 194 | 8 | 51 | 24.25 | 0.868263 | 0 | 0 | 0 | 0 | 0 | 0.051282 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.571429 | 0 | 0.571429 | 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 |
8043c266280c2533b7394e903a5a2b3568b6c722 | 33 | py | Python | opt/todo/recurrent.py | or-fusion/OptML | c0aae08e8504cbf53a94df2b2da42d33c2bc0ff6 | [
"BSD-3-Clause"
] | 1 | 2022-03-17T19:44:44.000Z | 2022-03-17T19:44:44.000Z | opt/todo/recurrent.py | or-fusion/OptML | c0aae08e8504cbf53a94df2b2da42d33c2bc0ff6 | [
"BSD-3-Clause"
] | null | null | null | opt/todo/recurrent.py | or-fusion/OptML | c0aae08e8504cbf53a94df2b2da42d33c2bc0ff6 | [
"BSD-3-Clause"
] | null | null | null | #TODO:
#Recurrent neural network
| 11 | 25 | 0.787879 | 4 | 33 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 33 | 2 | 26 | 16.5 | 0.896552 | 0.878788 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0.5 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
337b4aea634bb66d5ca7db70fa888e7a897a50d2 | 17,263 | py | Python | baoming/webapp/controller/download.py | hanxiaoshun/RegistrationSystem | 2f7310508fc1725e96fe941b1062ce7f26f265a4 | [
"Apache-2.0"
] | null | null | null | baoming/webapp/controller/download.py | hanxiaoshun/RegistrationSystem | 2f7310508fc1725e96fe941b1062ce7f26f265a4 | [
"Apache-2.0"
] | 14 | 2020-06-06T01:24:24.000Z | 2022-03-12T00:17:22.000Z | baoming/webapp/controller/download.py | hanxiaoshun/RegistrationSystem | 2f7310508fc1725e96fe941b1062ce7f26f265a4 | [
"Apache-2.0"
] | null | null | null | import inspect
import json
from django.http import FileResponse
from django.shortcuts import HttpResponseRedirect
from webapp.controller.search.search_param_deal_down import search_parameter
from webapp.controller.renderUtil import render_result
from webapp.controller.search.search_common import *
from webapp.utils.all... | 44.377892 | 114 | 0.609917 | 1,786 | 17,263 | 5.556551 | 0.103024 | 0.059653 | 0.077993 | 0.088069 | 0.838976 | 0.789903 | 0.761185 | 0.749295 | 0.721483 | 0.696493 | 0 | 0.002532 | 0.290911 | 17,263 | 389 | 115 | 44.377892 | 0.808186 | 0.114986 | 0 | 0.657993 | 0 | 0 | 0.212896 | 0.145129 | 0 | 0 | 0 | 0 | 0 | 1 | 0.048327 | false | 0 | 0.070632 | 0 | 0.260223 | 0.02974 | 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 |
33999474a4d0a9cccda72b57d453c9bcb15ac005 | 75 | py | Python | world_manager/blueprints/user/forms.py | hoogamaphone/world-manager | 8d4515b93d303cf91626f69257e7cf00e200807a | [
"MIT"
] | null | null | null | world_manager/blueprints/user/forms.py | hoogamaphone/world-manager | 8d4515b93d303cf91626f69257e7cf00e200807a | [
"MIT"
] | null | null | null | world_manager/blueprints/user/forms.py | hoogamaphone/world-manager | 8d4515b93d303cf91626f69257e7cf00e200807a | [
"MIT"
] | null | null | null | from flask_wtf.form import FlaskForm
class LoginForm(FlaskForm):
pass | 15 | 36 | 0.786667 | 10 | 75 | 5.8 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 75 | 5 | 37 | 15 | 0.920635 | 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 |
33ba9ffac4b6c3cf778307a0bd1e35c05eb3992b | 53 | py | Python | python/testData/refactoring/pullup/abstractMethodPy3AddMeta/SuperClass.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/refactoring/pullup/abstractMethodPy3AddMeta/SuperClass.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/refactoring/pullup/abstractMethodPy3AddMeta/SuperClass.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | from abc import object
class Parent(object):
pass | 17.666667 | 22 | 0.754717 | 8 | 53 | 5 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.188679 | 53 | 3 | 23 | 17.666667 | 0.930233 | 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 |
33ed6ce09662af116547f691c3a8a2ac217c6f6a | 155 | py | Python | ml2/tools/bosy/__init__.py | reactive-systems/ml2 | c5ecaf07816b48a76ce4f7a3255fcf3baa78fd5c | [
"MIT"
] | 2 | 2021-06-30T14:00:11.000Z | 2022-02-02T14:12:26.000Z | ml2/tools/bosy/__init__.py | reactive-systems/ml2 | c5ecaf07816b48a76ce4f7a3255fcf3baa78fd5c | [
"MIT"
] | null | null | null | ml2/tools/bosy/__init__.py | reactive-systems/ml2 | c5ecaf07816b48a76ce4f7a3255fcf3baa78fd5c | [
"MIT"
] | 1 | 2021-07-01T13:38:33.000Z | 2021-07-01T13:38:33.000Z | from . import bosy_wrapper, bosy_worker, bosy_utils
from .bosy import BoSy
from .bosy_worker import bosy_worker_fn
from .bosy_wrapper import add_bosy_args
| 31 | 51 | 0.845161 | 26 | 155 | 4.692308 | 0.346154 | 0.245902 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116129 | 155 | 4 | 52 | 38.75 | 0.890511 | 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 |
1d3b11a2bcd06e493c4c42f7e15691aa8cea9791 | 29,308 | py | Python | academic/views.py | masoodazhar/-school-management-system | 6525b3d29d12f03e05d362d81b7c5855806f57d9 | [
"Apache-2.0"
] | 1 | 2022-01-20T10:20:05.000Z | 2022-01-20T10:20:05.000Z | academic/views.py | masoodazhar/-school-management-system | 6525b3d29d12f03e05d362d81b7c5855806f57d9 | [
"Apache-2.0"
] | null | null | null | academic/views.py | masoodazhar/-school-management-system | 6525b3d29d12f03e05d362d81b7c5855806f57d9 | [
"Apache-2.0"
] | 1 | 2022-01-20T10:20:31.000Z | 2022-01-20T10:20:31.000Z | from django.shortcuts import render, redirect
from django.views.generic import CreateView, UpdateView, DeleteView, ListView, TemplateView
from django.views.generic.edit import BaseCreateView
from .models import Classes, Subject, Routine, Section, Room
from payroll.models import Teacher
from django.urls import rev... | 41.808845 | 206 | 0.648048 | 3,229 | 29,308 | 5.661815 | 0.068752 | 0.117493 | 0.061536 | 0.063013 | 0.837545 | 0.810962 | 0.785253 | 0.734876 | 0.672957 | 0.648726 | 0 | 0.0018 | 0.241811 | 29,308 | 700 | 207 | 41.868571 | 0.820935 | 0.028354 | 0 | 0.702609 | 0 | 0 | 0.119239 | 0.024792 | 0 | 0 | 0 | 0 | 0 | 1 | 0.053913 | false | 0.003478 | 0.031304 | 0 | 0.34087 | 0.005217 | 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 |
1d7460e7101ea78a7d8582687fd6c012f246031e | 6,060 | py | Python | test/functions/test_inv_matmul.py | yushangdi/gpytorch | 3234046ecb672965af8765d47eb016f85b729bb0 | [
"MIT"
] | null | null | null | test/functions/test_inv_matmul.py | yushangdi/gpytorch | 3234046ecb672965af8765d47eb016f85b729bb0 | [
"MIT"
] | null | null | null | test/functions/test_inv_matmul.py | yushangdi/gpytorch | 3234046ecb672965af8765d47eb016f85b729bb0 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
import torch
import unittest
import os
import random
from gpytorch import settings
from gpytorch.lazy import NonLazyTensor
class TestInvMatmulNonBatch(unittest.TestCase):
def tearDown(self):
if hasattr(self, "rng_state"):
torch.set_rng_state(self.rng_state)
def set... | 42.083333 | 106 | 0.616667 | 806 | 6,060 | 4.444169 | 0.116625 | 0.040201 | 0.07426 | 0.089894 | 0.828308 | 0.817141 | 0.812116 | 0.76689 | 0.752931 | 0.752931 | 0 | 0.018012 | 0.239604 | 6,060 | 143 | 107 | 42.377622 | 0.759332 | 0.014686 | 0 | 0.603604 | 0 | 0 | 0.019457 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 1 | 0.09009 | false | 0 | 0.054054 | 0 | 0.171171 | 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 |
d5169749b811857414a1950e9741c7fa8c1f5b18 | 21 | py | Python | pysac/io/legacy/__init__.py | SolarDrew/pysac | 9fd86dd03966b7e7f90653a47a2ccca7964c83bc | [
"BSD-2-Clause"
] | null | null | null | pysac/io/legacy/__init__.py | SolarDrew/pysac | 9fd86dd03966b7e7f90653a47a2ccca7964c83bc | [
"BSD-2-Clause"
] | null | null | null | pysac/io/legacy/__init__.py | SolarDrew/pysac | 9fd86dd03966b7e7f90653a47a2ccca7964c83bc | [
"BSD-2-Clause"
] | null | null | null | from legacy import *
| 10.5 | 20 | 0.761905 | 3 | 21 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 21 | 1 | 21 | 21 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d529574dd973b56c664da83417e7e13307f40d1e | 1,325 | py | Python | auto.apt.script.py | eythaniym/debian_linux_helper_scripts | aa540e0da028cc8a30b0e5ea4cf7368657b7ecec | [
"MIT"
] | 1 | 2019-06-11T05:26:25.000Z | 2019-06-11T05:26:25.000Z | auto.apt.script.py | eythaniym/debian_linux_helper_scripts | aa540e0da028cc8a30b0e5ea4cf7368657b7ecec | [
"MIT"
] | null | null | null | auto.apt.script.py | eythaniym/debian_linux_helper_scripts | aa540e0da028cc8a30b0e5ea4cf7368657b7ecec | [
"MIT"
] | null | null | null | #! /usr/bin/python3
__license__ = "MIT"
import os
# Welcome
print("\n\n")
print(" _______ __ __ _______ _______ _______ _______ _______ _______ _______ ______ ___ _______ _______ ")
print("| _ || | | || || | | _ || || | | || || _ | | |... | 45.689655 | 131 | 0.383396 | 74 | 1,325 | 4.040541 | 0.351351 | 0.140468 | 0.301003 | 0.334448 | 0.254181 | 0.133779 | 0.133779 | 0 | 0 | 0 | 0 | 0.001218 | 0.380377 | 1,325 | 28 | 132 | 47.321429 | 0.362972 | 0.024906 | 0 | 0.095238 | 0 | 0.285714 | 0.813809 | 0.025601 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.047619 | 0 | 0.047619 | 0.714286 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
d540763df6f2587513127698b08022434589b1be | 125 | py | Python | professor/views/painelProfessor.py | roimpacta/exemplos | cbfe7c81fc14932697c02eb63bec7d7e4a2c5d5a | [
"Apache-2.0"
] | null | null | null | professor/views/painelProfessor.py | roimpacta/exemplos | cbfe7c81fc14932697c02eb63bec7d7e4a2c5d5a | [
"Apache-2.0"
] | null | null | null | professor/views/painelProfessor.py | roimpacta/exemplos | cbfe7c81fc14932697c02eb63bec7d7e4a2c5d5a | [
"Apache-2.0"
] | null | null | null | from django.shortcuts import render
def painelProfessor (request):
return render(request,"painel/painelProfessor.html") | 25 | 56 | 0.8 | 14 | 125 | 7.142857 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.112 | 125 | 5 | 56 | 25 | 0.900901 | 0 | 0 | 0 | 0 | 0 | 0.214286 | 0.214286 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
d54f5408c989b8e74dde5d50f2dd0a1026836d5d | 8,385 | py | Python | gitlabform/gitlabform/test/test_group_members.py | kowpatryk/gitlabform | d77c40fd212028786fa51e201e13bb0bd552960f | [
"MIT"
] | null | null | null | gitlabform/gitlabform/test/test_group_members.py | kowpatryk/gitlabform | d77c40fd212028786fa51e201e13bb0bd552960f | [
"MIT"
] | 15 | 2020-03-04T19:39:16.000Z | 2022-03-21T23:01:19.000Z | gitlabform/gitlabform/test/test_group_members.py | grzesuav/gitlabform | c62bc4b3459194e28ed78aef807d5737e88d24e7 | [
"MIT"
] | null | null | null | import pytest
from gitlabform.gitlabform import GitLabForm
from gitlabform.gitlabform.test import (
create_group,
create_users,
remove_users_from_group,
get_gitlab,
add_users_to_group,
OWNER_ACCESS,
GROUP_NAME,
)
USER_BASE_NAME = "group_member_user" # user1, user2, ...
@pytest.fixture(... | 26.619048 | 87 | 0.657484 | 1,003 | 8,385 | 5.121635 | 0.092722 | 0.085653 | 0.068522 | 0.084096 | 0.829083 | 0.800662 | 0.777497 | 0.744403 | 0.722017 | 0.722017 | 0 | 0.021409 | 0.253548 | 8,385 | 314 | 88 | 26.703822 | 0.799329 | 0.006559 | 0 | 0.680934 | 0 | 0 | 0.350108 | 0.040836 | 0 | 0 | 0 | 0 | 0.124514 | 1 | 0.046693 | false | 0 | 0.011673 | 0 | 0.070039 | 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 |
d5a29410cf276cbc1eaa9766d7bdaa5ad561a968 | 103 | py | Python | app/inpatient/__init__.py | JONGWE1/BankManagement | 363ecdc950ee9c38538b83cddaf1c1d8bd6322d0 | [
"MIT"
] | 1 | 2019-09-10T15:01:28.000Z | 2019-09-10T15:01:28.000Z | app/inpatient/__init__.py | JONGWE1/BankManagement | 363ecdc950ee9c38538b83cddaf1c1d8bd6322d0 | [
"MIT"
] | null | null | null | app/inpatient/__init__.py | JONGWE1/BankManagement | 363ecdc950ee9c38538b83cddaf1c1d8bd6322d0 | [
"MIT"
] | null | null | null | from flask import Blueprint
inpatient = Blueprint('inpatient', __name__) # 设定蓝本的名称
from .import views | 25.75 | 55 | 0.786408 | 12 | 103 | 6.416667 | 0.666667 | 0.467532 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135922 | 103 | 4 | 56 | 25.75 | 0.865169 | 0.067961 | 0 | 0 | 0 | 0 | 0.094737 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
d5afe1094b5740b4c4012ad2d061a26f577f9ed0 | 31 | py | Python | opt/ros/kinetic/lib/python2.7/dist-packages/stereo_msgs/msg/__init__.py | Roboy/roboy_controlled_node_fpga | dbba4eff19ed04469a6196ba368cea231cad539d | [
"BSD-3-Clause"
] | 2 | 2018-01-29T03:10:39.000Z | 2020-12-08T09:08:41.000Z | devel/lib/python3/dist-packages/stereo_msgs/msg/__init__.py | hyu-nani/ydlidar_ws | 56316db999c057c4315a20ba8277826d6a043120 | [
"MIT"
] | 1 | 2018-12-28T21:11:50.000Z | 2018-12-28T21:11:50.000Z | devel/lib/python3/dist-packages/stereo_msgs/msg/__init__.py | hyu-nani/ydlidar_ws | 56316db999c057c4315a20ba8277826d6a043120 | [
"MIT"
] | 3 | 2018-01-29T12:22:56.000Z | 2020-12-08T09:08:46.000Z | from ._DisparityImage import *
| 15.5 | 30 | 0.806452 | 3 | 31 | 8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 31 | 1 | 31 | 31 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6336328442ee7fce34bad5e7e235281a755a6813 | 1,009 | py | Python | tests/test_run_request.py | sodrooome/bmaclient | 8d3609a63e3e2576642ecde77245ee0b02225e31 | [
"MIT"
] | null | null | null | tests/test_run_request.py | sodrooome/bmaclient | 8d3609a63e3e2576642ecde77245ee0b02225e31 | [
"MIT"
] | null | null | null | tests/test_run_request.py | sodrooome/bmaclient | 8d3609a63e3e2576642ecde77245ee0b02225e31 | [
"MIT"
] | null | null | null | import unittest
from bmaclient.client import MonitoringAPI
from bmaclient.exceptions import APIClientError
class FetchLavaDomesTest(unittest.TestCase):
def setUp(self):
self.api = MonitoringAPI(api_key='TEST_API_KEY')
def test_request_without_supplying_params(self):
with self.assertRaises(A... | 27.27027 | 60 | 0.725471 | 118 | 1,009 | 5.881356 | 0.330508 | 0.060519 | 0.080692 | 0.103746 | 0.717579 | 0.717579 | 0.717579 | 0.717579 | 0.717579 | 0.717579 | 0 | 0.009732 | 0.185332 | 1,009 | 36 | 61 | 28.027778 | 0.83455 | 0 | 0 | 0.521739 | 0 | 0 | 0.051536 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 1 | 0.26087 | false | 0 | 0.130435 | 0 | 0.478261 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
634db5cbe9c6b5d388c67b275bc0bb1c0cc879e0 | 295 | py | Python | polished/backends/mixins/base.py | ckcollab/polished | 5a00b2fbe569bc957d1647c0849fd344db29b644 | [
"MIT"
] | 9 | 2015-04-08T07:37:55.000Z | 2019-06-05T10:21:27.000Z | polished/backends/mixins/base.py | ckcollab/polished | 5a00b2fbe569bc957d1647c0849fd344db29b644 | [
"MIT"
] | 2 | 2016-07-03T11:26:02.000Z | 2016-07-03T11:44:41.000Z | polished/backends/mixins/base.py | ckcollab/polished | 5a00b2fbe569bc957d1647c0849fd344db29b644 | [
"MIT"
] | 1 | 2019-06-07T16:21:37.000Z | 2019-06-07T16:21:37.000Z | class Base(object):
def __init__(self, *args, **kwargs):
pass
def dispose(self, *args, **kwargs):
pass
def prepare(self, *args, **kwargs):
pass
def prepare_page(self, *args, **kwargs):
pass
def cleanup(self, *args, **kwargs):
pass
| 18.4375 | 44 | 0.545763 | 34 | 295 | 4.588235 | 0.382353 | 0.25641 | 0.448718 | 0.576923 | 0.628205 | 0.358974 | 0 | 0 | 0 | 0 | 0 | 0 | 0.308475 | 295 | 15 | 45 | 19.666667 | 0.764706 | 0 | 0 | 0.454545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.454545 | false | 0.454545 | 0 | 0 | 0.545455 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
635db614b876a278d8dc5ab579837a8abe1360b2 | 35 | py | Python | ispi/__init__.py | NateV/ispi | d8fd9c7cb8f77da23622d943033012fd1b196652 | [
"MIT"
] | null | null | null | ispi/__init__.py | NateV/ispi | d8fd9c7cb8f77da23622d943033012fd1b196652 | [
"MIT"
] | null | null | null | ispi/__init__.py | NateV/ispi | d8fd9c7cb8f77da23622d943033012fd1b196652 | [
"MIT"
] | null | null | null |
from .speed_test import SpeedTest
| 11.666667 | 33 | 0.828571 | 5 | 35 | 5.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 35 | 2 | 34 | 17.5 | 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 |
63aa4b99dfe7a81a03b9b13192816478e0837f8e | 56 | py | Python | app/api/__init__.py | BANOnotIT/helpdesk-bot | 3aedbaf7d3adbb54f7c5172912a8cf188d3cb9d3 | [
"MIT"
] | 1 | 2018-11-25T13:13:49.000Z | 2018-11-25T13:13:49.000Z | app/api/__init__.py | BANOnotIT/helpdesk-bot | 3aedbaf7d3adbb54f7c5172912a8cf188d3cb9d3 | [
"MIT"
] | 4 | 2018-11-17T20:09:06.000Z | 2018-12-01T11:32:55.000Z | app/api/__init__.py | BANOnotIT/helpdesk-bot | 3aedbaf7d3adbb54f7c5172912a8cf188d3cb9d3 | [
"MIT"
] | 1 | 2018-11-27T00:04:54.000Z | 2018-11-27T00:04:54.000Z | from .base import *
from .tg import *
from .vk import *
| 14 | 19 | 0.678571 | 9 | 56 | 4.222222 | 0.555556 | 0.526316 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.214286 | 56 | 3 | 20 | 18.666667 | 0.863636 | 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 |
63bb407a58d08b397dc0c117ae5ea275259aaa7b | 246 | py | Python | Pytest/test/fixture/test_counter.py | koichi210/Python | 9bc0be009bec15499540c1bf9ae802ffe1acfe10 | [
"MIT"
] | null | null | null | Pytest/test/fixture/test_counter.py | koichi210/Python | 9bc0be009bec15499540c1bf9ae802ffe1acfe10 | [
"MIT"
] | null | null | null | Pytest/test/fixture/test_counter.py | koichi210/Python | 9bc0be009bec15499540c1bf9ae802ffe1acfe10 | [
"MIT"
] | null | null | null | from main.counter import Counter
def test_add_01():
assert Counter().Increment() == 1
def test_add_02():
assert Counter().Increment() == 1
assert Counter().Decrement() == 0
def test_add_03():
assert Counter().Decrement() == -1
| 20.5 | 38 | 0.658537 | 33 | 246 | 4.727273 | 0.454545 | 0.333333 | 0.192308 | 0.294872 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.049751 | 0.182927 | 246 | 11 | 39 | 22.363636 | 0.726368 | 0 | 0 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.375 | true | 0 | 0.125 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
63d72e141b4604592bc4bacb4b51d3d8bd3d1635 | 929 | py | Python | test/unit_test/test_record_class_test/test_record_class_test.py | JE-Chen/SeleniumWrapper_JE | 192c457ad5b3b7e1e8aa0316a461f4dd532f5ffd | [
"MIT"
] | null | null | null | test/unit_test/test_record_class_test/test_record_class_test.py | JE-Chen/SeleniumWrapper_JE | 192c457ad5b3b7e1e8aa0316a461f4dd532f5ffd | [
"MIT"
] | null | null | null | test/unit_test/test_record_class_test/test_record_class_test.py | JE-Chen/SeleniumWrapper_JE | 192c457ad5b3b7e1e8aa0316a461f4dd532f5ffd | [
"MIT"
] | null | null | null | from je_web_runner import TestObject
from je_web_runner.utils.test_object.test_object_record.test_object_record_class import test_object_record
test_object_record.save_test_object("q", "name")
test_object_record.save_test_object("test_name", "name")
q_test_object: TestObject = test_object_record.test_object_record_dic... | 46.45 | 106 | 0.865447 | 158 | 929 | 4.556962 | 0.139241 | 0.472222 | 0.194444 | 0.25 | 0.840278 | 0.769444 | 0.383333 | 0.269444 | 0.163889 | 0.163889 | 0 | 0 | 0.057051 | 929 | 19 | 107 | 48.894737 | 0.821918 | 0 | 0 | 0 | 0 | 0 | 0.049516 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0 | true | 0 | 0.111111 | 0 | 0.111111 | 0.333333 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
892ea44d1903731a8de8ef15092efe7c6ec77015 | 1,041 | py | Python | tests/test_search.py | jjaroszsfdc/SalesforcePy | cb979fde5983adc6bafc92f294457afb052f6047 | [
"BSD-3-Clause"
] | 88 | 2018-10-11T09:34:42.000Z | 2022-03-09T21:21:06.000Z | tests/test_search.py | jjaroszsfdc/SalesforcePy | cb979fde5983adc6bafc92f294457afb052f6047 | [
"BSD-3-Clause"
] | 52 | 2018-10-10T14:35:45.000Z | 2022-03-11T16:52:19.000Z | tests/test_search.py | jjaroszsfdc/SalesforcePy | cb979fde5983adc6bafc92f294457afb052f6047 | [
"BSD-3-Clause"
] | 41 | 2018-10-10T14:19:05.000Z | 2022-03-11T16:48:28.000Z | import testutil
import responses
@responses.activate
def test_search():
testutil.add_response("login_response_200")
testutil.add_response("search_response_200")
testutil.add_response("api_version_response_200")
client = testutil.get_client()
search_result = client.search(
"FIND {sfdc_py} R... | 37.178571 | 85 | 0.748319 | 136 | 1,041 | 5.411765 | 0.264706 | 0.119565 | 0.154891 | 0.119565 | 0.855978 | 0.774457 | 0.774457 | 0.774457 | 0.774457 | 0.774457 | 0 | 0.041157 | 0.136407 | 1,041 | 27 | 86 | 38.555556 | 0.777531 | 0 | 0 | 0.695652 | 0 | 0 | 0.267051 | 0.04611 | 0 | 0 | 0 | 0 | 0.217391 | 1 | 0.086957 | false | 0 | 0.086957 | 0 | 0.173913 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
8938e80260d4928b4d99e135e5f85687f0c38f47 | 40 | py | Python | serialfuzzer/__init__.py | vhertz/SerialFuzzer | 64d2d3d8c32bd5614a0ff8db58106ffdf270d86e | [
"MIT"
] | null | null | null | serialfuzzer/__init__.py | vhertz/SerialFuzzer | 64d2d3d8c32bd5614a0ff8db58106ffdf270d86e | [
"MIT"
] | null | null | null | serialfuzzer/__init__.py | vhertz/SerialFuzzer | 64d2d3d8c32bd5614a0ff8db58106ffdf270d86e | [
"MIT"
] | null | null | null | from .serial_fuzzer import SerialFuzzer
| 20 | 39 | 0.875 | 5 | 40 | 6.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 40 | 1 | 40 | 40 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
89acde472bae79126845743a79e48dcba74dcdfb | 31 | py | Python | vedaseg/assemble/__init__.py | E18301194/vedaseg | c62c8ea46dbba12f03262452dd7bed22969cfe4e | [
"Apache-2.0"
] | 2 | 2020-07-15T02:36:46.000Z | 2021-03-08T03:18:26.000Z | vedaseg/assemble/__init__.py | E18301194/vedaseg | c62c8ea46dbba12f03262452dd7bed22969cfe4e | [
"Apache-2.0"
] | null | null | null | vedaseg/assemble/__init__.py | E18301194/vedaseg | c62c8ea46dbba12f03262452dd7bed22969cfe4e | [
"Apache-2.0"
] | null | null | null | from .assemble import assemble
| 15.5 | 30 | 0.83871 | 4 | 31 | 6.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 31 | 1 | 31 | 31 | 0.962963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9821466daca4b1ac516e443374402c029768d226 | 156 | py | Python | enumb/__init__.py | tombulled/enumb | 750c756a4f49afc6421568231ddc03d039d3db07 | [
"MIT"
] | null | null | null | enumb/__init__.py | tombulled/enumb | 750c756a4f49afc6421568231ddc03d039d3db07 | [
"MIT"
] | 1 | 2022-02-10T23:29:06.000Z | 2022-03-11T22:29:06.000Z | enumb/__init__.py | tombulled/enumb | 750c756a4f49afc6421568231ddc03d039d3db07 | [
"MIT"
] | null | null | null | from .bases import *
from .enums import *
from .generators import *
from .meta import *
from .models import *
from .types import *
| 22.285714 | 25 | 0.608974 | 18 | 156 | 5.277778 | 0.444444 | 0.526316 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.314103 | 156 | 6 | 26 | 26 | 0.88785 | 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 |
984bc015f0b050b2e28895e48657be27b1a63178 | 31 | py | Python | odooku/backends/s3/__init__.py | davejrv/import | 0dbca8f432d1a051a2bdb30c952cc26f1ffd74ae | [
"Apache-2.0"
] | 55 | 2017-09-11T06:48:39.000Z | 2022-03-31T18:14:46.000Z | odooku/backends/s3/__init__.py | davejrv/import | 0dbca8f432d1a051a2bdb30c952cc26f1ffd74ae | [
"Apache-2.0"
] | 4 | 2018-01-13T09:13:48.000Z | 2019-09-28T10:24:43.000Z | odooku/backends/s3/__init__.py | davejrv/import | 0dbca8f432d1a051a2bdb30c952cc26f1ffd74ae | [
"Apache-2.0"
] | 46 | 2017-12-30T22:31:45.000Z | 2022-02-17T05:35:55.000Z | from .backend import S3Backend
| 15.5 | 30 | 0.83871 | 4 | 31 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037037 | 0.129032 | 31 | 1 | 31 | 31 | 0.925926 | 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 |
985192e1f05e547ae324a0d4d462d877c9127047 | 266 | py | Python | data_processing/comment.py | FMsunyh/keras-retinanet | cb86a987237d3f6bd504004e2b186cf65606c890 | [
"Apache-2.0"
] | null | null | null | data_processing/comment.py | FMsunyh/keras-retinanet | cb86a987237d3f6bd504004e2b186cf65606c890 | [
"Apache-2.0"
] | null | null | null | data_processing/comment.py | FMsunyh/keras-retinanet | cb86a987237d3f6bd504004e2b186cf65606c890 | [
"Apache-2.0"
] | null | null | null |
def intersection(right=[], left=[]):
return list(set(right).intersection(set(left)))
def union(right=[], left=[]):
return list(set(right).union(set(left)))
def union(right=[], left=[]):
return list(set(right).difference(set(left))) # not have in left
| 26.6 | 68 | 0.650376 | 37 | 266 | 4.675676 | 0.324324 | 0.156069 | 0.260116 | 0.32948 | 0.641619 | 0.641619 | 0.485549 | 0.485549 | 0.485549 | 0.485549 | 0 | 0 | 0.131579 | 266 | 9 | 69 | 29.555556 | 0.748918 | 0.06015 | 0 | 0.333333 | 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 |
98694844740f7fb106ad47b992b0c01775284d66 | 537 | py | Python | oauth/serializers.py | annisadevin/tugas-law | ae7163a6772e1c657b60ef149870593019ba994c | [
"Unlicense"
] | null | null | null | oauth/serializers.py | annisadevin/tugas-law | ae7163a6772e1c657b60ef149870593019ba994c | [
"Unlicense"
] | null | null | null | oauth/serializers.py | annisadevin/tugas-law | ae7163a6772e1c657b60ef149870593019ba994c | [
"Unlicense"
] | null | null | null | from dataclasses import field
from rest_framework import serializers
from .models import *
# from rest_framework.parsers import BaseParser
# class UserAccountSerializer(serializers.ModelSerializer):
# class Meta:
# model = UserAccount
# fields = '__all__'
# class ProfileSerializer(serializers.Mode... | 26.85 | 59 | 0.692737 | 48 | 537 | 7.458333 | 0.458333 | 0.217877 | 0.259777 | 0.293296 | 0.335196 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.227188 | 537 | 19 | 60 | 28.263158 | 0.862651 | 0.774674 | 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 |
98b3d83559f96b1106dd64da40bfd8e16978754f | 123 | py | Python | setup.py | emanuele-albini/emutils | d5e3939da8a14b629879f06d87d4bd371e7117ab | [
"MIT"
] | null | null | null | setup.py | emanuele-albini/emutils | d5e3939da8a14b629879f06d87d4bd371e7117ab | [
"MIT"
] | null | null | null | setup.py | emanuele-albini/emutils | d5e3939da8a14b629879f06d87d4bd371e7117ab | [
"MIT"
] | null | null | null | import setuptools
import pkg_resources
import os
# setup.cfg
pkg_resources.require('setuptools>=39.2')
setuptools.setup() | 15.375 | 41 | 0.804878 | 17 | 123 | 5.705882 | 0.588235 | 0.247423 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026786 | 0.089431 | 123 | 8 | 42 | 15.375 | 0.839286 | 0.073171 | 0 | 0 | 0 | 0 | 0.141593 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 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 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7f55786b4181bcf71fef9b18e4e9a915e687679e | 2,928 | py | Python | tests/admin/test_phones.py | joshua-cerniglia/duo_client_python | 9d91cdd505d9ed999f8d79305181587d626186bd | [
"Apache-2.0"
] | 96 | 2015-01-02T08:03:29.000Z | 2022-03-28T13:31:39.000Z | tests/admin/test_phones.py | joshua-cerniglia/duo_client_python | 9d91cdd505d9ed999f8d79305181587d626186bd | [
"Apache-2.0"
] | 87 | 2015-05-12T02:44:33.000Z | 2022-01-20T05:53:27.000Z | tests/admin/test_phones.py | joshua-cerniglia/duo_client_python | 9d91cdd505d9ed999f8d79305181587d626186bd | [
"Apache-2.0"
] | 110 | 2015-03-03T20:23:42.000Z | 2021-12-16T23:01:29.000Z | from .. import util
import duo_client.admin
from .base import TestAdmin
class TestPhones(TestAdmin):
def test_get_phones_generator(self):
""" Test to get phones generator.
"""
generator = self.client_list.get_phones_generator()
response = next(generator)
self.assertEqual(re... | 34.046512 | 66 | 0.527322 | 299 | 2,928 | 4.996656 | 0.133779 | 0.090361 | 0.052209 | 0.053548 | 0.880187 | 0.825971 | 0.825971 | 0.825971 | 0.771084 | 0.771084 | 0 | 0.018219 | 0.325137 | 2,928 | 85 | 67 | 34.447059 | 0.737854 | 0.081967 | 0 | 0.695652 | 0 | 0 | 0.101208 | 0 | 0 | 0 | 0 | 0 | 0.217391 | 1 | 0.072464 | false | 0 | 0.043478 | 0 | 0.130435 | 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 |
7f6aba614b51f504d8ecd72fb8d6e85b0b4acc26 | 6,006 | py | Python | azure_function_sample/test/test_event_processor.py | isabella232/azure-machine-learning-pipeline-observability-sample | ad8455fc5e6d0f6dc1a835cf29bb46a798d9ffe0 | [
"MIT"
] | 1 | 2021-02-12T23:00:53.000Z | 2021-02-12T23:00:53.000Z | azure_function_sample/test/test_event_processor.py | Azure-Samples/azure-machine-learning-pipeline-observability-sample | ad8455fc5e6d0f6dc1a835cf29bb46a798d9ffe0 | [
"MIT"
] | 1 | 2021-02-24T03:35:41.000Z | 2021-02-24T03:35:41.000Z | azure_function_sample/test/test_event_processor.py | isabella232/azure-machine-learning-pipeline-observability-sample | ad8455fc5e6d0f6dc1a835cf29bb46a798d9ffe0 | [
"MIT"
] | 4 | 2020-09-08T17:24:44.000Z | 2022-01-18T15:35:26.000Z | import os
import pytest
from aml_pipeline_observability_func_sample.event_processor import process_event, to_run_metrics
from mock import patch, call, Mock
def test_process_event_raises_value_error_without_run_id():
# arrange
event = {}
# act/assert
with pytest.raises(ValueError):
process_eve... | 38.5 | 119 | 0.678155 | 705 | 6,006 | 5.302128 | 0.131915 | 0.042804 | 0.026485 | 0.047084 | 0.830658 | 0.808186 | 0.776083 | 0.738095 | 0.700375 | 0.64794 | 0 | 0.034578 | 0.219947 | 6,006 | 155 | 120 | 38.748387 | 0.763287 | 0.012488 | 0 | 0.644628 | 0 | 0 | 0.372191 | 0.170806 | 0 | 0 | 0 | 0 | 0.07438 | 1 | 0.033058 | false | 0 | 0.033058 | 0 | 0.066116 | 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 |
7f9b409f9afbf9febc9e55fc835daeea02c46485 | 117 | py | Python | pre_setup.py | ChrisQiqiang/allocation | 762d11052fbd2a71560a909ca4760f65da6866c3 | [
"Apache-2.0"
] | 10 | 2021-12-31T05:42:50.000Z | 2022-01-11T08:20:21.000Z | pre_setup.py | ChrisQiqiang/allocation | 762d11052fbd2a71560a909ca4760f65da6866c3 | [
"Apache-2.0"
] | null | null | null | pre_setup.py | ChrisQiqiang/allocation | 762d11052fbd2a71560a909ca4760f65da6866c3 | [
"Apache-2.0"
] | null | null | null | # For internal use. Please do not modify this file.
def setup():
return
def extra_make_option():
return ""
| 14.625 | 51 | 0.675214 | 17 | 117 | 4.529412 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.230769 | 117 | 7 | 52 | 16.714286 | 0.855556 | 0.418803 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.