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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
77f919c514d25d45bf6b2a0656c719e2e387903e | 1,065 | py | Python | molecule/python/molecule_api/api/__init__.py | sumit4-ttn/SDK | b3ae385e5415e47ac70abd0b3fdeeaeee9aa7cff | [
"Apache-2.0"
] | null | null | null | molecule/python/molecule_api/api/__init__.py | sumit4-ttn/SDK | b3ae385e5415e47ac70abd0b3fdeeaeee9aa7cff | [
"Apache-2.0"
] | null | null | null | molecule/python/molecule_api/api/__init__.py | sumit4-ttn/SDK | b3ae385e5415e47ac70abd0b3fdeeaeee9aa7cff | [
"Apache-2.0"
] | null | null | null | from __future__ import absolute_import
# flake8: noqa
# import apis into api package
from molecule_api.api.currency_api import CurrencyApi
from molecule_api.api.currency_balance_api import CurrencyBalanceApi
from molecule_api.api.currency_transfer_api import CurrencyTransferApi
from molecule_api.api.document_api impo... | 48.409091 | 72 | 0.892958 | 150 | 1,065 | 6.026667 | 0.273333 | 0.212389 | 0.265487 | 0.318584 | 0.346239 | 0 | 0 | 0 | 0 | 0 | 0 | 0.001014 | 0.074178 | 1,065 | 21 | 73 | 50.714286 | 0.915822 | 0.038498 | 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 |
2479210d36899d3c3493c10f0323675ec7462f38 | 31 | py | Python | Xana/XpcsAna/__init__.py | ClLov/Xana | 83d880432a457cff0f1fab2801e2530ddecb4019 | [
"MIT"
] | 1 | 2021-01-25T08:57:57.000Z | 2021-01-25T08:57:57.000Z | Xana/XpcsAna/__init__.py | ClLov/Xana | 83d880432a457cff0f1fab2801e2530ddecb4019 | [
"MIT"
] | 21 | 2020-03-23T12:50:32.000Z | 2021-05-07T07:54:38.000Z | Xana/XpcsAna/__init__.py | ClLov/Xana | 83d880432a457cff0f1fab2801e2530ddecb4019 | [
"MIT"
] | 2 | 2020-03-22T10:31:09.000Z | 2020-07-01T14:00:28.000Z | from .CorrFunc import CorrFunc
| 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 |
24b789436e689bdf8e0b033d12fbb2bfd15e4b48 | 37 | py | Python | asaplib/kde/__init__.py | FelixFaber/ASAP | 951d9667143095e42f1566816b4ab90d901b56a8 | [
"MIT"
] | 1 | 2020-02-25T19:05:25.000Z | 2020-02-25T19:05:25.000Z | asaplib/kde/__init__.py | FelixFaber/ASAP | 951d9667143095e42f1566816b4ab90d901b56a8 | [
"MIT"
] | null | null | null | asaplib/kde/__init__.py | FelixFaber/ASAP | 951d9667143095e42f1566816b4ab90d901b56a8 | [
"MIT"
] | null | null | null | from .ml_density_estimation import *
| 18.5 | 36 | 0.837838 | 5 | 37 | 5.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 37 | 1 | 37 | 37 | 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 |
24ccf5e3daf961e1aa9e805413523fc06711d58c | 187 | py | Python | src/rxn_network/reactions/__init__.py | bigboyabhisthi/reaction-network | b84f16b7261ecd62d7aa8e2681907f6ea0c35565 | [
"BSD-3-Clause-LBNL"
] | 1 | 2022-02-22T23:09:47.000Z | 2022-02-22T23:09:47.000Z | src/rxn_network/reactions/__init__.py | bigboyabhisthi/reaction-network | b84f16b7261ecd62d7aa8e2681907f6ea0c35565 | [
"BSD-3-Clause-LBNL"
] | null | null | null | src/rxn_network/reactions/__init__.py | bigboyabhisthi/reaction-network | b84f16b7261ecd62d7aa8e2681907f6ea0c35565 | [
"BSD-3-Clause-LBNL"
] | null | null | null | " Implementations of various reaction classes for the reaction-network "
from rxn_network.reactions.basic import BasicReaction
from rxn_network.reactions.computed import ComputedReaction
| 46.75 | 72 | 0.86631 | 23 | 187 | 6.956522 | 0.695652 | 0.0875 | 0.175 | 0.2875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096257 | 187 | 3 | 73 | 62.333333 | 0.946746 | 0.363636 | 0 | 0 | 0 | 0 | 0.374332 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
24d4efb365fba66c1f11e60fd1b3d5f10d86a9ef | 213 | py | Python | Codewars/5kyu/where-my-anagrams-at/Python/test.py | RevansChen/online-judge | ad1b07fee7bd3c49418becccda904e17505f3018 | [
"MIT"
] | 7 | 2017-09-20T16:40:39.000Z | 2021-08-31T18:15:08.000Z | Codewars/5kyu/where-my-anagrams-at/Python/test.py | RevansChen/online-judge | ad1b07fee7bd3c49418becccda904e17505f3018 | [
"MIT"
] | null | null | null | Codewars/5kyu/where-my-anagrams-at/Python/test.py | RevansChen/online-judge | ad1b07fee7bd3c49418becccda904e17505f3018 | [
"MIT"
] | null | null | null | # Python - 3.6.0
Test.assert_equals(anagrams('abba', ['aabb', 'abcd', 'bbaa', 'dada']), ['aabb', 'bbaa'])
Test.assert_equals(anagrams('racer', ['crazer', 'carer', 'racar', 'caers', 'racer']), ['carer', 'racer'])
| 42.6 | 105 | 0.600939 | 27 | 213 | 4.666667 | 0.666667 | 0.15873 | 0.253968 | 0.380952 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015544 | 0.093897 | 213 | 4 | 106 | 53.25 | 0.637306 | 0.065728 | 0 | 0 | 0 | 0 | 0.350254 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | true | 0 | 0 | 0 | 0 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
70239c6156014ca8d337bee056f5e3acfc721a45 | 31 | py | Python | src/amuse/community/galaxia/__init__.py | sibonyves/amuse | 5557bf88d14df1aa02133a199b6d60c0c57dcab7 | [
"Apache-2.0"
] | null | null | null | src/amuse/community/galaxia/__init__.py | sibonyves/amuse | 5557bf88d14df1aa02133a199b6d60c0c57dcab7 | [
"Apache-2.0"
] | 12 | 2021-11-15T09:13:03.000Z | 2022-02-02T14:53:04.000Z | src/amuse/community/galaxia/__init__.py | sibonyves/amuse | 5557bf88d14df1aa02133a199b6d60c0c57dcab7 | [
"Apache-2.0"
] | null | null | null | from .interface import Galaxia
| 15.5 | 30 | 0.83871 | 4 | 31 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 31 | 1 | 31 | 31 | 0.962963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
561391cefa78fddffa49079f2c75a37e39f54b4a | 5,572 | py | Python | PyChunks.py | PolsCommits/isometric-chunks | 06c4049dfbfb99571d3b872b8989a19a545936d8 | [
"MIT"
] | null | null | null | PyChunks.py | PolsCommits/isometric-chunks | 06c4049dfbfb99571d3b872b8989a19a545936d8 | [
"MIT"
] | null | null | null | PyChunks.py | PolsCommits/isometric-chunks | 06c4049dfbfb99571d3b872b8989a19a545936d8 | [
"MIT"
] | null | null | null | from Block import Blocks
import pygame
from Helper import DISPLAY_SURFACE
from Helper import RESOLUTION
from ImageHelper import PLAYER_TEXTURES
import random
pygame.display.init()
display = DISPLAY_SURFACE
player = PLAYER_TEXTURES['placeholder']
smoothness = 2
# chunk = Blocks(16, 16, 32, smoothness, water_level=1... | 43.874016 | 154 | 0.491206 | 695 | 5,572 | 3.709353 | 0.129496 | 0.108611 | 0.099302 | 0.221102 | 0.746315 | 0.724205 | 0.710628 | 0.710628 | 0.710628 | 0.654771 | 0 | 0.030437 | 0.392678 | 5,572 | 126 | 155 | 44.222222 | 0.731383 | 0.030151 | 0 | 0.45 | 0 | 0 | 0.00963 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.075 | 0 | 0.075 | 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 |
563f0b9f054fb1ac13e4b2070aaa6bde92c56cef | 6,457 | py | Python | tests/utils/test_mock_backend.py | coxwave/manta | fc55357e139dbf61854595475f401656440d53aa | [
"MIT"
] | 17 | 2021-11-19T08:26:33.000Z | 2022-01-27T10:22:09.000Z | tests/utils/test_mock_backend.py | coxwave/manta | fc55357e139dbf61854595475f401656440d53aa | [
"MIT"
] | 95 | 2021-11-19T05:29:22.000Z | 2022-03-03T09:39:46.000Z | tests/utils/test_mock_backend.py | coxwave/manta | fc55357e139dbf61854595475f401656440d53aa | [
"MIT"
] | 2 | 2021-12-10T07:31:54.000Z | 2021-12-10T07:43:37.000Z | import json
from werkzeug.sansio.response import Response
from tests.conftest import DefaultData
from tests.utils.mock_backend import backend, ctx, Project
def test_greetings():
response: Response = backend.get("/hello")
assert response.status_code == 200
def test_get_user(default_data: DefaultData):
... | 31.34466 | 120 | 0.676475 | 824 | 6,457 | 5.063107 | 0.080097 | 0.142378 | 0.110259 | 0.115053 | 0.845638 | 0.815436 | 0.793145 | 0.748562 | 0.718121 | 0.691755 | 0 | 0.011325 | 0.179495 | 6,457 | 205 | 121 | 31.497561 | 0.776142 | 0 | 0 | 0.541096 | 0 | 0 | 0.243147 | 0.118011 | 0 | 0 | 0 | 0 | 0.253425 | 1 | 0.123288 | false | 0 | 0.027397 | 0 | 0.150685 | 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 |
5643fcfc82d05927c2b3146ec3240e9744a847bb | 35 | py | Python | main.py | ransh93/fake_news | 899e01e3c63dbf60d8a16455792eaf35365f8410 | [
"MIT"
] | 1 | 2020-05-18T12:03:11.000Z | 2020-05-18T12:03:11.000Z | main.py | ransh93/fake_news | 899e01e3c63dbf60d8a16455792eaf35365f8410 | [
"MIT"
] | 1 | 2020-02-11T13:31:14.000Z | 2020-02-11T13:31:14.000Z | main.py | ransh93/fake_news | 899e01e3c63dbf60d8a16455792eaf35365f8410 | [
"MIT"
] | null | null | null | print("GIT!!!!!!!!!!")
print("new") | 17.5 | 22 | 0.457143 | 4 | 35 | 4 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028571 | 35 | 2 | 23 | 17.5 | 0.470588 | 0 | 0 | 0 | 0 | 0 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
56970207628072edc614468de4b8fc38243d3f99 | 35 | py | Python | microservices/api/config.py | clodonil/pipeline_aws_custom | 8ca517d0bad48fe528461260093f0035f606f9be | [
"Apache-2.0"
] | null | null | null | microservices/api/config.py | clodonil/pipeline_aws_custom | 8ca517d0bad48fe528461260093f0035f606f9be | [
"Apache-2.0"
] | null | null | null | microservices/api/config.py | clodonil/pipeline_aws_custom | 8ca517d0bad48fe528461260093f0035f606f9be | [
"Apache-2.0"
] | null | null | null | HOST='0.0.0.0'
PORT=8080
DEBUG=True | 11.666667 | 14 | 0.714286 | 9 | 35 | 2.777778 | 0.666667 | 0.24 | 0.24 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.242424 | 0.057143 | 35 | 3 | 15 | 11.666667 | 0.515152 | 0 | 0 | 0 | 0 | 0 | 0.194444 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
3b49f20c87905ba368fa5c004441f41f324e0d3f | 191 | py | Python | graph4nlp/__init__.py | stjordanis/graph4nlp | c6ebde32bc77d3a7b78f86a93f19b1c057963ffa | [
"Apache-2.0"
] | 1 | 2021-06-06T15:23:11.000Z | 2021-06-06T15:23:11.000Z | graph4nlp/__init__.py | stjordanis/graph4nlp | c6ebde32bc77d3a7b78f86a93f19b1c057963ffa | [
"Apache-2.0"
] | null | null | null | graph4nlp/__init__.py | stjordanis/graph4nlp | c6ebde32bc77d3a7b78f86a93f19b1c057963ffa | [
"Apache-2.0"
] | 1 | 2021-11-01T08:41:26.000Z | 2021-11-01T08:41:26.000Z | from .pytorch import data, datasets, models
from .pytorch.data import log_level
from .pytorch.modules import evaluation, graph_construction, graph_embedding, loss, prediction, config, utils
| 38.2 | 109 | 0.82199 | 25 | 191 | 6.16 | 0.68 | 0.214286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.109948 | 191 | 4 | 110 | 47.75 | 0.905882 | 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 |
3b7eedcc35cf4144a0970df0ab0b2fc6f2c2b215 | 166 | py | Python | django_geo/urls.py | roverdotcom/django-geo | f832a7f434fa4e2baa54a859596468a283ce7f43 | [
"MIT"
] | null | null | null | django_geo/urls.py | roverdotcom/django-geo | f832a7f434fa4e2baa54a859596468a283ce7f43 | [
"MIT"
] | 1 | 2018-05-14T20:04:03.000Z | 2018-05-17T22:11:09.000Z | django_geo/urls.py | roverdotcom/django-geo | f832a7f434fa4e2baa54a859596468a283ce7f43 | [
"MIT"
] | null | null | null | from __future__ import print_function
from __future__ import division
from __future__ import absolute_import
from __future__ import unicode_literals
urlpatterns = []
| 27.666667 | 39 | 0.86747 | 20 | 166 | 6.25 | 0.5 | 0.32 | 0.512 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114458 | 166 | 5 | 40 | 33.2 | 0.85034 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.8 | 0 | 0.8 | 0.2 | 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 |
8e5386dcb675035e10d15e63e270d268d28e6f21 | 140 | py | Python | application/resource/__init__.py | thec0sm0s/Quick-Notes | 09940a1dc7780b16fadb1e43d7734b101dd989de | [
"MIT"
] | 1 | 2020-10-18T02:34:26.000Z | 2020-10-18T02:34:26.000Z | application/resource/__init__.py | thec0sm0s/Quick-Notes | 09940a1dc7780b16fadb1e43d7734b101dd989de | [
"MIT"
] | 8 | 2020-09-28T10:01:31.000Z | 2020-10-12T04:51:25.000Z | application/resource/__init__.py | thec0sm0s/cosnote | 09940a1dc7780b16fadb1e43d7734b101dd989de | [
"MIT"
] | 4 | 2020-09-28T11:47:27.000Z | 2020-10-12T06:54:06.000Z | from mongoengine import connect
def initialize_mongo_connection(configs):
connect(configs.MONGODB_DATABASE, host=configs.MONGODB_URI)
| 23.333333 | 63 | 0.835714 | 17 | 140 | 6.647059 | 0.764706 | 0.247788 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 140 | 5 | 64 | 28 | 0.896825 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d922ebb8c9e9eef59ccf9035fa86ca895f048873 | 15,617 | py | Python | Tests/OSGroups.py | davidavg/Pytest_UI_Automation | ee1859506ea66446a496a6590d24093782277a07 | [
"MIT"
] | null | null | null | Tests/OSGroups.py | davidavg/Pytest_UI_Automation | ee1859506ea66446a496a6590d24093782277a07 | [
"MIT"
] | null | null | null | Tests/OSGroups.py | davidavg/Pytest_UI_Automation | ee1859506ea66446a496a6590d24093782277a07 | [
"MIT"
] | null | null | null | '''
Created on Nov 1, 2018
@author: dguerra
'''
import pytest
from FrameworkLib.GeneralLib import Browser, AUTCommon, General, nDelay
from selenium.webdriver.common.by import By
from selenium.webdriver.support.wait import WebDriverWait
from selenium.webdriver.support import expected_conditions as EC
from selenium.web... | 47.75841 | 241 | 0.658193 | 1,997 | 15,617 | 5.020531 | 0.10666 | 0.050868 | 0.043986 | 0.073609 | 0.782466 | 0.760523 | 0.749152 | 0.735887 | 0.731299 | 0.709156 | 0 | 0.007394 | 0.211949 | 15,617 | 327 | 242 | 47.75841 | 0.807264 | 0.027022 | 0 | 0.462222 | 0 | 0.204444 | 0.461483 | 0.175222 | 0 | 0 | 0 | 0 | 0.093333 | 1 | 0.057778 | false | 0 | 0.031111 | 0 | 0.088889 | 0.004444 | 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 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d94cf7787342249604ed6698cf43d321e3fef022 | 9,753 | py | Python | tests/src/Diksha_Reports/usage_by_textbook/column_chart.py | JalajaTR/cQube | 6bf58ab25f0c36709630987ab730bbd5d9192c03 | [
"MIT"
] | null | null | null | tests/src/Diksha_Reports/usage_by_textbook/column_chart.py | JalajaTR/cQube | 6bf58ab25f0c36709630987ab730bbd5d9192c03 | [
"MIT"
] | 2 | 2022-02-01T00:55:12.000Z | 2022-03-29T22:29:09.000Z | tests/src/Diksha_Reports/usage_by_textbook/column_chart.py | JalajaTR/cQube | 6bf58ab25f0c36709630987ab730bbd5d9192c03 | [
"MIT"
] | null | null | null | import unittest
from Data.parameters import Data
from Diksha_Reports.Diksha_column_chart.check_course_type_content_play_counts import test_course_types_data
from Diksha_Reports.Diksha_column_chart.check_overall_type_content_play_counts import test_overall_types_data
from Diksha_Reports.Diksha_column_chart.check_textbo... | 44.131222 | 119 | 0.720804 | 1,339 | 9,753 | 4.986557 | 0.09186 | 0.100344 | 0.057511 | 0.091059 | 0.824772 | 0.801258 | 0.751685 | 0.733563 | 0.708102 | 0.618841 | 0 | 0.006883 | 0.195632 | 9,753 | 221 | 120 | 44.131222 | 0.844232 | 0.013022 | 0 | 0.494444 | 0 | 0 | 0.139532 | 0.002701 | 0 | 0 | 0 | 0 | 0.144444 | 1 | 0.172222 | false | 0 | 0.094444 | 0 | 0.272222 | 0.011111 | 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 |
79410e2c6369500a0ffe3b8c2e0cbc351890d3de | 142 | py | Python | scripts/save_next_appointment.py | rugo/sac_client | 64b4a2bb1c2fadbc28facac3149e8d5cc097ba63 | [
"Apache-2.0"
] | null | null | null | scripts/save_next_appointment.py | rugo/sac_client | 64b4a2bb1c2fadbc28facac3149e8d5cc097ba63 | [
"Apache-2.0"
] | null | null | null | scripts/save_next_appointment.py | rugo/sac_client | 64b4a2bb1c2fadbc28facac3149e8d5cc097ba63 | [
"Apache-2.0"
] | null | null | null | #!/opt/sac/bin/python
from sac import util
from sac import config
util.save_appointment_to_file(config.APP_CACHE_PATH, config.APP_ERROR_PATH) | 28.4 | 75 | 0.838028 | 25 | 142 | 4.48 | 0.64 | 0.125 | 0.232143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.077465 | 142 | 5 | 75 | 28.4 | 0.854962 | 0.140845 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8dc55477b8ce71e54041769e6f2cc7a0b7733fe4 | 43 | py | Python | bind_manager_v3/__init__.py | the-elven-archer/bind_manager | 8c56bb8602bd823a44cf2531960f2fad0e2bb7db | [
"Apache-2.0"
] | null | null | null | bind_manager_v3/__init__.py | the-elven-archer/bind_manager | 8c56bb8602bd823a44cf2531960f2fad0e2bb7db | [
"Apache-2.0"
] | null | null | null | bind_manager_v3/__init__.py | the-elven-archer/bind_manager | 8c56bb8602bd823a44cf2531960f2fad0e2bb7db | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python2
from .web import *
| 10.75 | 22 | 0.674419 | 7 | 43 | 4.142857 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027778 | 0.162791 | 43 | 3 | 23 | 14.333333 | 0.777778 | 0.488372 | 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 |
8def1dc491fc20dbb138c3c824fc2bb878ed5f11 | 43 | py | Python | mosa/__init__.py | siyuan0/Multi-objective-simulated-annealing | 562e17d8274fed6bd6d870973de837aefde63cea | [
"MIT"
] | null | null | null | mosa/__init__.py | siyuan0/Multi-objective-simulated-annealing | 562e17d8274fed6bd6d870973de837aefde63cea | [
"MIT"
] | null | null | null | mosa/__init__.py | siyuan0/Multi-objective-simulated-annealing | 562e17d8274fed6bd6d870973de837aefde63cea | [
"MIT"
] | null | null | null | from .solution import Solution as Solution
| 21.5 | 42 | 0.837209 | 6 | 43 | 6 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.139535 | 43 | 1 | 43 | 43 | 0.972973 | 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 |
8def354fd005c450023a964c5dfcbc0bc5ffbeb1 | 191 | py | Python | flash/image/segmentation/__init__.py | Isaac-Flath/lightning-flash | 320f87707587d92a13c8831778864b33af4fe421 | [
"Apache-2.0"
] | 2 | 2021-04-23T11:02:21.000Z | 2021-04-23T11:22:19.000Z | flash/image/segmentation/__init__.py | Isaac-Flath/lightning-flash | 320f87707587d92a13c8831778864b33af4fe421 | [
"Apache-2.0"
] | 1 | 2021-06-16T14:46:06.000Z | 2021-06-16T14:46:06.000Z | flash/image/segmentation/__init__.py | Isaac-Flath/lightning-flash | 320f87707587d92a13c8831778864b33af4fe421 | [
"Apache-2.0"
] | 3 | 2021-06-03T10:03:04.000Z | 2021-08-08T21:49:16.000Z | from flash.image.segmentation.data import SemanticSegmentationData, SemanticSegmentationPreprocess # noqa: F401
from flash.image.segmentation.model import SemanticSegmentation # noqa: F401
| 63.666667 | 112 | 0.853403 | 19 | 191 | 8.578947 | 0.631579 | 0.110429 | 0.171779 | 0.319018 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.034483 | 0.089005 | 191 | 2 | 113 | 95.5 | 0.902299 | 0.109948 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5c0ec76f1f23de3b79b029255b4c5795624af739 | 128 | py | Python | telerembash/artifacts/__init__.py | kpe/telerembash | 139fa21584e6cdaa4e84cec4193779d7d3d39a96 | [
"MIT"
] | 2 | 2021-04-25T16:47:13.000Z | 2021-12-09T15:38:34.000Z | telerembash/artifacts/__init__.py | thomasbiege/telerembash | 4c8bc061d6cffff4d0e43389602ced4749dac092 | [
"MIT"
] | 1 | 2021-09-10T07:35:13.000Z | 2021-09-10T07:35:13.000Z | telerembash/artifacts/__init__.py | thomasbiege/telerembash | 4c8bc061d6cffff4d0e43389602ced4749dac092 | [
"MIT"
] | 1 | 2021-04-25T16:47:17.000Z | 2021-04-25T16:47:17.000Z | # coding=utf-8
#
# created by kpe on 10.01.2021 at 12:55 PM
#
from __future__ import division, absolute_import, print_function
| 18.285714 | 64 | 0.757813 | 22 | 128 | 4.136364 | 0.954545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12037 | 0.15625 | 128 | 6 | 65 | 21.333333 | 0.722222 | 0.414063 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
5c1cb3400a164c3e136775cff73810aae11a3b83 | 1,683 | py | Python | Virtual Assistant/API/weatherCom.py | Codingmace/JARVIS | 826d8eeaac9472511ffe5cae6f6924aa041cc723 | [
"MIT"
] | 1 | 2021-02-06T13:08:37.000Z | 2021-02-06T13:08:37.000Z | Virtual Assistant/API/weatherCom.py | Codingmace/JARVIS | 826d8eeaac9472511ffe5cae6f6924aa041cc723 | [
"MIT"
] | null | null | null | Virtual Assistant/API/weatherCom.py | Codingmace/JARVIS | 826d8eeaac9472511ffe5cae6f6924aa041cc723 | [
"MIT"
] | null | null | null | import requests
from variables import rapidApiKey
def covid19(language):
url = "https://weather-com.p.rapidapi.com/v3/wx/disease/tracker/countryList/current"
querystring = {"language": language}
headers = {
'x-rapidapi-key': rapidApiKey,
'x-rapidapi-host': "weather-com.p.rapidapi.com"
... | 29.526316 | 93 | 0.667261 | 194 | 1,683 | 5.78866 | 0.231959 | 0.071238 | 0.078362 | 0.135352 | 0.806768 | 0.806768 | 0.806768 | 0.806768 | 0.806768 | 0.776492 | 0 | 0.008727 | 0.183007 | 1,683 | 56 | 94 | 30.053571 | 0.808 | 0 | 0 | 0.605263 | 0 | 0.105263 | 0.343843 | 0.061868 | 0 | 0 | 0 | 0 | 0 | 1 | 0.105263 | false | 0 | 0.052632 | 0 | 0.263158 | 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 |
5c2bdc5a41eda9baa59bbd8fd90686dd365764e0 | 176 | py | Python | tests/webserver/test_data_model.py | cybercamp18isecurity/iSecurity | 016e1bb7d73864654323e2aac00024483741f8ed | [
"MIT"
] | 4 | 2018-11-30T22:49:52.000Z | 2019-06-20T22:36:23.000Z | tests/webserver/test_data_model.py | cybercamp18isecurity/iSecurity | 016e1bb7d73864654323e2aac00024483741f8ed | [
"MIT"
] | 3 | 2018-11-30T12:06:21.000Z | 2018-12-11T21:09:07.000Z | tests/webserver/test_data_model.py | cybercamp18isecurity/iSecurity | 016e1bb7d73864654323e2aac00024483741f8ed | [
"MIT"
] | 4 | 2018-12-01T01:19:36.000Z | 2019-10-22T05:54:48.000Z | import pytest
from isecurity_webserver.data_model import get_data_model
def test_load_data_model():
data_model = get_data_model()
assert len(data_model._elk._HOST) > 0 | 29.333333 | 57 | 0.801136 | 28 | 176 | 4.571429 | 0.571429 | 0.421875 | 0.1875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006536 | 0.130682 | 176 | 6 | 58 | 29.333333 | 0.830065 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.6 | 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 |
5c3cc3657dbc609c066ba36d12a43f4607850af1 | 12,790 | py | Python | tests/test_yt_selection.py | ytree-project/ytree | 4ba1d3e6efd1e647c594b2c0de51b0217de7a45c | [
"BSD-3-Clause-Clear"
] | 3 | 2020-02-28T10:25:39.000Z | 2021-04-13T07:18:35.000Z | tests/test_yt_selection.py | ytree-project/ytree | 4ba1d3e6efd1e647c594b2c0de51b0217de7a45c | [
"BSD-3-Clause-Clear"
] | 36 | 2019-12-03T17:33:29.000Z | 2022-02-18T10:39:25.000Z | tests/test_yt_selection.py | ytree-project/ytree | 4ba1d3e6efd1e647c594b2c0de51b0217de7a45c | [
"BSD-3-Clause-Clear"
] | 6 | 2019-08-22T16:01:34.000Z | 2020-08-25T09:57:17.000Z | """
tests for yt frontend and selection functions
"""
#-----------------------------------------------------------------------------
# Copyright (c) ytree development team. All rights reserved.
#
# Distributed under the terms of the Modified BSD License.
#
# The full license is in the file COPYING.txt, distributed ... | 31.580247 | 82 | 0.547615 | 1,781 | 12,790 | 3.687254 | 0.072431 | 0.061824 | 0.048576 | 0.06624 | 0.815898 | 0.801584 | 0.793361 | 0.757271 | 0.742348 | 0.711436 | 0 | 0.018148 | 0.284832 | 12,790 | 404 | 83 | 31.658416 | 0.699792 | 0.030727 | 0 | 0.683386 | 0 | 0 | 0.070517 | 0.002019 | 0 | 0 | 0 | 0 | 0.137931 | 1 | 0.068966 | false | 0 | 0.018809 | 0 | 0.100313 | 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 |
5c48edd451c129e0c61fc8bd7cc147f6c3637857 | 7,079 | py | Python | xscale/spectral/tests/test_fft.py | serazing/xscale | a804866aa6f6a5a0f293a7f6765ea17403159134 | [
"Apache-2.0"
] | 24 | 2017-02-28T15:01:29.000Z | 2022-02-22T08:26:23.000Z | xscale/spectral/tests/test_fft.py | serazing/xscale | a804866aa6f6a5a0f293a7f6765ea17403159134 | [
"Apache-2.0"
] | 19 | 2017-02-24T12:30:26.000Z | 2022-02-25T04:57:32.000Z | xscale/spectral/tests/test_fft.py | serazing/xscale | a804866aa6f6a5a0f293a7f6765ea17403159134 | [
"Apache-2.0"
] | 10 | 2017-03-04T02:59:42.000Z | 2021-11-14T12:40:54.000Z | # Python 2/3 compatibility
from __future__ import absolute_import, division, print_function
import xscale.spectral.fft as xfft
import xarray as xr
import numpy as np
import pytest
def test_fft_real_1d():
""" Compare the result from the spectrum._fft function to numpy.fft.rfft
"""
a = [0, 1, 0, 0]
dummy_array = x... | 41.397661 | 76 | 0.633564 | 1,222 | 7,079 | 3.510638 | 0.099836 | 0.08951 | 0.042424 | 0.058741 | 0.877855 | 0.869697 | 0.852214 | 0.852214 | 0.843823 | 0.747552 | 0 | 0.041167 | 0.152423 | 7,079 | 171 | 77 | 41.397661 | 0.673833 | 0.109479 | 0 | 0.528926 | 0 | 0 | 0.037598 | 0 | 0 | 0 | 0 | 0 | 0.231405 | 1 | 0.107438 | false | 0 | 0.041322 | 0 | 0.14876 | 0.008264 | 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 |
30b324b74ce787286bb0b194cade3809939e5dd4 | 19,345 | py | Python | sdk/digitaltwins/azure-digitaltwins-core/tests/test_models.py | rsdoherty/azure-sdk-for-python | 6bba5326677468e6660845a703686327178bb7b1 | [
"MIT"
] | 2,728 | 2015-01-09T10:19:32.000Z | 2022-03-31T14:50:33.000Z | sdk/digitaltwins/azure-digitaltwins-core/tests/test_models.py | rsdoherty/azure-sdk-for-python | 6bba5326677468e6660845a703686327178bb7b1 | [
"MIT"
] | 17,773 | 2015-01-05T15:57:17.000Z | 2022-03-31T23:50:25.000Z | sdk/digitaltwins/azure-digitaltwins-core/tests/test_models.py | rsdoherty/azure-sdk-for-python | 6bba5326677468e6660845a703686327178bb7b1 | [
"MIT"
] | 1,916 | 2015-01-19T05:05:41.000Z | 2022-03-31T19:36:44.000Z | # -------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See LICENSE.txt in the project root for
# license information.
# -------------------------------------------------------------------------
import pyte... | 35.04529 | 100 | 0.537607 | 1,583 | 19,345 | 6.334807 | 0.075174 | 0.08227 | 0.054248 | 0.06442 | 0.884424 | 0.862385 | 0.852014 | 0.843139 | 0.833765 | 0.823295 | 0 | 0.006113 | 0.34045 | 19,345 | 551 | 101 | 35.108893 | 0.779842 | 0.015405 | 0 | 0.660118 | 0 | 0 | 0.160391 | 0.00772 | 0 | 0 | 0 | 0 | 0.047151 | 1 | 0.041257 | false | 0.001965 | 0.011788 | 0 | 0.064833 | 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 |
30b39bd8871bd22dd1f5dffd1e8533878fbd1be9 | 33 | py | Python | malcolm/modules/pandablocks/__init__.py | aaron-parsons/pymalcolm | 4e7ebd6b09382ab7e013278a81097d17873fa5c4 | [
"Apache-2.0"
] | null | null | null | malcolm/modules/pandablocks/__init__.py | aaron-parsons/pymalcolm | 4e7ebd6b09382ab7e013278a81097d17873fa5c4 | [
"Apache-2.0"
] | null | null | null | malcolm/modules/pandablocks/__init__.py | aaron-parsons/pymalcolm | 4e7ebd6b09382ab7e013278a81097d17873fa5c4 | [
"Apache-2.0"
] | null | null | null | from . import controllers, parts
| 16.5 | 32 | 0.787879 | 4 | 33 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151515 | 33 | 1 | 33 | 33 | 0.928571 | 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 |
30b3e2184f9c83334de38f38f5c7e3a8c0320a0b | 239 | py | Python | tests/test_fibonnaci.py | robchrob/python-boilerplate | aa51b37344fc339a62702f427e64fd78ec852970 | [
"MIT"
] | 1 | 2021-07-11T22:53:59.000Z | 2021-07-11T22:53:59.000Z | tests/test_fibonnaci.py | robchrob/python-boilerplate | aa51b37344fc339a62702f427e64fd78ec852970 | [
"MIT"
] | null | null | null | tests/test_fibonnaci.py | robchrob/python-boilerplate | aa51b37344fc339a62702f427e64fd78ec852970 | [
"MIT"
] | null | null | null | from app.math_func import fibonacci
def test_fibonacci_basic_init():
assert fibonacci(0) == 0
assert fibonacci(1) == 1
def test_fibonacci_2():
assert fibonacci(2) == 1
def test_fibonacci_3():
assert fibonacci(3) == 2
| 15.933333 | 35 | 0.690377 | 35 | 239 | 4.485714 | 0.428571 | 0.382166 | 0.305732 | 0.216561 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.052356 | 0.200837 | 239 | 14 | 36 | 17.071429 | 0.769634 | 0 | 0 | 0 | 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 |
30dd1cfcb3c401c0ff078e8b1e79d65d1f3b0668 | 326 | py | Python | terrascript/librato/r.py | amlodzianowski/python-terrascript | 1111affe6cd30d9b8b7bc74ae4e27590f7d4dc49 | [
"BSD-2-Clause"
] | null | null | null | terrascript/librato/r.py | amlodzianowski/python-terrascript | 1111affe6cd30d9b8b7bc74ae4e27590f7d4dc49 | [
"BSD-2-Clause"
] | null | null | null | terrascript/librato/r.py | amlodzianowski/python-terrascript | 1111affe6cd30d9b8b7bc74ae4e27590f7d4dc49 | [
"BSD-2-Clause"
] | null | null | null | # terrascript/librato/r.py
import terrascript
class librato_space(terrascript.Resource):
pass
class librato_space_chart(terrascript.Resource):
pass
class librato_metric(terrascript.Resource):
pass
class librato_alert(terrascript.Resource):
pass
class librato_service(terrascript.Resource):
... | 13.583333 | 48 | 0.773006 | 37 | 326 | 6.648649 | 0.351351 | 0.243902 | 0.46748 | 0.455285 | 0.569106 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153374 | 326 | 23 | 49 | 14.173913 | 0.891304 | 0.07362 | 0 | 0.454545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.454545 | 0.090909 | 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 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
eb73d2ce1b5470e210d1552d59f859baa865830e | 196 | py | Python | pkgs/sdk-pkg/src/genie/libs/sdk/triggers/modify/dot1x/modify.py | miott/genielibs | 6464642cdd67aa2367bdbb12561af4bb060e5e62 | [
"Apache-2.0"
] | 94 | 2018-04-30T20:29:15.000Z | 2022-03-29T13:40:31.000Z | pkgs/sdk-pkg/src/genie/libs/sdk/triggers/modify/dot1x/modify.py | miott/genielibs | 6464642cdd67aa2367bdbb12561af4bb060e5e62 | [
"Apache-2.0"
] | 67 | 2018-12-06T21:08:09.000Z | 2022-03-29T18:00:46.000Z | pkgs/sdk-pkg/src/genie/libs/sdk/triggers/modify/dot1x/modify.py | miott/genielibs | 6464642cdd67aa2367bdbb12561af4bb060e5e62 | [
"Apache-2.0"
] | 49 | 2018-06-29T18:59:03.000Z | 2022-03-10T02:07:59.000Z | '''Implementation for Dot1x modify triggers'''
# import genie.libs
from genie.libs.sdk.triggers.modify.modify import TriggerModify
class TriggerModifyDot1xUserCredential(TriggerModify):
pass | 28 | 63 | 0.816327 | 21 | 196 | 7.619048 | 0.666667 | 0.1125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011364 | 0.102041 | 196 | 7 | 64 | 28 | 0.897727 | 0.30102 | 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 |
eb8f5f84ea03fd69fb7073c3e4f5bf6d4b9138b4 | 1,891 | py | Python | atom/electron/python/electron_api/__init__.py | AbhiGupta03/SDK | f3a61aae7a847f07f0c22a154ca88dc378e9d25e | [
"Apache-2.0"
] | null | null | null | atom/electron/python/electron_api/__init__.py | AbhiGupta03/SDK | f3a61aae7a847f07f0c22a154ca88dc378e9d25e | [
"Apache-2.0"
] | null | null | null | atom/electron/python/electron_api/__init__.py | AbhiGupta03/SDK | f3a61aae7a847f07f0c22a154ca88dc378e9d25e | [
"Apache-2.0"
] | null | null | null | # coding: utf-8
# flake8: noqa
"""
Hydrogen Electron API
The Hydrogen Electron API # noqa: E501
OpenAPI spec version: 1.3.1
Contact: info@hydrogenplatform.com
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from __future__ import absolute_import
# import apis into sdk pa... | 43.976744 | 106 | 0.8789 | 250 | 1,891 | 6.32 | 0.304 | 0.160127 | 0.199367 | 0.199367 | 0.3 | 0.15 | 0.050633 | 0 | 0 | 0 | 0 | 0.004619 | 0.084083 | 1,891 | 42 | 107 | 45.02381 | 0.907621 | 0.156531 | 0 | 0 | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
eba5f222c3541de195057b10d27801c818985d80 | 167 | py | Python | tests/test_util.py | phanirithvij/anime-downloader | 421b487e18ea83b31b38ceee812adf1c5a764380 | [
"Unlicense"
] | null | null | null | tests/test_util.py | phanirithvij/anime-downloader | 421b487e18ea83b31b38ceee812adf1c5a764380 | [
"Unlicense"
] | null | null | null | tests/test_util.py | phanirithvij/anime-downloader | 421b487e18ea83b31b38ceee812adf1c5a764380 | [
"Unlicense"
] | null | null | null | import pytest
from anime_downloader import util
def test_split_anime():
anime_list = list(range(20))
assert len(util.split_anime(anime_list, '1:10')) == 9
| 16.7 | 57 | 0.718563 | 26 | 167 | 4.384615 | 0.653846 | 0.175439 | 0.263158 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043165 | 0.167665 | 167 | 9 | 58 | 18.555556 | 0.776978 | 0 | 0 | 0 | 0 | 0 | 0.023952 | 0 | 0 | 0 | 0 | 0 | 0.2 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ebb301337d4fda8930c51cbc18cfe03a3395831f | 49 | py | Python | glosysnet/nn/optimize/__init__.py | NareshAtnPLUS/glosysnet | e85df44727b8784766be7e728267e5699997e226 | [
"MIT"
] | null | null | null | glosysnet/nn/optimize/__init__.py | NareshAtnPLUS/glosysnet | e85df44727b8784766be7e728267e5699997e226 | [
"MIT"
] | null | null | null | glosysnet/nn/optimize/__init__.py | NareshAtnPLUS/glosysnet | e85df44727b8784766be7e728267e5699997e226 | [
"MIT"
] | null | null | null | from glosysnet.nn.optimizations.optimize import * | 49 | 49 | 0.857143 | 6 | 49 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.061224 | 49 | 1 | 49 | 49 | 0.913043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ebbdfda518d8f437c1afe08f1064ebe908ba3137 | 30 | py | Python | map-parser/zlib_raw/__init__.py | ZetaTwo/AoE2ScenarioParser | 1e130facf7871e08c9aaa456180940878d975219 | [
"Apache-2.0"
] | 1 | 2022-01-17T00:05:43.000Z | 2022-01-17T00:05:43.000Z | map-parser/zlib_raw/__init__.py | ZetaTwo/AoE2ScenarioParser | 1e130facf7871e08c9aaa456180940878d975219 | [
"Apache-2.0"
] | null | null | null | map-parser/zlib_raw/__init__.py | ZetaTwo/AoE2ScenarioParser | 1e130facf7871e08c9aaa456180940878d975219 | [
"Apache-2.0"
] | 1 | 2022-01-17T00:05:48.000Z | 2022-01-17T00:05:48.000Z | from .zlib_raw import ZlibRaw
| 15 | 29 | 0.833333 | 5 | 30 | 4.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 30 | 1 | 30 | 30 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ebd9a56fa7a697f8f32aac4e5414f4b9da78270a | 38 | py | Python | myscript.py | jakevdp/try-out-git | c8bdfc917612f6b49519e91f3374fdd289f40dcb | [
"MIT"
] | 4 | 2018-06-21T02:28:13.000Z | 2021-08-29T05:03:13.000Z | myscript.py | jakevdp/try-out-git | c8bdfc917612f6b49519e91f3374fdd289f40dcb | [
"MIT"
] | 2 | 2018-06-15T22:49:32.000Z | 2018-06-16T14:39:38.000Z | myscript.py | jakevdp/try-out-git | c8bdfc917612f6b49519e91f3374fdd289f40dcb | [
"MIT"
] | 1 | 2021-08-29T05:03:14.000Z | 2021-08-29T05:03:14.000Z | import math
print(math.sin(math.pi))
| 9.5 | 24 | 0.736842 | 7 | 38 | 4 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 38 | 3 | 25 | 12.666667 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
cce8134f5bf76931d70e650051ce9fa77b4f2cac | 3,678 | py | Python | core/api/sprinklers.py | One-Green/admin-ui | 194d5878d0f737bd121ed8356434bf9fae3914e1 | [
"CC0-1.0"
] | null | null | null | core/api/sprinklers.py | One-Green/admin-ui | 194d5878d0f737bd121ed8356434bf9fae3914e1 | [
"CC0-1.0"
] | null | null | null | core/api/sprinklers.py | One-Green/admin-ui | 194d5878d0f737bd121ed8356434bf9fae3914e1 | [
"CC0-1.0"
] | null | null | null | import os
import requests
from json.decoder import JSONDecodeError
def create_tag(api: str, tag=str, _basic_auth: tuple = None) -> bool:
"""
Create new sprinkler tag by api
:param api:
:param tag:
:param _basic_auth:
:return:
"""
if _basic_auth:
if requests.post(api, data={"tag... | 24.039216 | 87 | 0.582926 | 445 | 3,678 | 4.593258 | 0.130337 | 0.123288 | 0.073386 | 0.078278 | 0.886008 | 0.875734 | 0.861546 | 0.751957 | 0.732877 | 0.732877 | 0 | 0 | 0.309679 | 3,678 | 152 | 88 | 24.197368 | 0.805041 | 0.185699 | 0 | 0.698795 | 0 | 0 | 0.049186 | 0.025316 | 0 | 0 | 0 | 0 | 0 | 1 | 0.084337 | false | 0 | 0.036145 | 0 | 0.409639 | 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 |
cceb1726bd58f0efe0918b0121a4fe7a6311ed8c | 12,184 | py | Python | django_eve_data/esi_api/alliances.py | SvenMatzke/EveData | a890c5bf4197f63092938de5d35c63054e0bb18c | [
"MIT"
] | 1 | 2017-02-26T20:34:11.000Z | 2017-02-26T20:34:11.000Z | django_eve_data/esi_api/alliances.py | SvenMatzke/eve_data | a890c5bf4197f63092938de5d35c63054e0bb18c | [
"MIT"
] | null | null | null | django_eve_data/esi_api/alliances.py | SvenMatzke/eve_data | a890c5bf4197f63092938de5d35c63054e0bb18c | [
"MIT"
] | null | null | null | # coding utf-8
"""
Autogenerated Template File
"""
from .base import EsiRequestObject
class AlliancesDetailIcons(object):
base_url = "https://esi.tech.ccp.is/latest/alliances/{alliance_id}/icons/"
get_responses = {'500': {'schema': {'type': 'object', 'properties': {'error': {'type': 'string', 'description':... | 67.688889 | 2,053 | 0.66612 | 1,364 | 12,184 | 5.77346 | 0.1239 | 0.068571 | 0.072381 | 0.063492 | 0.788825 | 0.748952 | 0.669968 | 0.638984 | 0.61981 | 0.602667 | 0 | 0.02724 | 0.168418 | 12,184 | 180 | 2,054 | 67.688889 | 0.75 | 0.222177 | 0 | 0.509804 | 1 | 0 | 0.613752 | 0.11927 | 0 | 0 | 0 | 0 | 0 | 1 | 0.098039 | false | 0 | 0.019608 | 0 | 0.509804 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
693128e8d0570b1f5ed32820fbfafb4505d3d015 | 48 | py | Python | project/Packaging/sta663/__init__.py | taotangtt/sta-663-2018 | 67dac909477f81d83ebe61e0753de2328af1be9c | [
"BSD-3-Clause"
] | 72 | 2018-01-20T20:50:22.000Z | 2022-02-27T23:24:21.000Z | project/Packaging/sta663/__init__.py | taotangtt/sta-663-2018 | 67dac909477f81d83ebe61e0753de2328af1be9c | [
"BSD-3-Clause"
] | 1 | 2020-02-03T13:43:46.000Z | 2020-02-03T13:43:46.000Z | project/Packaging/sta663/__init__.py | taotangtt/sta-663-2018 | 67dac909477f81d83ebe61e0753de2328af1be9c | [
"BSD-3-Clause"
] | 64 | 2018-01-12T17:13:14.000Z | 2022-03-14T20:22:46.000Z | import pkg
from pkg.sub1.sub1_stuff import g1
| 12 | 34 | 0.791667 | 9 | 48 | 4.111111 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075 | 0.166667 | 48 | 3 | 35 | 16 | 0.85 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
15e70d68afc700fc3846dc9cdfad68aa353d844d | 159 | py | Python | tests/test_integration.py | ENVIRO-Module/enbios | 10e93df9a168627833eca6d04e4e2b864de8e8d9 | [
"BSD-3-Clause"
] | 2 | 2022-01-28T09:38:28.000Z | 2022-01-28T09:38:32.000Z | tests/test_integration.py | ENVIRO-Module/enbios | 10e93df9a168627833eca6d04e4e2b864de8e8d9 | [
"BSD-3-Clause"
] | 1 | 2022-01-27T21:42:42.000Z | 2022-01-27T21:42:42.000Z | tests/test_integration.py | ENVIRO-Module/enbios | 10e93df9a168627833eca6d04e4e2b864de8e8d9 | [
"BSD-3-Clause"
] | null | null | null | import os
import sys
import pytest
from ..enbios.processing.main import enviro_musiasem
def test_example_1():
enviro_musiasem("../example_config.yaml")
| 15.9 | 52 | 0.779874 | 22 | 159 | 5.409091 | 0.727273 | 0.235294 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007194 | 0.125786 | 159 | 9 | 53 | 17.666667 | 0.848921 | 0 | 0 | 0 | 0 | 0 | 0.138365 | 0.138365 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | true | 0 | 0.666667 | 0 | 0.833333 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c618b4be487a9b92b4878363ad44c86c833125b9 | 26 | py | Python | cloud_broker/__init__.py | mridhul/minion-manager | 7301ac6360a82dfdd27e682d070c34e90f080149 | [
"Apache-2.0"
] | 54 | 2018-07-06T18:06:54.000Z | 2019-06-03T15:21:01.000Z | cloud_broker/__init__.py | mridhul/minion-manager | 7301ac6360a82dfdd27e682d070c34e90f080149 | [
"Apache-2.0"
] | 28 | 2018-07-05T23:32:22.000Z | 2019-07-19T17:19:26.000Z | cloud_broker/__init__.py | mridhul/minion-manager | 7301ac6360a82dfdd27e682d070c34e90f080149 | [
"Apache-2.0"
] | 15 | 2018-07-28T04:51:01.000Z | 2019-07-30T14:50:25.000Z | from broker import Broker
| 13 | 25 | 0.846154 | 4 | 26 | 5.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 26 | 1 | 26 | 26 | 1 | 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 |
c619529557146fe2c49428bfed9251ade8ce67b7 | 188 | py | Python | scripts/andc1_memory.py | cferge-auroranetworx/Aurora-Networx-Cloud-Mgmt | 9ac116c5e8509325498265103b1dd00fb3714b95 | [
"Apache-2.0"
] | null | null | null | scripts/andc1_memory.py | cferge-auroranetworx/Aurora-Networx-Cloud-Mgmt | 9ac116c5e8509325498265103b1dd00fb3714b95 | [
"Apache-2.0"
] | null | null | null | scripts/andc1_memory.py | cferge-auroranetworx/Aurora-Networx-Cloud-Mgmt | 9ac116c5e8509325498265103b1dd00fb3714b95 | [
"Apache-2.0"
] | null | null | null | import os
import commands
memory = commands.getoutput("""free -t -m | grep "Total" | awk '{ print "Total (Inc Swap) : "$2" MB >> " "Used : "$3" MB >> Free : "$4" MB";}'""")
print memory
| 26.857143 | 146 | 0.574468 | 27 | 188 | 4 | 0.703704 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019868 | 0.196809 | 188 | 6 | 147 | 31.333333 | 0.695364 | 0 | 0 | 0 | 0 | 0.25 | 0.590426 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.5 | null | null | 0.5 | 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 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
c643f97e68c0652f0872753ba57afc59bd066300 | 3,532 | py | Python | test_dht.py | AndreaPi/DHT | 103cd286b804f52222f50055b36788c83c0fe231 | [
"MIT"
] | 1 | 2021-08-06T06:23:39.000Z | 2021-08-06T06:23:39.000Z | test_dht.py | AndreaPi/DHT | 103cd286b804f52222f50055b36788c83c0fe231 | [
"MIT"
] | null | null | null | test_dht.py | AndreaPi/DHT | 103cd286b804f52222f50055b36788c83c0fe231 | [
"MIT"
] | null | null | null | from dht import dht, idht, flip_periodic, dht_conv, conv
import numpy as np
import inspect
def test_dht():
# DHT transform of a constant sequence, based on DFT transform of the same
N = 20
x = np.ones((N, ))
X = dht(x)
X1 = np.zeros((N, ))
X1[0] = N
msg = f"{inspect.stack()[0][3]}: constant... | 29.680672 | 90 | 0.55974 | 662 | 3,532 | 2.916918 | 0.111782 | 0.018643 | 0.018643 | 0.082859 | 0.829622 | 0.822372 | 0.817711 | 0.757639 | 0.706888 | 0.706888 | 0 | 0.044554 | 0.256512 | 3,532 | 119 | 91 | 29.680672 | 0.690784 | 0.128539 | 0 | 0.685714 | 0 | 0 | 0.197004 | 0.077499 | 0 | 0 | 0 | 0 | 0.095238 | 1 | 0.038095 | false | 0.038095 | 0.028571 | 0 | 0.066667 | 0.038095 | 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 |
d65f87af2506f0299a9465f9755d43378d0ae3e1 | 15,746 | py | Python | barbican/api/controllers/acls.py | mail2nsrajesh/barbican | d16d932b77486e9b2f8c6d30e628a6e66517b1a6 | [
"Apache-2.0"
] | 177 | 2015-01-02T09:35:53.000Z | 2022-02-26T01:43:55.000Z | barbican/api/controllers/acls.py | kkutysllb/barbican | 7b14d983e0dce6dcffe9781b05c52335b8203fc7 | [
"Apache-2.0"
] | 5 | 2019-08-14T06:46:03.000Z | 2021-12-13T20:01:25.000Z | barbican/api/controllers/acls.py | kkutysllb/barbican | 7b14d983e0dce6dcffe9781b05c52335b8203fc7 | [
"Apache-2.0"
] | 87 | 2015-01-13T17:33:40.000Z | 2021-11-09T05:30:36.000Z | # Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed u... | 41.989333 | 79 | 0.618252 | 1,812 | 15,746 | 5.178808 | 0.129691 | 0.048487 | 0.016411 | 0.024723 | 0.808824 | 0.772805 | 0.765345 | 0.748188 | 0.735401 | 0.730072 | 0 | 0.030254 | 0.294678 | 15,746 | 374 | 80 | 42.101604 | 0.814695 | 0.273593 | 0 | 0.663415 | 0 | 0 | 0.089932 | 0.0148 | 0 | 0 | 0 | 0 | 0 | 1 | 0.082927 | false | 0 | 0.04878 | 0 | 0.190244 | 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 |
d661f83e953a22fa7c71d719f617ef546a36e45d | 78 | py | Python | open_close_mixin/__init__.py | CarlosAdp/open-close-mixin | bc9a62ee0b97f1023b8d82048513137dde0e96e6 | [
"MIT"
] | null | null | null | open_close_mixin/__init__.py | CarlosAdp/open-close-mixin | bc9a62ee0b97f1023b8d82048513137dde0e96e6 | [
"MIT"
] | null | null | null | open_close_mixin/__init__.py | CarlosAdp/open-close-mixin | bc9a62ee0b97f1023b8d82048513137dde0e96e6 | [
"MIT"
] | null | null | null | from .open_close_mixin import * # noqa
from .decorators import * # noqa
| 26 | 42 | 0.692308 | 10 | 78 | 5.2 | 0.7 | 0.384615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.230769 | 78 | 2 | 43 | 39 | 0.866667 | 0.115385 | 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 |
d66e4444097bd3e27b1fbe37441ceeed2a87a257 | 47 | py | Python | __init__.py | alissonit/azure_migrate | bc6d5bf6ef290d1bfb0d22854c3429eaf1c074ba | [
"MIT"
] | 1 | 2021-01-14T09:19:34.000Z | 2021-01-14T09:19:34.000Z | __init__.py | mohammedamirk/azure_migrate | bc6d5bf6ef290d1bfb0d22854c3429eaf1c074ba | [
"MIT"
] | null | null | null | __init__.py | mohammedamirk/azure_migrate | bc6d5bf6ef290d1bfb0d22854c3429eaf1c074ba | [
"MIT"
] | 1 | 2021-01-14T09:18:41.000Z | 2021-01-14T09:18:41.000Z | from . import credentials
from . import migrate | 23.5 | 25 | 0.808511 | 6 | 47 | 6.333333 | 0.666667 | 0.526316 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148936 | 47 | 2 | 26 | 23.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 | 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 |
d68680d3449b966a74617b8ca7322c57e329feb8 | 630 | py | Python | src/cho_util/math/rotation/quaternion.py | yycho0108/cho-util | 331efc7aac8cddfb4258620b80cb7fc5f0688d1f | [
"MIT"
] | null | null | null | src/cho_util/math/rotation/quaternion.py | yycho0108/cho-util | 331efc7aac8cddfb4258620b80cb7fc5f0688d1f | [
"MIT"
] | null | null | null | src/cho_util/math/rotation/quaternion.py | yycho0108/cho-util | 331efc7aac8cddfb4258620b80cb7fc5f0688d1f | [
"MIT"
] | null | null | null | import numpy as np
from cho_util.math.rotation import _matrix
from cho_util.math.rotation import _quaternion
from cho_util.math.rotation import _euler
from cho_util.math.rotation import _axis_angle
from cho_util.math.rotation._quaternion import *
def to_matrix(x, *args, **kwargs):
return _matrix.from_quaternion(... | 26.25 | 58 | 0.750794 | 94 | 630 | 4.765957 | 0.212766 | 0.089286 | 0.196429 | 0.167411 | 0.566964 | 0.459821 | 0.200893 | 0 | 0 | 0 | 0 | 0 | 0.128571 | 630 | 23 | 59 | 27.391304 | 0.816029 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
d6a20001c44684d78ac527c61fc8639ae7afe33a | 38 | py | Python | python/lutmatmul/__init__.py | tbiasi/tom-convwconv | 554ec31fe3f3a9e633828e91e42d93f49eb3679e | [
"MIT"
] | null | null | null | python/lutmatmul/__init__.py | tbiasi/tom-convwconv | 554ec31fe3f3a9e633828e91e42d93f49eb3679e | [
"MIT"
] | null | null | null | python/lutmatmul/__init__.py | tbiasi/tom-convwconv | 554ec31fe3f3a9e633828e91e42d93f49eb3679e | [
"MIT"
] | null | null | null | from .lut_wrapper import MithralMatmul | 38 | 38 | 0.894737 | 5 | 38 | 6.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078947 | 38 | 1 | 38 | 38 | 0.942857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d6e2cfaeadef78b0529f4bde23b6a51ba6fbc791 | 2,777 | py | Python | tests/test_curation.py | alex4200/morphology-workflows | aaf79369202939d0e2a86f37818d760893040a34 | [
"Apache-2.0"
] | null | null | null | tests/test_curation.py | alex4200/morphology-workflows | aaf79369202939d0e2a86f37818d760893040a34 | [
"Apache-2.0"
] | null | null | null | tests/test_curation.py | alex4200/morphology-workflows | aaf79369202939d0e2a86f37818d760893040a34 | [
"Apache-2.0"
] | null | null | null | """Test curation functions."""
from morphology_workflows import curation
from . import create_morphology
class Test_fix_soma_radius:
"""Test the function curation.fix_soma_radius()."""
def test_nothing_to_fix(self):
"""No point in soma."""
morph = create_morphology(
"""
... | 26.961165 | 90 | 0.49874 | 402 | 2,777 | 3.263682 | 0.116915 | 0.042683 | 0.041159 | 0.112043 | 0.804878 | 0.753049 | 0.751524 | 0.708841 | 0.708841 | 0.708841 | 0 | 0.111043 | 0.416277 | 2,777 | 102 | 91 | 27.22549 | 0.698334 | 0.111631 | 0 | 0.54902 | 0 | 0 | 0.01052 | 0 | 0 | 0 | 0 | 0 | 0.235294 | 1 | 0.117647 | false | 0 | 0.039216 | 0 | 0.176471 | 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 |
ba383b2f4619255e54fdbf61160bbb0870536257 | 27 | py | Python | universaldatatool/nb/edit_local.py | bribroder/python-universaldatatool | 343b3c0f137bf94a99941c299f25dac16680afcc | [
"MIT"
] | 4 | 2020-04-30T22:15:43.000Z | 2021-01-16T15:48:35.000Z | universaldatatool/nb/edit_local.py | bribroder/python-universaldatatool | 343b3c0f137bf94a99941c299f25dac16680afcc | [
"MIT"
] | 6 | 2020-06-22T13:26:32.000Z | 2020-08-08T23:59:01.000Z | universaldatatool/nb/edit_local.py | bribroder/python-universaldatatool | 343b3c0f137bf94a99941c299f25dac16680afcc | [
"MIT"
] | 5 | 2020-05-25T04:39:41.000Z | 2021-08-11T23:59:26.000Z | def edit_local():
pass
| 9 | 17 | 0.62963 | 4 | 27 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.259259 | 27 | 2 | 18 | 13.5 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
bab00170f9fb517a7b1e363c02feb0758118f7d8 | 104 | py | Python | tests/__init__.py | Arsh0023/netengine | dd0264cfdc03d630774c9e3bfb5c19310444837b | [
"X11"
] | 1 | 2020-08-06T06:38:11.000Z | 2020-08-06T06:38:11.000Z | tests/__init__.py | shildenbrand/NetEngine | 86da540aa9f0aeb7448ac74829f4443af119b2b6 | [
"X11"
] | null | null | null | tests/__init__.py | shildenbrand/NetEngine | 86da540aa9f0aeb7448ac74829f4443af119b2b6 | [
"X11"
] | null | null | null | from .base import *
from .dummy import *
from .ssh import *
from .snmp import *
from .bin import *
| 17.333333 | 21 | 0.663462 | 15 | 104 | 4.6 | 0.466667 | 0.57971 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.240385 | 104 | 5 | 22 | 20.8 | 0.873418 | 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 |
242e85efbc6206f633e719b5265cf2554d026b8a | 9,050 | py | Python | tests/test_polygons.py | lycantropos/hypothesis_geometry | 23e1638144ffba089eee21eb623b0499713e0b1c | [
"MIT"
] | 9 | 2020-01-16T13:52:16.000Z | 2022-03-16T00:01:26.000Z | tests/test_polygons.py | lycantropos/hypothesis_geometry | 23e1638144ffba089eee21eb623b0499713e0b1c | [
"MIT"
] | 38 | 2020-01-16T12:08:51.000Z | 2021-01-11T11:06:32.000Z | tests/test_polygons.py | lycantropos/hypothesis_geometry | 23e1638144ffba089eee21eb623b0499713e0b1c | [
"MIT"
] | 1 | 2020-03-12T10:29:44.000Z | 2020-03-12T10:29:44.000Z | from typing import Tuple
import pytest
from ground.hints import Scalar
from hypothesis import given
from hypothesis.errors import HypothesisWarning
from hypothesis.strategies import DataObject
from hypothesis_geometry.hints import Strategy
from hypothesis_geometry.planar import polygons
from tests import strategies
f... | 41.898148 | 79 | 0.613591 | 983 | 9,050 | 5.163784 | 0.085453 | 0.074468 | 0.045508 | 0.050236 | 0.86052 | 0.795311 | 0.747833 | 0.72892 | 0.727541 | 0.727541 | 0 | 0.000333 | 0.335912 | 9,050 | 215 | 80 | 42.093023 | 0.84426 | 0 | 0 | 0.651934 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.127072 | 1 | 0.044199 | false | 0 | 0.055249 | 0 | 0.099448 | 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 |
243ab2416f11ff2da6d02262f3c90d40193c5193 | 4,973 | py | Python | pygsti/extras/rpe/rpeconfig_GxPi2_GyPi2_UpDn.py | drewrisinger/pyGSTi | dd4ad669931c7f75e026456470cf33ac5b682d0d | [
"Apache-2.0"
] | 1 | 2021-12-19T15:11:09.000Z | 2021-12-19T15:11:09.000Z | pygsti/extras/rpe/rpeconfig_GxPi2_GyPi2_UpDn.py | drewrisinger/pyGSTi | dd4ad669931c7f75e026456470cf33ac5b682d0d | [
"Apache-2.0"
] | null | null | null | pygsti/extras/rpe/rpeconfig_GxPi2_GyPi2_UpDn.py | drewrisinger/pyGSTi | dd4ad669931c7f75e026456470cf33ac5b682d0d | [
"Apache-2.0"
] | null | null | null | """ RPE configuration for X(pi/2), Y(pi/2) single qubit model """
#***************************************************************************************************
# Copyright 2015, 2019 National Technology & Engineering Solutions of Sandia, LLC (NTESS).
# Under the terms of Contract DE-NA0003525 with NTESS, the U.S... | 63.75641 | 107 | 0.748442 | 729 | 4,973 | 4.572016 | 0.163237 | 0.256226 | 0.347735 | 0.420942 | 0.80378 | 0.787579 | 0.713471 | 0.614461 | 0.315632 | 0.105311 | 0 | 0.03937 | 0.080635 | 4,973 | 77 | 108 | 64.584416 | 0.689633 | 0.167907 | 0 | 0.046875 | 0 | 0 | 0.275594 | 0.048278 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.03125 | 0 | 0.03125 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
2453bee06881fae176465c24b872184d27215860 | 32 | py | Python | vis_tools/__init__.py | JessikaSmith/AutomatedTrainTestSplit | 02d5e65d4a1f21b359884c1307f351fa5e3a2590 | [
"MIT"
] | null | null | null | vis_tools/__init__.py | JessikaSmith/AutomatedTrainTestSplit | 02d5e65d4a1f21b359884c1307f351fa5e3a2590 | [
"MIT"
] | null | null | null | vis_tools/__init__.py | JessikaSmith/AutomatedTrainTestSplit | 02d5e65d4a1f21b359884c1307f351fa5e3a2590 | [
"MIT"
] | null | null | null | from vis_tools.ga_tools import * | 32 | 32 | 0.84375 | 6 | 32 | 4.166667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09375 | 32 | 1 | 32 | 32 | 0.862069 | 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 |
79fbb8e2b3e6151112ab4957bf3c24a2edd515ad | 17,484 | py | Python | tests/api/test_prpoint.py | RUrlus/ModelMetricUncertainty | f401a25dd196d6e4edf4901fcfee4b56ebd7c10b | [
"Apache-2.0"
] | null | null | null | tests/api/test_prpoint.py | RUrlus/ModelMetricUncertainty | f401a25dd196d6e4edf4901fcfee4b56ebd7c10b | [
"Apache-2.0"
] | 11 | 2021-12-08T10:34:17.000Z | 2022-01-20T13:40:05.000Z | tests/api/test_prpoint.py | RUrlus/ModelMetricUncertainty | f401a25dd196d6e4edf4901fcfee4b56ebd7c10b | [
"Apache-2.0"
] | null | null | null | import os
import itertools
import numpy as np
import pytest
import scipy.stats as sts
import sklearn.metrics as skm
from sklearn.datasets import make_classification
from sklearn.linear_model import LogisticRegression
from sklearn.model_selection import train_test_split
import mmu
from mmu.commons._testing import gene... | 30.566434 | 87 | 0.641615 | 2,532 | 17,484 | 4.156793 | 0.081754 | 0.04323 | 0.015962 | 0.021948 | 0.904228 | 0.867648 | 0.861283 | 0.858527 | 0.855012 | 0.855012 | 0 | 0.046664 | 0.249886 | 17,484 | 571 | 88 | 30.619965 | 0.755852 | 0.09849 | 0 | 0.675355 | 0 | 0 | 0.037295 | 0.005556 | 0 | 0 | 0 | 0 | 0.137441 | 1 | 0.037915 | false | 0 | 0.028436 | 0 | 0.066351 | 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 |
0306b211b832bee3f7e8bb9e7eedde1551b0cf74 | 183 | py | Python | template/app/accounts/admin.py | iYasha/django-template-generator | 954d3ffda328390118993ef5016a6811d6fe306d | [
"MIT"
] | null | null | null | template/app/accounts/admin.py | iYasha/django-template-generator | 954d3ffda328390118993ef5016a6811d6fe306d | [
"MIT"
] | null | null | null | template/app/accounts/admin.py | iYasha/django-template-generator | 954d3ffda328390118993ef5016a6811d6fe306d | [
"MIT"
] | null | null | null | from django.contrib import admin
from django.contrib.auth.admin import UserAdmin as BaseUserAdmin
from accounts.models import *
from django.utils.translation import gettext_lazy as _
| 36.6 | 64 | 0.846995 | 26 | 183 | 5.884615 | 0.576923 | 0.196078 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.10929 | 183 | 4 | 65 | 45.75 | 0.93865 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
032c0589ffdd67df686d1efae229b5e36681299d | 188 | py | Python | cesium/features/__init__.py | acrellin/cesium | 9d33edc0f9b3a79c68070826c0f390896abe294d | [
"BSD-3-Clause"
] | 603 | 2016-04-15T00:11:07.000Z | 2022-03-18T09:10:39.000Z | cesium/features/__init__.py | acrellin/cesium | 9d33edc0f9b3a79c68070826c0f390896abe294d | [
"BSD-3-Clause"
] | 146 | 2016-03-17T19:58:24.000Z | 2022-02-05T20:36:03.000Z | cesium/features/__init__.py | acrellin/cesium | 9d33edc0f9b3a79c68070826c0f390896abe294d | [
"BSD-3-Clause"
] | 84 | 2016-04-13T23:30:58.000Z | 2022-03-18T07:34:09.000Z | from .graphs import (CADENCE_FEATS, GENERAL_FEATS, LOMB_SCARGLE_FEATS,
generate_dask_graph, feature_categories,
dask_feature_graph, feature_tags)
| 47 | 70 | 0.675532 | 20 | 188 | 5.85 | 0.7 | 0.205128 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.276596 | 188 | 3 | 71 | 62.666667 | 0.860294 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
0367f989c2a90b84925377ba987c842c0e442960 | 180 | py | Python | tour2_constant_bond/po_symb/__init__.py | bmcs-group/bmcs_tutorial | 4e008e72839fad8820a6b663a20d3f188610525d | [
"MIT"
] | null | null | null | tour2_constant_bond/po_symb/__init__.py | bmcs-group/bmcs_tutorial | 4e008e72839fad8820a6b663a20d3f188610525d | [
"MIT"
] | null | null | null | tour2_constant_bond/po_symb/__init__.py | bmcs-group/bmcs_tutorial | 4e008e72839fad8820a6b663a20d3f188610525d | [
"MIT"
] | null | null | null |
from .CB_ELF_ELM_Symb import CB_ELF_ELM_Symb
from .PO_ELF_RLM_Symb import PO_ELF_RLM_Symb
from .PO_ELF_ELM_Symb import PO_ELF_ELM_Symb
from .PO_ESF_RLM_Symb import PO_ESF_RLM_Symb | 36 | 44 | 0.888889 | 40 | 180 | 3.4 | 0.225 | 0.176471 | 0.294118 | 0.176471 | 0.235294 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088889 | 180 | 5 | 45 | 36 | 0.829268 | 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 |
03785d3b7e3e77f5e4243076771845566a206f5b | 47 | py | Python | qg-model/src/run/__init__.py | alpgokcek/turkish-qg-model | e90050d869958325aeaf639a2b1ff5eb2856e318 | [
"MIT"
] | null | null | null | qg-model/src/run/__init__.py | alpgokcek/turkish-qg-model | e90050d869958325aeaf639a2b1ff5eb2856e318 | [
"MIT"
] | null | null | null | qg-model/src/run/__init__.py | alpgokcek/turkish-qg-model | e90050d869958325aeaf639a2b1ff5eb2856e318 | [
"MIT"
] | null | null | null | from .train import train
from .eval import eval | 23.5 | 24 | 0.808511 | 8 | 47 | 4.75 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148936 | 47 | 2 | 25 | 23.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 |
3013aae949b5a8f73487bd834b104bc72f062e8d | 25 | py | Python | main.py | IlyasDiker/TodoApp | 7c772d3d707738073ecb0a2420f0465a8211916a | [
"MIT"
] | 3 | 2020-11-21T10:02:24.000Z | 2021-11-28T23:54:05.000Z | main.py | IlyasDiker/TodoApp | 7c772d3d707738073ecb0a2420f0465a8211916a | [
"MIT"
] | null | null | null | main.py | IlyasDiker/TodoApp | 7c772d3d707738073ecb0a2420f0465a8211916a | [
"MIT"
] | null | null | null | print("Django Server...") | 25 | 25 | 0.68 | 3 | 25 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04 | 25 | 1 | 25 | 25 | 0.708333 | 0 | 0 | 0 | 0 | 0 | 0.615385 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
3016f4f017eb040b7314e92349771afc6bbe6084 | 176 | py | Python | src/brouwers/migration/forms.py | modelbrouwers/modelbrouwers | e0ba4819bf726d6144c0a648fdd4731cdc098a52 | [
"MIT"
] | 6 | 2015-03-03T13:23:07.000Z | 2021-12-19T18:12:41.000Z | src/brouwers/migration/forms.py | modelbrouwers/modelbrouwers | e0ba4819bf726d6144c0a648fdd4731cdc098a52 | [
"MIT"
] | 95 | 2015-02-07T00:55:39.000Z | 2022-02-08T20:22:05.000Z | src/brouwers/migration/forms.py | modelbrouwers/modelbrouwers | e0ba4819bf726d6144c0a648fdd4731cdc098a52 | [
"MIT"
] | 2 | 2016-03-22T16:53:26.000Z | 2019-02-09T22:46:04.000Z | from django import forms
class PhotoMigrationForm(forms.Form):
start = forms.IntegerField(min_value=0, initial=0)
end = forms.IntegerField(min_value=0, initial=2000)
| 25.142857 | 55 | 0.761364 | 24 | 176 | 5.5 | 0.625 | 0.257576 | 0.30303 | 0.378788 | 0.5 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0.046053 | 0.136364 | 176 | 6 | 56 | 29.333333 | 0.822368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
303a6cd1603cdc0d61a6d5b2953b580075b0bff8 | 228 | py | Python | office365/planner/tasks/task_details.py | theodoriss/Office365-REST-Python-Client | 3bd7a62dadcd3f0a0aceeaff7584fff3fd44886e | [
"MIT"
] | 544 | 2016-08-04T17:10:16.000Z | 2022-03-31T07:17:20.000Z | office365/planner/tasks/task_details.py | theodoriss/Office365-REST-Python-Client | 3bd7a62dadcd3f0a0aceeaff7584fff3fd44886e | [
"MIT"
] | 438 | 2016-10-11T12:24:22.000Z | 2022-03-31T19:30:35.000Z | office365/planner/tasks/task_details.py | theodoriss/Office365-REST-Python-Client | 3bd7a62dadcd3f0a0aceeaff7584fff3fd44886e | [
"MIT"
] | 202 | 2016-08-22T19:29:40.000Z | 2022-03-30T20:26:15.000Z | from office365.entity import Entity
class PlannerTaskDetails(Entity):
"""
The plannerTaskDetails resource represents the additional information about a task.
Each task object has a details object.
"""
pass
| 22.8 | 87 | 0.736842 | 26 | 228 | 6.461538 | 0.730769 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016667 | 0.210526 | 228 | 9 | 88 | 25.333333 | 0.916667 | 0.535088 | 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 |
304e7da42aa5ce4586c53fa66ceaf334a33e36a5 | 63 | py | Python | src/vulnpy/aiohttp/__init__.py | davidaustinarcher/vulnpy | 692703dae701197fd42ae7fc5a9d52f05a501550 | [
"MIT"
] | null | null | null | src/vulnpy/aiohttp/__init__.py | davidaustinarcher/vulnpy | 692703dae701197fd42ae7fc5a9d52f05a501550 | [
"MIT"
] | 1 | 2022-02-07T07:43:35.000Z | 2022-02-07T07:43:35.000Z | src/vulnpy/aiohttp/__init__.py | davidaustinarcher/vulnpy | 692703dae701197fd42ae7fc5a9d52f05a501550 | [
"MIT"
] | 1 | 2022-01-12T02:50:14.000Z | 2022-01-12T02:50:14.000Z | from .vulnerable_routes import vulnerable_routes # noqa: F401
| 31.5 | 62 | 0.825397 | 8 | 63 | 6.25 | 0.75 | 0.64 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.054545 | 0.126984 | 63 | 1 | 63 | 63 | 0.854545 | 0.15873 | 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 |
306d8ef77e3bf60dffba737cc6884a271353d303 | 82 | py | Python | test_plus.py | denisrosset/sphinx_example | aa75c4beb4febd616e638e83f8727a11aab7219f | [
"MIT"
] | null | null | null | test_plus.py | denisrosset/sphinx_example | aa75c4beb4febd616e638e83f8727a11aab7219f | [
"MIT"
] | null | null | null | test_plus.py | denisrosset/sphinx_example | aa75c4beb4febd616e638e83f8727a11aab7219f | [
"MIT"
] | null | null | null | from sphinx_example import *
def test_plus() -> None:
assert plus(2,3) == 5
| 13.666667 | 28 | 0.646341 | 13 | 82 | 3.923077 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.046875 | 0.219512 | 82 | 5 | 29 | 16.4 | 0.75 | 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 |
062a2cad8cd74e9169038b4b1c22235a19967b60 | 175 | py | Python | railguns/rest_framework_jwt/utils.py | larryhq/railguns-1 | d76367a2d12f2330f8a370fba5e3c07013a763f6 | [
"MIT"
] | null | null | null | railguns/rest_framework_jwt/utils.py | larryhq/railguns-1 | d76367a2d12f2330f8a370fba5e3c07013a763f6 | [
"MIT"
] | 1 | 2019-11-18T02:03:04.000Z | 2019-11-18T02:03:04.000Z | railguns/rest_framework_jwt/utils.py | larryhq/railguns-1 | d76367a2d12f2330f8a370fba5e3c07013a763f6 | [
"MIT"
] | 1 | 2020-07-23T16:58:09.000Z | 2020-07-23T16:58:09.000Z | from ..rest_framework.serializers import UserCreatedSerializer
def jwt_response_payload_handler(token, user=None, request=None):
return UserCreatedSerializer(user).data
| 29.166667 | 65 | 0.834286 | 20 | 175 | 7.1 | 0.85 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.091429 | 175 | 5 | 66 | 35 | 0.893082 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
23364bfbd6142155ffc349de84299db69c84b34e | 119 | py | Python | src/onceml/utils/time.py | lzmchina/OnceML | f30d9037d2e492d8d45b858f2be3b27fc5258356 | [
"MIT"
] | 1 | 2022-01-01T07:15:03.000Z | 2022-01-01T07:15:03.000Z | src/onceml/utils/time.py | lzmchina/OnceML | f30d9037d2e492d8d45b858f2be3b27fc5258356 | [
"MIT"
] | null | null | null | src/onceml/utils/time.py | lzmchina/OnceML | f30d9037d2e492d8d45b858f2be3b27fc5258356 | [
"MIT"
] | null | null | null | import calendar
import time
def get_timestamp():
'''获得一个秒的时间戳
'''
return calendar.timegm(time.gmtime())
| 11.9 | 41 | 0.663866 | 13 | 119 | 6 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.210084 | 119 | 9 | 42 | 13.222222 | 0.829787 | 0.07563 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.5 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
236837ea43f9e4d8bb33367a3d21625d89c42964 | 21 | py | Python | msgtools/__init__.py | JohannesLiu/Apollo-Cyber-Parser | ef7e99ea29b2586a72c4cf0b74c18370102be65c | [
"MIT"
] | 2 | 2022-03-11T07:45:59.000Z | 2022-03-31T17:38:04.000Z | msgtools/__init__.py | JohannesLiu/Apollo-Cyber-Parser | ef7e99ea29b2586a72c4cf0b74c18370102be65c | [
"MIT"
] | 1 | 2022-03-20T12:22:49.000Z | 2022-03-31T17:47:06.000Z | msgtools/__init__.py | JohannesLiu/Apollo-Cyber-Parser | ef7e99ea29b2586a72c4cf0b74c18370102be65c | [
"MIT"
] | null | null | null | from .Parser import * | 21 | 21 | 0.761905 | 3 | 21 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 21 | 1 | 21 | 21 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
88ccf5c775521f3a73f27163ca84292e3e32930d | 137 | py | Python | src/main.py | BWAI-SWmaestro/BWAI_Crawler | b7402b9753dfcbe5189cca12f9446b09820c61d6 | [
"MIT"
] | null | null | null | src/main.py | BWAI-SWmaestro/BWAI_Crawler | b7402b9753dfcbe5189cca12f9446b09820c61d6 | [
"MIT"
] | 1 | 2021-06-02T03:57:49.000Z | 2021-06-02T03:57:49.000Z | src/main.py | BWAI-SWmaestro/BWAI_Crawler | b7402b9753dfcbe5189cca12f9446b09820c61d6 | [
"MIT"
] | null | null | null | from crawler.crawler_ilbe import run_ilbe
from crawler.crawler_dc import run_dc
if __name__ == "__main__":
run_ilbe()
#run_dc()
| 19.571429 | 41 | 0.744526 | 21 | 137 | 4.190476 | 0.428571 | 0.25 | 0.409091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.167883 | 137 | 6 | 42 | 22.833333 | 0.77193 | 0.058394 | 0 | 0 | 0 | 0 | 0.0625 | 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 |
002a31835404c3d513dad33a19fba974b9927e22 | 14,541 | py | Python | tests/api/v3_1_1/test_node_deployment.py | CiscoISE/ciscoisesdk | 860b0fc7cc15d0c2a39c64608195a7ab3d5f4885 | [
"MIT"
] | 36 | 2021-05-18T16:24:19.000Z | 2022-03-05T13:44:41.000Z | tests/api/v3_1_1/test_node_deployment.py | CiscoISE/ciscoisesdk | 860b0fc7cc15d0c2a39c64608195a7ab3d5f4885 | [
"MIT"
] | 15 | 2021-06-08T19:03:37.000Z | 2022-02-25T14:47:33.000Z | tests/api/v3_1_1/test_node_deployment.py | CiscoISE/ciscoisesdk | 860b0fc7cc15d0c2a39c64608195a7ab3d5f4885 | [
"MIT"
] | 6 | 2021-06-10T09:32:01.000Z | 2022-01-12T08:34:39.000Z | # -*- coding: utf-8 -*-
"""IdentityServicesEngineAPI node_deployment API fixtures and tests.
Copyright (c) 2021 Cisco and/or its affiliates.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software withou... | 28.234951 | 109 | 0.691149 | 1,690 | 14,541 | 5.695266 | 0.116568 | 0.042078 | 0.059844 | 0.037403 | 0.812883 | 0.810286 | 0.805714 | 0.797818 | 0.782649 | 0.753974 | 0 | 0.020487 | 0.231277 | 14,541 | 514 | 110 | 28.289883 | 0.84058 | 0.079843 | 0 | 0.675 | 0 | 0 | 0.066029 | 0.028939 | 0 | 0 | 0 | 0 | 0.135 | 1 | 0.1125 | false | 0.005 | 0.0175 | 0 | 0.22 | 0.0225 | 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 |
cc3990bd408f416aec7691870035e9a126eeaa8d | 197 | py | Python | server/frequency.py | MadJukesInc/WhatTheHellIs.com | 5e270037a3d9196df62daebf679c034cbd75b79a | [
"MIT"
] | 1 | 2016-04-24T18:13:58.000Z | 2016-04-24T18:13:58.000Z | server/frequency.py | MadJukesInc/WhatTheHellIs.com | 5e270037a3d9196df62daebf679c034cbd75b79a | [
"MIT"
] | 3 | 2015-07-25T03:43:42.000Z | 2016-04-24T18:14:35.000Z | server/frequency.py | MadJukesInc/WhatTheHellIs.com | 5e270037a3d9196df62daebf679c034cbd75b79a | [
"MIT"
] | null | null | null | from textblob import TextBlob
def get_noun_frequencies(text):
blob = TextBlob(text)
return blob.np_counts
def get_frequencies(text):
blob = TextBlob(text)
return blob.word_counts
| 19.7 | 31 | 0.746193 | 27 | 197 | 5.259259 | 0.481481 | 0.084507 | 0.267606 | 0.380282 | 0.577465 | 0.577465 | 0.577465 | 0 | 0 | 0 | 0 | 0 | 0.182741 | 197 | 9 | 32 | 21.888889 | 0.881988 | 0 | 0 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.142857 | 0 | 0.714286 | 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 |
cc6d9472d734abee46d29837547c3ad5f87bc96b | 2,114 | py | Python | openpnm/models/physics/electrical_conductance.py | lixuekai2001/OpenPNM | 9026f0fed427d37f4caf1a79e4a7684490d52cf6 | [
"MIT"
] | 2 | 2019-08-24T09:17:40.000Z | 2020-07-05T07:21:21.000Z | openpnm/models/physics/electrical_conductance/_funcs.py | xu-kai-xu/OpenPNM | 61d5fc4729a0a29291cf6c53c07c4246e7a13714 | [
"MIT"
] | null | null | null | openpnm/models/physics/electrical_conductance/_funcs.py | xu-kai-xu/OpenPNM | 61d5fc4729a0a29291cf6c53c07c4246e7a13714 | [
"MIT"
] | null | null | null | from openpnm.models.physics._utils import _poisson_conductance
from openpnm.models import _doctxt
__all__ = ["generic_electrical", "series_resistors"]
@_doctxt
def generic_electrical(
target,
pore_conductivity='pore.electrical_conductivity',
throat_conductivity='throat.electrical_conductivity',
size... | 30.637681 | 76 | 0.662252 | 219 | 2,114 | 6.123288 | 0.214612 | 0.098434 | 0.178971 | 0.058166 | 0.87994 | 0.87994 | 0.87994 | 0.87994 | 0.87994 | 0.87994 | 0 | 0.005105 | 0.258751 | 2,114 | 68 | 77 | 31.088235 | 0.85067 | 0.428098 | 0 | 0.692308 | 0 | 0 | 0.19403 | 0.162313 | 0 | 0 | 0 | 0 | 0 | 1 | 0.076923 | false | 0 | 0.076923 | 0 | 0.230769 | 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 |
cc9b536993bc6a82dc40edac2914779505012562 | 33 | py | Python | new.py | ChenOuyang/hangman | e88c7d18fa3c5e92f3d23a3f3be94ed670e4f479 | [
"MIT"
] | null | null | null | new.py | ChenOuyang/hangman | e88c7d18fa3c5e92f3d23a3f3be94ed670e4f479 | [
"MIT"
] | null | null | null | new.py | ChenOuyang/hangman | e88c7d18fa3c5e92f3d23a3f3be94ed670e4f479 | [
"MIT"
] | null | null | null | import os
print('I love fishc')
| 8.25 | 21 | 0.69697 | 6 | 33 | 3.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 33 | 3 | 22 | 11 | 0.851852 | 0 | 0 | 0 | 0 | 0 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
cca10ffb5352042314fc72a85cbab6334bbf2085 | 596 | py | Python | calendartools/views/generic/__init__.py | chrischambers/django-calendartools | 7fb2cb88a5913df1c01f4f92bcbd0d4a2d2f98fe | [
"BSD-3-Clause"
] | 1 | 2015-12-15T19:12:14.000Z | 2015-12-15T19:12:14.000Z | calendartools/views/generic/__init__.py | chrischambers/django-calendartools | 7fb2cb88a5913df1c01f4f92bcbd0d4a2d2f98fe | [
"BSD-3-Clause"
] | null | null | null | calendartools/views/generic/__init__.py | chrischambers/django-calendartools | 7fb2cb88a5913df1c01f4f92bcbd0d4a2d2f98fe | [
"BSD-3-Clause"
] | null | null | null | from calendartools.views.generic.base import View, TemplateView, RedirectView
from calendartools.views.generic.dates import (ArchiveIndexView, YearArchiveView, MonthArchiveView,
WeekArchiveView, DayArchiveView, TodayArchiveView,
DateDetailView)
f... | 45.846154 | 99 | 0.731544 | 55 | 596 | 7.927273 | 0.581818 | 0.194954 | 0.252294 | 0.332569 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.206376 | 596 | 12 | 100 | 49.666667 | 0.921776 | 0.04698 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.111111 | 0.555556 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
aeb0fc60223a23c58c5218ccec0a7895399955d6 | 234 | py | Python | backend/src/core/services/streamer/__init__.py | uesleicarvalhoo/ProjectStore | 9b7518eab6b0c21bf7b908cdd9a1b063485c5943 | [
"MIT"
] | 1 | 2021-10-10T13:26:44.000Z | 2021-10-10T13:26:44.000Z | backend/src/core/services/streamer/__init__.py | uesleicarvalhoo/Store | 9b7518eab6b0c21bf7b908cdd9a1b063485c5943 | [
"MIT"
] | null | null | null | backend/src/core/services/streamer/__init__.py | uesleicarvalhoo/Store | 9b7518eab6b0c21bf7b908cdd9a1b063485c5943 | [
"MIT"
] | null | null | null | from abc import ABC, abstractclassmethod
from src.core.events import EventDescription
class Streamer(ABC):
@abstractclassmethod
def send_event(cls, description: EventDescription, context: str, **data) -> None:
pass
| 23.4 | 85 | 0.74359 | 26 | 234 | 6.653846 | 0.769231 | 0.254335 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175214 | 234 | 9 | 86 | 26 | 0.896373 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0.166667 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
aeb7cfb5466773ecfb56bdc22c018364cdca93b8 | 17,177 | py | Python | src/pcns_v2/helpers/layer_helpers.py | rogerwaleffe/Principal-Component-Networks | 018a288a120cbdb9db5792432c147d9e0a74ecdc | [
"Apache-2.0"
] | null | null | null | src/pcns_v2/helpers/layer_helpers.py | rogerwaleffe/Principal-Component-Networks | 018a288a120cbdb9db5792432c147d9e0a74ecdc | [
"Apache-2.0"
] | null | null | null | src/pcns_v2/helpers/layer_helpers.py | rogerwaleffe/Principal-Component-Networks | 018a288a120cbdb9db5792432c147d9e0a74ecdc | [
"Apache-2.0"
] | null | null | null | import tensorflow as tf
class DenseTransformLayer(tf.keras.layers.Layer):
def __init__(self, units, mu, Vt, Vb, Wt, Wb, bp, include_offset=False, train_top_basis='NO', add_bias_if_nec=True,
name=None, **kwargs):
super(DenseTransformLayer, self).__init__(name=name)
assert train_t... | 49.788406 | 120 | 0.643302 | 2,206 | 17,177 | 4.802811 | 0.069356 | 0.033034 | 0.031902 | 0.018122 | 0.804814 | 0.781784 | 0.751864 | 0.74639 | 0.734214 | 0.722322 | 0 | 0.003466 | 0.244047 | 17,177 | 345 | 121 | 49.788406 | 0.812476 | 0.027479 | 0 | 0.674157 | 0 | 0 | 0.079834 | 0.00841 | 0 | 0 | 0 | 0.005797 | 0.007491 | 1 | 0.06367 | false | 0 | 0.003745 | 0.003745 | 0.116105 | 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 |
aebbc24d5889b54b894725a2c5b6cbb3dc851e74 | 1,069 | py | Python | calculation/gmhazard_calc/gmhazard_calc/plots/__init__.py | ucgmsim/gmhazard | d3d90b4c94b3d9605597a3efeccc8523a1e50c0e | [
"MIT"
] | null | null | null | calculation/gmhazard_calc/gmhazard_calc/plots/__init__.py | ucgmsim/gmhazard | d3d90b4c94b3d9605597a3efeccc8523a1e50c0e | [
"MIT"
] | 8 | 2021-10-13T02:33:23.000Z | 2022-03-29T21:01:08.000Z | calculation/gmhazard_calc/gmhazard_calc/plots/__init__.py | ucgmsim/gmhazard | d3d90b4c94b3d9605597a3efeccc8523a1e50c0e | [
"MIT"
] | null | null | null | from .plotly_plotting import plot_uhs as plotly_uhs
from .plotly_plotting import plot_hazard as plotly_hazard
from .plt_plotting import plot_hazard as plt_hazard
from .plt_plotting import plot_uhs as plt_uhs
from .plt_plotting import plot_uhs_branches as plt_uhs_branches
from .plt_plotting import plot_disagg_src_type ... | 53.45 | 85 | 0.88681 | 186 | 1,069 | 4.645161 | 0.155914 | 0.275463 | 0.354167 | 0.291667 | 0.615741 | 0.444444 | 0.092593 | 0 | 0 | 0 | 0 | 0.004145 | 0.097287 | 1,069 | 19 | 86 | 56.263158 | 0.891192 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
aec206356fe67fc7126a2428215e4354ceb3ea43 | 44 | py | Python | tests/_utilities/factories/__init__.py | BinSquare/busy-beaver | b8063a7e434eb47e638697719896880781f9783f | [
"MIT"
] | 55 | 2019-05-05T01:20:58.000Z | 2022-01-10T18:03:05.000Z | tests/_utilities/factories/__init__.py | BinSquare/busy-beaver | b8063a7e434eb47e638697719896880781f9783f | [
"MIT"
] | 222 | 2019-05-03T16:31:26.000Z | 2021-08-28T23:49:03.000Z | tests/_utilities/factories/__init__.py | BinSquare/busy-beaver | b8063a7e434eb47e638697719896880781f9783f | [
"MIT"
] | 19 | 2019-04-27T19:49:32.000Z | 2020-06-30T19:52:09.000Z | from .manager import FactoryManager # noqa
| 22 | 43 | 0.795455 | 5 | 44 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.159091 | 44 | 1 | 44 | 44 | 0.945946 | 0.090909 | 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 |
9dc152a605fa2294806ea6eec72e8f167a12daf7 | 40 | py | Python | kerastuner/engine/logger.py | haifeng-jin/kt-legacy | 15686b5e2d25b7094134d68956b2edce5dffa7a0 | [
"Apache-2.0"
] | 1 | 2022-03-29T21:49:22.000Z | 2022-03-29T21:49:22.000Z | kerastuner/engine/logger.py | haifeng-jin/kt-legacy | 15686b5e2d25b7094134d68956b2edce5dffa7a0 | [
"Apache-2.0"
] | null | null | null | kerastuner/engine/logger.py | haifeng-jin/kt-legacy | 15686b5e2d25b7094134d68956b2edce5dffa7a0 | [
"Apache-2.0"
] | 1 | 2022-02-14T18:57:19.000Z | 2022-02-14T18:57:19.000Z | from keras_tuner.engine.logger import *
| 20 | 39 | 0.825 | 6 | 40 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 40 | 1 | 40 | 40 | 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 |
9deb819c8d78b491d6f0191d57db7ba6e497426d | 34 | py | Python | drawing/drawer/plane/utils/__init__.py | akyruu/blender-cartography-addon | 4f34b029d9b6a72619227ab3ceaed9393506934e | [
"Apache-2.0"
] | null | null | null | drawing/drawer/plane/utils/__init__.py | akyruu/blender-cartography-addon | 4f34b029d9b6a72619227ab3ceaed9393506934e | [
"Apache-2.0"
] | null | null | null | drawing/drawer/plane/utils/__init__.py | akyruu/blender-cartography-addon | 4f34b029d9b6a72619227ab3ceaed9393506934e | [
"Apache-2.0"
] | null | null | null | from . import edge, face, vertice
| 17 | 33 | 0.735294 | 5 | 34 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176471 | 34 | 1 | 34 | 34 | 0.892857 | 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 |
d17e795ae10f8c97965cf89cd463a0d905a32000 | 53 | py | Python | tests/test_runnable.py | jasonqiao36/pingtop | be6696504d856feef9b7d44d7436543c5bfac3ba | [
"MIT"
] | 420 | 2019-04-09T15:34:49.000Z | 2022-03-27T01:07:31.000Z | tests/test_runnable.py | jasonqiao36/pingtop | be6696504d856feef9b7d44d7436543c5bfac3ba | [
"MIT"
] | 29 | 2019-04-05T04:38:08.000Z | 2021-12-05T04:17:11.000Z | tests/test_runnable.py | jasonqiao36/pingtop | be6696504d856feef9b7d44d7436543c5bfac3ba | [
"MIT"
] | 37 | 2019-04-09T15:36:25.000Z | 2021-12-20T03:54:09.000Z | def test_hello():
import pingtop
return True
| 13.25 | 18 | 0.679245 | 7 | 53 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.264151 | 53 | 3 | 19 | 17.666667 | 0.897436 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d18af759df0cae63ff5a271f27a4b4824e7aba85 | 103 | py | Python | modulo-08-django-no-python-basico/aula-01/sobre/views.py | leandropinheiroalves/python-bas-to-adv | c1ad02f4f53e12cc1a1d2805fa0b1a3aa13c609f | [
"MIT"
] | null | null | null | modulo-08-django-no-python-basico/aula-01/sobre/views.py | leandropinheiroalves/python-bas-to-adv | c1ad02f4f53e12cc1a1d2805fa0b1a3aa13c609f | [
"MIT"
] | null | null | null | modulo-08-django-no-python-basico/aula-01/sobre/views.py | leandropinheiroalves/python-bas-to-adv | c1ad02f4f53e12cc1a1d2805fa0b1a3aa13c609f | [
"MIT"
] | null | null | null | from django.shortcuts import render
def teste(request):
return render(request, 'sobre/bla.html')
| 17.166667 | 44 | 0.747573 | 14 | 103 | 5.5 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145631 | 103 | 5 | 45 | 20.6 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0.135922 | 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 |
d1f3ba57d08b2303f9fcc942f67f403af30f951c | 13,812 | py | Python | autoarray/simulator/simulator.py | Sketos/PyAutoArray | 72dc7e8d1c38786915f82a7e7284239e5ce87624 | [
"MIT"
] | null | null | null | autoarray/simulator/simulator.py | Sketos/PyAutoArray | 72dc7e8d1c38786915f82a7e7284239e5ce87624 | [
"MIT"
] | null | null | null | autoarray/simulator/simulator.py | Sketos/PyAutoArray | 72dc7e8d1c38786915f82a7e7284239e5ce87624 | [
"MIT"
] | null | null | null | import os
from autoarray.util import array_util
from autoarray.structures import grids, kernel
from autoarray.dataset import imaging, interferometer
from autoarray.operators import transformer
class ImagingSimulator:
def __init__(
self,
shape_2d,
pixel_scales,
sub_size,
ps... | 34.272953 | 123 | 0.620909 | 1,750 | 13,812 | 4.606286 | 0.114286 | 0.073688 | 0.034735 | 0.052103 | 0.800397 | 0.763181 | 0.750527 | 0.738122 | 0.70562 | 0.685275 | 0 | 0.024099 | 0.315016 | 13,812 | 402 | 124 | 34.358209 | 0.827925 | 0.27773 | 0 | 0.620567 | 0 | 0 | 0.003648 | 0.003648 | 0 | 0 | 0 | 0 | 0 | 1 | 0.042553 | false | 0 | 0.017731 | 0.007092 | 0.102837 | 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 |
883efe5aff47233a66a4a748cd4e6773c105e664 | 17,247 | py | Python | tests/python/renderer/test__wrap_renderer.py | dotmodules/dm | ec2ebf6c8b9ac707440a81d0f25003af6f0603c2 | [
"MIT"
] | null | null | null | tests/python/renderer/test__wrap_renderer.py | dotmodules/dm | ec2ebf6c8b9ac707440a81d0f25003af6f0603c2 | [
"MIT"
] | null | null | null | tests/python/renderer/test__wrap_renderer.py | dotmodules/dm | ec2ebf6c8b9ac707440a81d0f25003af6f0603c2 | [
"MIT"
] | null | null | null | import pytest
from pytest_mock.plugin import MockerFixture
from dotmodules.renderer import Colors, WrapRenderer
from dotmodules.settings import Settings
@pytest.fixture
def settings() -> Settings:
return Settings()
@pytest.fixture
def colors() -> Colors:
return Colors()
@pytest.fixture
def wrap_renderer(... | 29.890815 | 86 | 0.542413 | 1,678 | 17,247 | 5.27056 | 0.087604 | 0.069199 | 0.036635 | 0.045794 | 0.859 | 0.847128 | 0.847128 | 0.835142 | 0.818408 | 0.784487 | 0 | 0.008055 | 0.352177 | 17,247 | 576 | 87 | 29.942708 | 0.783496 | 0.043602 | 0 | 0.608989 | 0 | 0 | 0.156964 | 0.061497 | 0 | 0 | 0 | 0 | 0.078652 | 1 | 0.062921 | false | 0 | 0.008989 | 0.006742 | 0.08764 | 0.060674 | 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 |
884d4abaa2aff12b7707df3727ea42d2c4a4cc56 | 2,775 | py | Python | test.py | Guaguago/PPLM | c03b184803c3d57851016c788b41f54153547cc4 | [
"Apache-2.0"
] | null | null | null | test.py | Guaguago/PPLM | c03b184803c3d57851016c788b41f54153547cc4 | [
"Apache-2.0"
] | null | null | null | test.py | Guaguago/PPLM | c03b184803c3d57851016c788b41f54153547cc4 | [
"Apache-2.0"
] | null | null | null | import unittest
from run_pplm import run_pplm_example
class TestMethods(unittest.TestCase):
def test_BC_untached(self):
with open('test_cases/BC/output', 'w') as file:
run_pplm_example(
cond_text='Once upon a time',
num_samples=1,
discrim='sentim... | 33.433735 | 69 | 0.492252 | 309 | 2,775 | 4.190939 | 0.210356 | 0.03861 | 0.083398 | 0.118147 | 0.909653 | 0.909653 | 0.894981 | 0.851737 | 0.748263 | 0.721236 | 0 | 0.025625 | 0.409369 | 2,775 | 82 | 70 | 33.841463 | 0.764491 | 0.028108 | 0 | 0.697368 | 0 | 0 | 0.124489 | 0.072092 | 0 | 0 | 0 | 0 | 0.039474 | 1 | 0.039474 | false | 0 | 0.026316 | 0 | 0.078947 | 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 |
8896bb3e1b11df0f1b5f1b4c6922b52bfa2bec78 | 175 | py | Python | realesrgan/losses/__init__.py | theleokul/Real-ESRGAN | 0afbc090d012d729e6cb3ff47a80018d53bce3f6 | [
"BSD-3-Clause"
] | null | null | null | realesrgan/losses/__init__.py | theleokul/Real-ESRGAN | 0afbc090d012d729e6cb3ff47a80018d53bce3f6 | [
"BSD-3-Clause"
] | null | null | null | realesrgan/losses/__init__.py | theleokul/Real-ESRGAN | 0afbc090d012d729e6cb3ff47a80018d53bce3f6 | [
"BSD-3-Clause"
] | null | null | null | from .losses import GANFeatureMatchingLoss, BCEWithLogitsLoss, PerceptualContextualLoss
__all__ = ['GANFeatureMatchingLoss', 'BCEWithLogitsLoss', 'PerceptualContextualLoss']
| 43.75 | 87 | 0.851429 | 10 | 175 | 14.5 | 0.7 | 0.537931 | 0.868966 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068571 | 175 | 3 | 88 | 58.333333 | 0.889571 | 0 | 0 | 0 | 0 | 0 | 0.36 | 0.262857 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 1 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
31f297a68e016f8b02fa0c0dba04f6d7b20d1da2 | 176 | py | Python | PythonInheritence.py | rvalusa2108/PythonOOP | 4329c84c0016cb3d300fd6ca759cf701512efe87 | [
"Apache-2.0"
] | null | null | null | PythonInheritence.py | rvalusa2108/PythonOOP | 4329c84c0016cb3d300fd6ca759cf701512efe87 | [
"Apache-2.0"
] | null | null | null | PythonInheritence.py | rvalusa2108/PythonOOP | 4329c84c0016cb3d300fd6ca759cf701512efe87 | [
"Apache-2.0"
] | null | null | null | # from PythonOOP import PythonInheritence as PyInh
from PythonInheritence import pythoninheritence as PyInh
if __name__ == '__main__':
pyInheritenceObj = PyInh.myBird()
| 22 | 56 | 0.789773 | 18 | 176 | 7.277778 | 0.611111 | 0.351145 | 0.381679 | 0.458015 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153409 | 176 | 7 | 57 | 25.142857 | 0.879195 | 0.272727 | 0 | 0 | 0 | 0 | 0.064516 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
ee6d786381fbb5c9e3df9fa83f1fbe59553f37ee | 223 | py | Python | lib/models/__init__.py | vikkio88/pyDsManager | 018e08f7db0852f4653c4da6db851551783584a1 | [
"MIT"
] | null | null | null | lib/models/__init__.py | vikkio88/pyDsManager | 018e08f7db0852f4653c4da6db851551783584a1 | [
"MIT"
] | null | null | null | lib/models/__init__.py | vikkio88/pyDsManager | 018e08f7db0852f4653c4da6db851551783584a1 | [
"MIT"
] | null | null | null | from lib.models.abstract.person import Person
from lib.models.player import Player
from lib.models.coach import Coach
from lib.models.team import Team
from lib.models.module import Module
from lib.models.match import Match
| 31.857143 | 45 | 0.834081 | 37 | 223 | 5.027027 | 0.297297 | 0.225806 | 0.419355 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107623 | 223 | 6 | 46 | 37.166667 | 0.934673 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 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 |
ee800d75103f49d2f04d95f05721e5d9686a96cd | 35 | py | Python | garageberry/__init__.py | arcadecoffee/garageberry | 66dc89d7eb37e2a5d7e69707b2d36f085a62befc | [
"MIT"
] | null | null | null | garageberry/__init__.py | arcadecoffee/garageberry | 66dc89d7eb37e2a5d7e69707b2d36f085a62befc | [
"MIT"
] | null | null | null | garageberry/__init__.py | arcadecoffee/garageberry | 66dc89d7eb37e2a5d7e69707b2d36f085a62befc | [
"MIT"
] | null | null | null | from .garageberry import GarageDoor | 35 | 35 | 0.885714 | 4 | 35 | 7.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085714 | 35 | 1 | 35 | 35 | 0.96875 | 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 |
c9912431afe0c77c5348756d61b3149c75e6823e | 289 | py | Python | etna/clustering/hierarchical/__init__.py | Pacman1984/etna | 9b3ccb980e576d56858f14aca2e06ce2957b0fa9 | [
"Apache-2.0"
] | 326 | 2021-11-18T15:30:50.000Z | 2022-03-31T09:44:15.000Z | etna/clustering/hierarchical/__init__.py | Pacman1984/etna | 9b3ccb980e576d56858f14aca2e06ce2957b0fa9 | [
"Apache-2.0"
] | 305 | 2021-11-17T10:28:31.000Z | 2022-03-31T18:05:03.000Z | etna/clustering/hierarchical/__init__.py | Pacman1984/etna | 9b3ccb980e576d56858f14aca2e06ce2957b0fa9 | [
"Apache-2.0"
] | 29 | 2021-11-21T12:10:48.000Z | 2022-03-31T22:55:06.000Z | from etna.clustering.hierarchical.base import ClusteringLinkageMode
from etna.clustering.hierarchical.base import HierarchicalClustering
from etna.clustering.hierarchical.dtw_clustering import DTWClustering
from etna.clustering.hierarchical.euclidean_clustering import EuclideanClustering
| 57.8 | 81 | 0.903114 | 30 | 289 | 8.633333 | 0.4 | 0.123552 | 0.277992 | 0.46332 | 0.30888 | 0.30888 | 0 | 0 | 0 | 0 | 0 | 0 | 0.055363 | 289 | 4 | 82 | 72.25 | 0.948718 | 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 |
c9bf7e42227eb3b496da643f78123d631461fee4 | 169 | py | Python | ezotv/views/__init__.py | marcsello/ezotv-frontend | 405c440a567e8a0f1577f10d45385f3171398afe | [
"CC0-1.0"
] | null | null | null | ezotv/views/__init__.py | marcsello/ezotv-frontend | 405c440a567e8a0f1577f10d45385f3171398afe | [
"CC0-1.0"
] | 7 | 2020-01-23T00:50:39.000Z | 2020-04-18T20:34:40.000Z | ezotv/views/__init__.py | marcsello/ezotv-frontend | 405c440a567e8a0f1577f10d45385f3171398afe | [
"CC0-1.0"
] | null | null | null | #!/usr/bin/env python3
from .dashboard_view import DashboardView
from .home_view import HomeView
from .backups_view import BackupsView
from .admin_view import AdminView
| 28.166667 | 41 | 0.840237 | 24 | 169 | 5.75 | 0.625 | 0.289855 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006623 | 0.106509 | 169 | 5 | 42 | 33.8 | 0.907285 | 0.12426 | 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 |
c9d4b5b0b4d29f047cc0cb42a233ea9a341ea2ac | 22 | py | Python | app/LOGS/__init__.py | innovationb1ue/XMU_HealthReport | 6ee0c7830a0e30fc9730401585a303873f382bac | [
"MIT"
] | 2 | 2021-09-03T18:13:46.000Z | 2022-01-13T08:48:36.000Z | app/LOGS/__init__.py | buuuuuuug/XMU_HealthReport | cb545959eceddf676b34237c38b1ba6f797764f5 | [
"MIT"
] | null | null | null | app/LOGS/__init__.py | buuuuuuug/XMU_HealthReport | cb545959eceddf676b34237c38b1ba6f797764f5 | [
"MIT"
] | 1 | 2021-07-14T09:48:19.000Z | 2021-07-14T09:48:19.000Z | from .logger_ import * | 22 | 22 | 0.772727 | 3 | 22 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 22 | 1 | 22 | 22 | 0.842105 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a0068e492e563a8f36cf9a408da1fc774dbb3579 | 14,949 | py | Python | tests/extensions/test_version.py | emmanuelmathot/pystac | 6552327f30658d25972c97024ed71865ed131e52 | [
"Apache-2.0"
] | null | null | null | tests/extensions/test_version.py | emmanuelmathot/pystac | 6552327f30658d25972c97024ed71865ed131e52 | [
"Apache-2.0"
] | null | null | null | tests/extensions/test_version.py | emmanuelmathot/pystac | 6552327f30658d25972c97024ed71865ed131e52 | [
"Apache-2.0"
] | null | null | null | """Tests for pystac.extensions.version."""
import datetime
import unittest
import pystac
from pystac.extensions import version
from tests.utils import TestCases
URL_TEMPLATE: str = 'http://example.com/catalog/%s.json'
def make_item(year: int) -> pystac.Item:
"""Create basic test items that are only slightly di... | 38.727979 | 99 | 0.685665 | 1,805 | 14,949 | 5.54072 | 0.093629 | 0.055994 | 0.029697 | 0.046795 | 0.865014 | 0.831917 | 0.777522 | 0.758724 | 0.710829 | 0.649535 | 0 | 0.022482 | 0.211519 | 14,949 | 385 | 100 | 38.828571 | 0.825995 | 0.047495 | 0 | 0.532872 | 0 | 0 | 0.015125 | 0.003588 | 0 | 0 | 0 | 0 | 0.221453 | 1 | 0.103806 | false | 0 | 0.017301 | 0 | 0.141869 | 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 |
a00d76b2f200eddda1c1831571b6067de469d5aa | 152 | py | Python | Leetcode/832. Flipping an Image/solution1.py | asanoviskhak/Outtalent | c500e8ad498f76d57eb87a9776a04af7bdda913d | [
"MIT"
] | 51 | 2020-07-12T21:27:47.000Z | 2022-02-11T19:25:36.000Z | Leetcode/832. Flipping an Image/solution1.py | CrazySquirrel/Outtalent | 8a10b23335d8e9f080e5c39715b38bcc2916ff00 | [
"MIT"
] | null | null | null | Leetcode/832. Flipping an Image/solution1.py | CrazySquirrel/Outtalent | 8a10b23335d8e9f080e5c39715b38bcc2916ff00 | [
"MIT"
] | 32 | 2020-07-27T13:54:24.000Z | 2021-12-25T18:12:50.000Z | class Solution:
def flipAndInvertImage(self, A: List[List[int]]) -> List[List[int]]:
return [[(i + 1) % 2 for i in row[::-1]] for row in A]
| 38 | 72 | 0.585526 | 25 | 152 | 3.56 | 0.6 | 0.179775 | 0.247191 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025424 | 0.223684 | 152 | 3 | 73 | 50.666667 | 0.728814 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
a016f26fa011016d54bf18e5ea0270729fa16d4b | 20,194 | py | Python | tests/views/test_event.py | DanielGrams/gsevp | e94034f7b64de76f38754b56455e83092378261f | [
"MIT"
] | 1 | 2021-06-01T14:49:18.000Z | 2021-06-01T14:49:18.000Z | tests/views/test_event.py | DanielGrams/gsevp | e94034f7b64de76f38754b56455e83092378261f | [
"MIT"
] | 286 | 2020-12-04T14:13:00.000Z | 2022-03-09T19:05:16.000Z | tests/views/test_event.py | DanielGrams/gsevpt | a92f71694388e227e65ed1b24446246ee688d00e | [
"MIT"
] | null | null | null | import pytest
from psycopg2.errors import UniqueViolation
@pytest.mark.parametrize(
"external_link", [None, "https://example.com", "www.example.com"]
)
def test_read(client, seeder, utils, external_link):
user_id, admin_unit_id = seeder.setup_base(log_in=False)
event_id = seeder.create_event(admin_unit_id... | 30.972393 | 130 | 0.66287 | 2,596 | 20,194 | 4.831279 | 0.084746 | 0.0775 | 0.087705 | 0.050789 | 0.817892 | 0.778664 | 0.762079 | 0.750917 | 0.710891 | 0.687291 | 0 | 0.017986 | 0.226354 | 20,194 | 651 | 131 | 31.019969 | 0.784804 | 0.022779 | 0 | 0.668699 | 0 | 0 | 0.152481 | 0.058144 | 0 | 0 | 0 | 0 | 0.115854 | 1 | 0.052846 | false | 0 | 0.018293 | 0 | 0.077236 | 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 |
4e4afe24eae76781f0bd16e5edb6e113cad1b27b | 252 | py | Python | lib/collect/backend.py | csmsx/mark0 | 5e6a2ead0f2ecd3f64fce505faa60de987b56cce | [
"MIT"
] | 4 | 2018-10-04T09:34:44.000Z | 2021-12-20T22:02:11.000Z | lib/collect/backend.py | csmsx/mark0 | 5e6a2ead0f2ecd3f64fce505faa60de987b56cce | [
"MIT"
] | 5 | 2017-08-08T07:35:48.000Z | 2017-08-08T07:55:03.000Z | lib/collect/backend.py | csmsx/mark0 | 5e6a2ead0f2ecd3f64fce505faa60de987b56cce | [
"MIT"
] | 3 | 2017-07-06T04:55:58.000Z | 2021-03-07T11:45:57.000Z | import lib.collect.config as config
try:
if config.BACKEND == 'aws':
import lib.collect.backends.aws as api
else:
import lib.collect.backends.localfs as api
except AttributeError:
import lib.collect.backends.localfs as api
| 25.2 | 50 | 0.710317 | 35 | 252 | 5.114286 | 0.428571 | 0.201117 | 0.357542 | 0.402235 | 0.402235 | 0.402235 | 0.402235 | 0 | 0 | 0 | 0 | 0 | 0.210317 | 252 | 9 | 51 | 28 | 0.899497 | 0 | 0 | 0.25 | 0 | 0 | 0.011905 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
4e59c80771c8629ced1f66eeacd94e28e7e7a677 | 151 | py | Python | arc/arc020/arc020a.py | c-yan/atcoder | 940e49d576e6a2d734288fadaf368e486480a948 | [
"MIT"
] | 1 | 2019-08-21T00:49:34.000Z | 2019-08-21T00:49:34.000Z | arc/arc020/arc020a.py | c-yan/atcoder | 940e49d576e6a2d734288fadaf368e486480a948 | [
"MIT"
] | null | null | null | arc/arc020/arc020a.py | c-yan/atcoder | 940e49d576e6a2d734288fadaf368e486480a948 | [
"MIT"
] | null | null | null | A, B = map(int, input().split())
if abs(A) == abs(B):
print('Draw')
elif abs(A) < abs(B):
print('Ant')
elif abs(A) > abs(B):
print('Bug')
| 16.777778 | 32 | 0.509934 | 27 | 151 | 2.851852 | 0.481481 | 0.155844 | 0.272727 | 0.311688 | 0.61039 | 0.441558 | 0 | 0 | 0 | 0 | 0 | 0 | 0.218543 | 151 | 8 | 33 | 18.875 | 0.652542 | 0 | 0 | 0 | 0 | 0 | 0.066225 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.428571 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
14c3a3e7c858dcee774c3312bc9a21d5f8dab470 | 33,142 | py | Python | web/apis/comments/tests.py | KhomDrake/Remember-Backend | 233f72ef3a54300e25946bdc3a1baae5b56d7a25 | [
"MIT"
] | null | null | null | web/apis/comments/tests.py | KhomDrake/Remember-Backend | 233f72ef3a54300e25946bdc3a1baae5b56d7a25 | [
"MIT"
] | null | null | null | web/apis/comments/tests.py | KhomDrake/Remember-Backend | 233f72ef3a54300e25946bdc3a1baae5b56d7a25 | [
"MIT"
] | null | null | null | from django.urls import reverse
from rest_framework.test import APITestCase
import json
from apis.accounts.models import RememberAccount
from .models import Comment
class CommentsTest(APITestCase):
def createType(self, name):
dataType = {
'name': name
}
return self.client.post(... | 133.637097 | 5,800 | 0.859423 | 1,948 | 33,142 | 14.587782 | 0.533368 | 0.012317 | 0.016012 | 0.024633 | 0.150121 | 0.14523 | 0.13784 | 0.131647 | 0.120386 | 0.108245 | 0 | 0.10624 | 0.082644 | 33,142 | 247 | 5,801 | 134.178138 | 0.828438 | 0 | 0 | 0.421569 | 0 | 0.02451 | 0.763895 | 0.698389 | 0 | 1 | 0 | 0 | 0.151961 | 1 | 0.102941 | false | 0.009804 | 0.02451 | 0.029412 | 0.166667 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
14e8fb06882ffea404b31596c1861d91aa0af527 | 188,370 | py | Python | ion_functions/data/opt_functions_tscor.py | steinermg/ion-functions | cea532ad9af51e86768572c8deb48547d99567c5 | [
"Apache-2.0"
] | 10 | 2015-04-03T15:32:21.000Z | 2018-11-21T11:57:26.000Z | ion_functions/data/opt_functions_tscor.py | steinermg/ion-functions | cea532ad9af51e86768572c8deb48547d99567c5 | [
"Apache-2.0"
] | 8 | 2015-01-07T15:19:22.000Z | 2015-12-08T18:14:04.000Z | ion_functions/data/opt_functions_tscor.py | steinermg/ion-functions | cea532ad9af51e86768572c8deb48547d99567c5 | [
"Apache-2.0"
] | 17 | 2015-01-14T16:23:00.000Z | 2021-07-19T08:26:52.000Z | #!/usr/bin/env python
"""
@package ion_functions.data.opt_functions_tscor
@file ion_functions/data/opt_functions_tscor.py
@author Christopher Wingard
@brief Module containing OPTAA related temperature and salinity correction
coefficients.
"""
import numpy as np
# Returns the Temperature and Salinity (T... | 47.186874 | 80 | 0.622801 | 35,770 | 188,370 | 3.245904 | 0.043668 | 0.072408 | 0.062012 | 0.096464 | 0.848354 | 0.82857 | 0.762553 | 0.74643 | 0 | 0 | 0 | 0.528358 | 0.12735 | 188,370 | 3,991 | 81 | 47.198697 | 0.177965 | 0.007384 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.000253 | 0 | 0.000253 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0922df708f07ee89dca56d5a7342793146fecafe | 207 | py | Python | fastsrv/src/tests/test_config.py | lingluadmin/operwrt-fast-cli | 8f7ad9f9138bea3fd89749aaff37f325ea0aa5a5 | [
"Apache-2.0"
] | 1 | 2018-03-08T08:14:08.000Z | 2018-03-08T08:14:08.000Z | fastsrv/src/tests/test_config.py | lingluadmin/operwrt-fast-cli | 8f7ad9f9138bea3fd89749aaff37f325ea0aa5a5 | [
"Apache-2.0"
] | null | null | null | fastsrv/src/tests/test_config.py | lingluadmin/operwrt-fast-cli | 8f7ad9f9138bea3fd89749aaff37f325ea0aa5a5 | [
"Apache-2.0"
] | null | null | null | import unittest
class TestConfig(unittest.TestCase):
def test_render(self):
self.assertEqual('foo'.upper(), 'FOO')
def test_load_yaml(self):
self.assertEqual('foo'.upper(), 'FOO')
| 20.7 | 46 | 0.657005 | 25 | 207 | 5.32 | 0.56 | 0.105263 | 0.285714 | 0.330827 | 0.451128 | 0.451128 | 0 | 0 | 0 | 0 | 0 | 0 | 0.188406 | 207 | 9 | 47 | 23 | 0.791667 | 0 | 0 | 0.333333 | 0 | 0 | 0.057971 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | false | 0 | 0.166667 | 0 | 0.666667 | 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 |
11a8572f89964ed3f4aac5fb111939fade28fb43 | 79 | py | Python | get_started.py | chrissaher/datascience-bowl-2018 | 83da94ff3885593f4ea55b88a484f9d3e92be233 | [
"MIT"
] | null | null | null | get_started.py | chrissaher/datascience-bowl-2018 | 83da94ff3885593f4ea55b88a484f9d3e92be233 | [
"MIT"
] | null | null | null | get_started.py | chrissaher/datascience-bowl-2018 | 83da94ff3885593f4ea55b88a484f9d3e92be233 | [
"MIT"
] | null | null | null | import distutils.dir_util
distutils.dir_util.copy_tree("./demo", "./my_test")
| 19.75 | 51 | 0.759494 | 12 | 79 | 4.666667 | 0.75 | 0.428571 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.063291 | 79 | 3 | 52 | 26.333333 | 0.756757 | 0 | 0 | 0 | 0 | 0 | 0.189873 | 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 |
11b6f096c3dedabdfaeeb81ef43e8527c93cb38d | 6,919 | py | Python | tests/test_nested_parameters.py | Algomorph/ext_argparse | fbca26f8a551f84677475a11fb5415ddda78abd9 | [
"Apache-2.0"
] | 1 | 2021-09-06T23:22:07.000Z | 2021-09-06T23:22:07.000Z | tests/test_nested_parameters.py | Algomorph/ext_argparse | fbca26f8a551f84677475a11fb5415ddda78abd9 | [
"Apache-2.0"
] | 11 | 2021-09-07T14:13:39.000Z | 2021-09-29T15:17:46.000Z | tests/test_nested_parameters.py | Algomorph/ext_argparse | fbca26f8a551f84677475a11fb5415ddda78abd9 | [
"Apache-2.0"
] | null | null | null | import os
import pathlib
from ext_argparse import process_arguments, Parameter, ParameterEnum
from typing import Type
class LevelTwoGroupA(ParameterEnum):
string_param = Parameter(arg_type=str, default="Istanbul", arg_help="Point of origin")
int_param = Parameter(arg_type=int, default=8, arg_help="Number of ... | 44.352564 | 103 | 0.733198 | 943 | 6,919 | 5.136797 | 0.104984 | 0.068126 | 0.080718 | 0.099711 | 0.821429 | 0.821429 | 0.791495 | 0.781792 | 0.745458 | 0.667837 | 0 | 0.014816 | 0.151322 | 6,919 | 155 | 104 | 44.63871 | 0.810116 | 0.008238 | 0 | 0.545455 | 0 | 0 | 0.214025 | 0.073043 | 0 | 0 | 0 | 0 | 0.264463 | 1 | 0.033058 | false | 0 | 0.033058 | 0 | 0.380165 | 0.016529 | 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 |
11df6b25f5f3bf935cf4fd1a168a822fbe73def9 | 143 | py | Python | tools/__init__.py | vitae-gravitas/model-tester | c6de6f7e26043047fd30c9ed66f4dfb75a68a29b | [
"MIT"
] | null | null | null | tools/__init__.py | vitae-gravitas/model-tester | c6de6f7e26043047fd30c9ed66f4dfb75a68a29b | [
"MIT"
] | null | null | null | tools/__init__.py | vitae-gravitas/model-tester | c6de6f7e26043047fd30c9ed66f4dfb75a68a29b | [
"MIT"
] | null | null | null | from tools.predict import predict
from tools.slice import slice_vids
from tools.visualize import visualize
from tools.evaluate import evaluate
| 28.6 | 37 | 0.86014 | 21 | 143 | 5.809524 | 0.380952 | 0.295082 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111888 | 143 | 4 | 38 | 35.75 | 0.96063 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.