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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0a2b80b362719ff5517a62a53d696cdd95e530dd | 17,262 | py | Python | prepare_data.py | whut2962575697/gat_sementic_segmentation | 3e280163b373a564462c5816578cb1cd0ba8ed32 | [
"MIT"
] | null | null | null | prepare_data.py | whut2962575697/gat_sementic_segmentation | 3e280163b373a564462c5816578cb1cd0ba8ed32 | [
"MIT"
] | null | null | null | prepare_data.py | whut2962575697/gat_sementic_segmentation | 3e280163b373a564462c5816578cb1cd0ba8ed32 | [
"MIT"
] | null | null | null | # -*- encoding: utf-8 -*-
'''
@File : prepare_data.py.py
@Contact : whut.hexin@foxmail.com
@License : (C)Copyright 2017-2020, HeXin
@Modify Time @Author @Version @Desciption
------------ ------- -------- -----------
2020/7/15 14:20 xin 1.0 None
'''
import numpy as np
... | 51.222552 | 172 | 0.608215 | 2,733 | 17,262 | 3.542993 | 0.064032 | 0.053289 | 0.07539 | 0.082412 | 0.88423 | 0.872457 | 0.855313 | 0.825984 | 0.802024 | 0.764433 | 0 | 0.016808 | 0.234851 | 17,262 | 336 | 173 | 51.375 | 0.716308 | 0.158441 | 0 | 0.624506 | 0 | 0 | 0.094517 | 0.022402 | 0 | 0 | 0 | 0 | 0 | 1 | 0.01581 | false | 0 | 0.035573 | 0 | 0.051383 | 0.055336 | 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 |
0a37fe50c29b10e452d19a5dcef8050b55faa538 | 32 | py | Python | datacatalog/formats/duke_haase/__init__.py | SD2E/python-datacatalog | 51ab366639505fb6e8a14cd6b446de37080cd20d | [
"CNRI-Python"
] | null | null | null | datacatalog/formats/duke_haase/__init__.py | SD2E/python-datacatalog | 51ab366639505fb6e8a14cd6b446de37080cd20d | [
"CNRI-Python"
] | 2 | 2019-07-25T15:39:04.000Z | 2019-10-21T15:31:46.000Z | datacatalog/formats/duke_haase/__init__.py | SD2E/python-datacatalog | 51ab366639505fb6e8a14cd6b446de37080cd20d | [
"CNRI-Python"
] | 1 | 2019-10-15T14:33:44.000Z | 2019-10-15T14:33:44.000Z | from .convert import Duke_Haase
| 16 | 31 | 0.84375 | 5 | 32 | 5.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 32 | 1 | 32 | 32 | 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 |
0a70c9234b951494fb4209c7c05f1e9b5a1e39ec | 14,771 | py | Python | item_engine/bnf_2/v_0_0_9/engine/materials.py | GabrielAmare/ItemEngine | 10277626c3724ad9ae7b934f53e11e305dc34da5 | [
"MIT"
] | null | null | null | item_engine/bnf_2/v_0_0_9/engine/materials.py | GabrielAmare/ItemEngine | 10277626c3724ad9ae7b934f53e11e305dc34da5 | [
"MIT"
] | null | null | null | item_engine/bnf_2/v_0_0_9/engine/materials.py | GabrielAmare/ItemEngine | 10277626c3724ad9ae7b934f53e11e305dc34da5 | [
"MIT"
] | null | null | null | from __future__ import annotations
from item_engine.textbase.items.lemmas import Lemma
from item_engine.textbase.items.tokens import Token
# this module has been auto-generated by ItemEngine
__all__ = ['P_Any_', 'P_All_', 'P_Skip_', 'Any_', 'P_Inv_', 'All_', 'P_Atom_', 'CharsetArg', 'PatternArg', 'GrammarArg', 'Ato... | 27.506518 | 356 | 0.572744 | 1,830 | 14,771 | 4.215301 | 0.052459 | 0.050817 | 0.051335 | 0.045631 | 0.763158 | 0.714934 | 0.662302 | 0.646098 | 0.625097 | 0.603967 | 0 | 0 | 0.287591 | 14,771 | 536 | 357 | 27.557836 | 0.733061 | 0.003317 | 0 | 0.621333 | 1 | 0.002667 | 0.118682 | 0.066304 | 0 | 0 | 0 | 0 | 0 | 1 | 0.237333 | false | 0.029333 | 0.008 | 0.117333 | 0.688 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
6a908709c66dda57c971b69db2cd057e858d644b | 21,802 | py | Python | shoptimizer_api/optimizers_builtin/image_link_optimizer_test.py | alex-berish/shoptimizer | 3d8837352c0ae52dee2ac804750866a2b93809f1 | [
"Apache-2.0"
] | 27 | 2020-08-21T05:59:29.000Z | 2022-03-30T17:26:44.000Z | shoptimizer_api/optimizers_builtin/image_link_optimizer_test.py | alex-berish/shoptimizer | 3d8837352c0ae52dee2ac804750866a2b93809f1 | [
"Apache-2.0"
] | null | null | null | shoptimizer_api/optimizers_builtin/image_link_optimizer_test.py | alex-berish/shoptimizer | 3d8837352c0ae52dee2ac804750866a2b93809f1 | [
"Apache-2.0"
] | 20 | 2020-09-14T08:38:11.000Z | 2022-03-13T22:37:40.000Z | # coding=utf-8
# Copyright 2021 Google LLC.
#
# 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 ... | 42.170213 | 80 | 0.735254 | 2,776 | 21,802 | 5.362752 | 0.106268 | 0.10882 | 0.02922 | 0.026869 | 0.817223 | 0.793645 | 0.771949 | 0.74508 | 0.737959 | 0.699805 | 0 | 0.012366 | 0.172874 | 21,802 | 516 | 81 | 42.251938 | 0.813176 | 0.055591 | 0 | 0.634409 | 0 | 0 | 0.103497 | 0.037255 | 0 | 0 | 0 | 0 | 0.158602 | 1 | 0.094086 | false | 0 | 0.034946 | 0.005376 | 0.139785 | 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 |
6a9d44308ac56300c8eda323d8b3f13a0ea41d16 | 80 | py | Python | SeleniumCookies/__init__.py | L04DB4L4NC3R/Selenium-Cookie-Injector | 1c381d56e7f885cf744a394fadca5827a4feca8c | [
"MIT"
] | null | null | null | SeleniumCookies/__init__.py | L04DB4L4NC3R/Selenium-Cookie-Injector | 1c381d56e7f885cf744a394fadca5827a4feca8c | [
"MIT"
] | null | null | null | SeleniumCookies/__init__.py | L04DB4L4NC3R/Selenium-Cookie-Injector | 1c381d56e7f885cf744a394fadca5827a4feca8c | [
"MIT"
] | null | null | null | from SeleniumCookies import wrapper
from SeleniumCookies import cookie_injector
| 26.666667 | 43 | 0.9 | 9 | 80 | 7.888889 | 0.666667 | 0.535211 | 0.704225 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 80 | 2 | 44 | 40 | 0.986111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
6adf0747b8c46bf64fb51bc34c6661195d5fb9d7 | 37 | py | Python | tests/__init__.py | armohamm/xhtml2pdf | d591b8ac1ebf5454eccf773d718f06f9b483b345 | [
"Apache-2.0"
] | null | null | null | tests/__init__.py | armohamm/xhtml2pdf | d591b8ac1ebf5454eccf773d718f06f9b483b345 | [
"Apache-2.0"
] | null | null | null | tests/__init__.py | armohamm/xhtml2pdf | d591b8ac1ebf5454eccf773d718f06f9b483b345 | [
"Apache-2.0"
] | 1 | 2022-03-04T22:06:09.000Z | 2022-03-04T22:06:09.000Z | from .runtests import buildTestSuite
| 18.5 | 36 | 0.864865 | 4 | 37 | 8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 37 | 1 | 37 | 37 | 0.969697 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0a7b2c2d9c6bee3b00a2d6241527ef752264be13 | 169,812 | py | Python | avaliador_de_frames_coral.py | carlosjuniorcosta1/avaliador_de_frames_lexico | c3e641b6e6998874ebf3e7b8f91dc733c5c5713a | [
"MIT"
] | null | null | null | avaliador_de_frames_coral.py | carlosjuniorcosta1/avaliador_de_frames_lexico | c3e641b6e6998874ebf3e7b8f91dc733c5c5713a | [
"MIT"
] | null | null | null | avaliador_de_frames_coral.py | carlosjuniorcosta1/avaliador_de_frames_lexico | c3e641b6e6998874ebf3e7b8f91dc733c5c5713a | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Created on Sat Mar 26 00:39:10 2022
@author: Usuario
"""
import pandas as pd
import re
!pip install spacy
!python3 -m spacy download pt
!pip install --upgrade plotly
import spacy
nlp = spacy.load('pt_core_news_sm')
import plotly.graph_objects as go
import plotly.express as px
import numpy ... | 222.850394 | 3,060 | 0.726374 | 27,988 | 169,812 | 4.333679 | 0.245034 | 0.081548 | 0.063484 | 0.092208 | 0.344527 | 0.297565 | 0.267885 | 0.238732 | 0.235376 | 0.233397 | 0 | 0.000355 | 0.038996 | 169,812 | 762 | 3,061 | 222.850394 | 0.742895 | 0.00073 | 0 | 0.004071 | 0 | 0.377205 | 0.673682 | 0.602855 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.033921 | 0.013569 | null | null | 0.001357 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0a957e5eb3595197af64a7e2318942b5f3173e91 | 46 | py | Python | d3rlpy/online/__init__.py | jamartinh/d3rlpy | 87f478451674ef769eb8ce74e3663c4d3b1c325d | [
"MIT"
] | null | null | null | d3rlpy/online/__init__.py | jamartinh/d3rlpy | 87f478451674ef769eb8ce74e3663c4d3b1c325d | [
"MIT"
] | 1 | 2020-11-17T22:35:50.000Z | 2020-11-17T22:35:50.000Z | d3rlpy/online/__init__.py | jamartinh/d3rlpy | 87f478451674ef769eb8ce74e3663c4d3b1c325d | [
"MIT"
] | null | null | null | from . import buffers
from . import explorers
| 15.333333 | 23 | 0.782609 | 6 | 46 | 6 | 0.666667 | 0.555556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 46 | 2 | 24 | 23 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 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 |
0aa46ffe759f67eeb931946675b7a8cc55c88cd1 | 205 | py | Python | tests/wikipedia.py | elihschiff/ranking-h | f636fb1c9e2d41ad26e0508c269719bfecfdf7a7 | [
"MIT"
] | null | null | null | tests/wikipedia.py | elihschiff/ranking-h | f636fb1c9e2d41ad26e0508c269719bfecfdf7a7 | [
"MIT"
] | null | null | null | tests/wikipedia.py | elihschiff/ranking-h | f636fb1c9e2d41ad26e0508c269719bfecfdf7a7 | [
"MIT"
] | null | null | null | import util
def test_returns_wikipedia():
"""
Tests that querying with wikipedia returns the correct result.
"""
assert any("wikipedia" in x["url"] for x in util.send_query("wikipedia"))
| 22.777778 | 77 | 0.687805 | 28 | 205 | 4.928571 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 205 | 8 | 78 | 25.625 | 0.841463 | 0.302439 | 0 | 0 | 0 | 0 | 0.165354 | 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 |
0ad5fd8d025feb1d6f09ee273f5250a3c2b99307 | 45 | py | Python | python/dataingest/grammar/bp/__init__.py | jiportilla/ontology | 8a66bb7f76f805c64fc76cfc40ab7dfbc1146f40 | [
"MIT"
] | null | null | null | python/dataingest/grammar/bp/__init__.py | jiportilla/ontology | 8a66bb7f76f805c64fc76cfc40ab7dfbc1146f40 | [
"MIT"
] | null | null | null | python/dataingest/grammar/bp/__init__.py | jiportilla/ontology | 8a66bb7f76f805c64fc76cfc40ab7dfbc1146f40 | [
"MIT"
] | null | null | null | from .python_parse_api import PythonParseAPI
| 22.5 | 44 | 0.888889 | 6 | 45 | 6.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088889 | 45 | 1 | 45 | 45 | 0.926829 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 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 |
0afe130f8759b0cf68e7ed4ce079651692c4df37 | 30,089 | py | Python | tests/checks/mock/test_kubernetes.py | WPMedia/dd-agent | 94c9ea0dc13037c1d413847d7c9a401e226a608e | [
"BSD-3-Clause"
] | 1 | 2019-12-22T22:14:24.000Z | 2019-12-22T22:14:24.000Z | tests/checks/mock/test_kubernetes.py | WPMedia/dd-agent | 94c9ea0dc13037c1d413847d7c9a401e226a608e | [
"BSD-3-Clause"
] | 3 | 2021-02-08T20:55:47.000Z | 2022-03-29T22:04:12.000Z | tests/checks/mock/test_kubernetes.py | WPMedia/dd-agent | 94c9ea0dc13037c1d413847d7c9a401e226a608e | [
"BSD-3-Clause"
] | null | null | null | # (C) Datadog, Inc. 2010-2016
# All rights reserved
# Licensed under Simplified BSD License (see LICENSE)
# stdlib
import mock
import unittest
import os
# 3p
import simplejson as json
# project
from tests.checks.common import AgentCheckTest, Fixtures
from checks import AgentCheck
from utils.kubernetes import KubeUtil... | 56.771698 | 375 | 0.673602 | 3,823 | 30,089 | 5.070102 | 0.102537 | 0.034824 | 0.03178 | 0.054481 | 0.818913 | 0.809524 | 0.793427 | 0.786256 | 0.752618 | 0.72708 | 0 | 0.043142 | 0.191897 | 30,089 | 529 | 376 | 56.879017 | 0.75402 | 0.066237 | 0 | 0.489157 | 0 | 0.019277 | 0.389316 | 0.31673 | 0 | 0 | 0 | 0 | 0.142169 | 1 | 0.055422 | false | 0 | 0.019277 | 0 | 0.089157 | 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 |
e401b8e844e41239858430860bf3d61d585b26e7 | 57 | py | Python | shcollector/cfg/__init__.py | mwerlen/smart-home-collector | 083aa53fd4b7f3a9392ab0cbafc383ea69ea6315 | [
"MIT"
] | null | null | null | shcollector/cfg/__init__.py | mwerlen/smart-home-collector | 083aa53fd4b7f3a9392ab0cbafc383ea69ea6315 | [
"MIT"
] | 4 | 2021-01-04T07:34:00.000Z | 2021-03-01T20:06:18.000Z | shcollector/cfg/__init__.py | mwerlen/smart-home-collector | 083aa53fd4b7f3a9392ab0cbafc383ea69ea6315 | [
"MIT"
] | null | null | null | from cfg.config import Config
config: Config = Config()
| 14.25 | 29 | 0.754386 | 8 | 57 | 5.375 | 0.5 | 0.837209 | 0.837209 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 57 | 3 | 30 | 19 | 0.895833 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
7c311caa8a7ec26c95d477c6042a309b370673ef | 3,214 | py | Python | allennlp/tests/training/metrics/covariance_test.py | tianjianjiang/allennlp | 0839f5c263911ec5ff04a2ebe575493c7e0436ef | [
"Apache-2.0"
] | 2 | 2021-04-27T19:56:28.000Z | 2021-08-19T05:34:37.000Z | allennlp/tests/training/metrics/covariance_test.py | tianjianjiang/allennlp | 0839f5c263911ec5ff04a2ebe575493c7e0436ef | [
"Apache-2.0"
] | 5 | 2021-05-03T14:40:33.000Z | 2021-05-03T14:40:34.000Z | allennlp/tests/training/metrics/covariance_test.py | tianjianjiang/allennlp | 0839f5c263911ec5ff04a2ebe575493c7e0436ef | [
"Apache-2.0"
] | 2 | 2019-12-04T16:55:13.000Z | 2019-12-06T18:47:15.000Z | import torch
import numpy as np
from numpy.testing import assert_allclose
from allennlp.common.testing import AllenNlpTestCase
from allennlp.training.metrics import Covariance
class CovarianceTest(AllenNlpTestCase):
def test_covariance_unmasked_computation(self):
covariance = Covariance()
batch_s... | 43.432432 | 99 | 0.610143 | 354 | 3,214 | 5.412429 | 0.189266 | 0.054802 | 0.041754 | 0.046973 | 0.802714 | 0.802714 | 0.798539 | 0.798539 | 0.768789 | 0.768789 | 0 | 0.028205 | 0.271935 | 3,214 | 73 | 100 | 44.027397 | 0.790598 | 0.07374 | 0 | 0.631579 | 0 | 0 | 0.011788 | 0 | 0 | 0 | 0 | 0 | 0.087719 | 1 | 0.035088 | false | 0 | 0.087719 | 0 | 0.140351 | 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 |
7c570a1ae985391f88639d366330ef7140dfe874 | 143 | py | Python | src/masonite/commands/Command.py | cercos/masonite | f7f220efa7fae833683e9f07ce13c3795a87d3b8 | [
"MIT"
] | 1,816 | 2018-02-14T01:59:51.000Z | 2022-03-31T17:09:20.000Z | src/masonite/commands/Command.py | cercos/masonite | f7f220efa7fae833683e9f07ce13c3795a87d3b8 | [
"MIT"
] | 340 | 2018-02-11T00:27:26.000Z | 2022-03-21T12:00:24.000Z | src/masonite/commands/Command.py | cercos/masonite | f7f220efa7fae833683e9f07ce13c3795a87d3b8 | [
"MIT"
] | 144 | 2018-03-18T00:08:16.000Z | 2022-02-26T01:51:58.000Z | from cleo import Command as BaseCommand
from ..utils.console import AddCommandColors
class Command(BaseCommand, AddCommandColors):
pass
| 17.875 | 45 | 0.804196 | 16 | 143 | 7.1875 | 0.6875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146853 | 143 | 7 | 46 | 20.428571 | 0.942623 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.25 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
7cad48be242058723b88c72cb3aadfabe9f40d34 | 3,949 | py | Python | benchmarks/Evolution/both/evo_tests/test_cases/test_situation_flag.py | nuprl/retic_performance | 621211c2f40251ce5364c33e72e4067e34a32013 | [
"MIT"
] | 3 | 2018-08-03T02:41:29.000Z | 2021-03-19T03:18:47.000Z | benchmarks/Evolution/both/evo_tests/test_cases/test_situation_flag.py | nuprl/retic_performance | 621211c2f40251ce5364c33e72e4067e34a32013 | [
"MIT"
] | 3 | 2018-02-04T17:53:56.000Z | 2018-11-10T17:06:57.000Z | benchmarks/Evolution/both/evo_tests/test_cases/test_situation_flag.py | nuprl/retic_performance | 621211c2f40251ce5364c33e72e4067e34a32013 | [
"MIT"
] | 1 | 2018-08-04T00:14:12.000Z | 2018-08-04T00:14:12.000Z | __author__ = 'Edwin Cowart, Kevin McDonough'
import unittest
from evolution.situation_flag import *
class TestSituationFlag(unittest.TestCase):
def test_situation_flag(self):
self.assertFalse(SituationFlag.ATTACKER is SituationFlag.DEFENDER)
self.assertTrue(SituationFlag.ATTACKER is SituationFlag.... | 58.940299 | 101 | 0.808306 | 417 | 3,949 | 7.33813 | 0.076739 | 0.288235 | 0.256209 | 0.156863 | 0.935294 | 0.890196 | 0.822222 | 0.554902 | 0.326471 | 0.098693 | 0 | 0 | 0.119017 | 3,949 | 66 | 102 | 59.833333 | 0.879563 | 0 | 0 | 0 | 0 | 0 | 0.009369 | 0 | 0 | 0 | 0 | 0 | 0.754717 | 1 | 0.132075 | false | 0 | 0.037736 | 0 | 0.188679 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7cce5aa62c86bae573151e21cc580b05d2b4a392 | 91 | py | Python | authlib/oauth2/rfc8414/__init__.py | danielfv/authlib | 7b11dd7d262574009ac10298ace6c48d6054057e | [
"BSD-3-Clause"
] | 1 | 2019-10-26T20:23:28.000Z | 2019-10-26T20:23:28.000Z | authlib/oauth2/rfc8414/__init__.py | danielfv/authlib | 7b11dd7d262574009ac10298ace6c48d6054057e | [
"BSD-3-Clause"
] | null | null | null | authlib/oauth2/rfc8414/__init__.py | danielfv/authlib | 7b11dd7d262574009ac10298ace6c48d6054057e | [
"BSD-3-Clause"
] | null | null | null | from .models import AuthorizationServerMetadata
from .well_known import get_well_known_url
| 30.333333 | 47 | 0.89011 | 12 | 91 | 6.416667 | 0.666667 | 0.233766 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.087912 | 91 | 2 | 48 | 45.5 | 0.927711 | 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 |
6b023534d0a5a01ce52fa3957bbd78fc0dd3506c | 204 | py | Python | calc.py | SashaPoraiko/academy-storage | 387f236971085fde605c2a12b53b1734a925759a | [
"Unlicense",
"MIT"
] | null | null | null | calc.py | SashaPoraiko/academy-storage | 387f236971085fde605c2a12b53b1734a925759a | [
"Unlicense",
"MIT"
] | 7 | 2020-06-05T23:54:27.000Z | 2022-02-10T10:36:29.000Z | calc.py | SashaPoraiko/academy-storage | 387f236971085fde605c2a12b53b1734a925759a | [
"Unlicense",
"MIT"
] | null | null | null | def add(a, b):
return a + b
def sub(a, b):
return a - b
def mul(a, b):
return a * b
def div(a, b):
return a / b
def sqrt(a):
return a ** 0.5
def pow(a, b):
return a ** b
| 8.869565 | 19 | 0.47549 | 42 | 204 | 2.309524 | 0.285714 | 0.206186 | 0.412371 | 0.463918 | 0.639175 | 0.536082 | 0 | 0 | 0 | 0 | 0 | 0.015504 | 0.367647 | 204 | 22 | 20 | 9.272727 | 0.736434 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
6b25c3e46a2c5a685df82c41f801e807fc075428 | 115 | py | Python | tools/__init__.py | okcd00/BertBasedCorrectionModels | 79297c36c64eaff6c4f3c316bc4110f442210991 | [
"Apache-2.0"
] | null | null | null | tools/__init__.py | okcd00/BertBasedCorrectionModels | 79297c36c64eaff6c4f3c316bc4110f442210991 | [
"Apache-2.0"
] | null | null | null | tools/__init__.py | okcd00/BertBasedCorrectionModels | 79297c36c64eaff6c4f3c316bc4110f442210991 | [
"Apache-2.0"
] | null | null | null | """
@Time : 2021-07-27 17:21:07
@File : __init__.py.py
@Author : okcd00
@Email : okcd00{at}qq.com
"""
| 16.428571 | 31 | 0.556522 | 18 | 115 | 3.333333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.206897 | 0.243478 | 115 | 6 | 32 | 19.166667 | 0.482759 | 0.921739 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
86355947caf970a71e437f06ad7cd8ca9af86447 | 242 | py | Python | pshape/__init__.py | sam1902/pshape | b94b474ecd528284307907d85455e6252946fb95 | [
"BSD-3-Clause"
] | null | null | null | pshape/__init__.py | sam1902/pshape | b94b474ecd528284307907d85455e6252946fb95 | [
"BSD-3-Clause"
] | null | null | null | pshape/__init__.py | sam1902/pshape | b94b474ecd528284307907d85455e6252946fb95 | [
"BSD-3-Clause"
] | null | null | null | # The module is called pshape
# the file containing the function is called pshape
# and the function itself is called pshape.
# For package structure design, think of tqdm, they've got a similar deal going on
from pshape.pshape import pshape
| 40.333333 | 82 | 0.789256 | 40 | 242 | 4.775 | 0.675 | 0.125654 | 0.219895 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173554 | 242 | 5 | 83 | 48.4 | 0.955 | 0.826446 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
86591d66e635dd08905393e315d83c162edc2b91 | 8,503 | py | Python | tests/test_benchmark_tf.py | abufadl/transformers | c84bb6eb92b654e04a82fada26417fcdab45f3af | [
"Apache-2.0"
] | 5 | 2020-12-05T12:10:34.000Z | 2021-03-04T19:01:25.000Z | tests/test_benchmark_tf.py | abufadl/transformers | c84bb6eb92b654e04a82fada26417fcdab45f3af | [
"Apache-2.0"
] | 2 | 2020-09-03T13:54:34.000Z | 2020-09-25T19:01:29.000Z | tests/test_benchmark_tf.py | abufadl/transformers | c84bb6eb92b654e04a82fada26417fcdab45f3af | [
"Apache-2.0"
] | 3 | 2020-10-10T10:56:18.000Z | 2020-12-04T20:54:39.000Z | import os
import tempfile
import unittest
from pathlib import Path
from transformers import AutoConfig, is_tf_available
from transformers.testing_utils import require_tf
if is_tf_available():
import tensorflow as tf
from transformers import TensorFlowBenchmark, TensorFlowBenchmarkArguments
@require_tf
cla... | 39.920188 | 117 | 0.648595 | 914 | 8,503 | 5.676149 | 0.141138 | 0.035081 | 0.058597 | 0.069584 | 0.80185 | 0.774287 | 0.758867 | 0.738049 | 0.701041 | 0.688126 | 0 | 0.005445 | 0.265671 | 8,503 | 212 | 118 | 40.108491 | 0.825432 | 0 | 0 | 0.673575 | 0 | 0 | 0.047513 | 0.010937 | 0 | 0 | 0 | 0 | 0.046632 | 1 | 0.067358 | false | 0 | 0.041451 | 0 | 0.11399 | 0.005181 | 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 |
8679efb1052dc965214aaea2ded1b11a4fe5be92 | 62 | py | Python | api/app/config/development.py | rdkap42/caedus-covid | f64a833bdf386708fcb9394f94026c48f8d474ee | [
"MIT"
] | 10 | 2020-03-17T21:21:50.000Z | 2020-04-30T02:30:47.000Z | api/app/config/production.py | rdkap42/caedus-covid | f64a833bdf386708fcb9394f94026c48f8d474ee | [
"MIT"
] | 5 | 2020-03-17T04:39:03.000Z | 2021-04-30T21:11:14.000Z | api/app/config/production.py | rdkap42/caedus-covid | f64a833bdf386708fcb9394f94026c48f8d474ee | [
"MIT"
] | null | null | null | from .base import BaseConfig
class Config(BaseConfig):
pass | 15.5 | 28 | 0.790323 | 8 | 62 | 6.125 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145161 | 62 | 4 | 29 | 15.5 | 0.924528 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
867c62d072329752d8493634548419a768eb7c28 | 77,879 | py | Python | backend/api/tests/test_compliance_reporting.py | amichard/tfrs | ed3973016cc5c2ae48999d550a23b41a5ddad807 | [
"Apache-2.0"
] | 18 | 2017-05-10T21:55:11.000Z | 2021-03-01T16:41:32.000Z | backend/api/tests/test_compliance_reporting.py | amichard/tfrs | ed3973016cc5c2ae48999d550a23b41a5ddad807 | [
"Apache-2.0"
] | 1,167 | 2017-03-04T00:18:43.000Z | 2022-03-03T22:31:51.000Z | backend/api/tests/test_compliance_reporting.py | amichard/tfrs | ed3973016cc5c2ae48999d550a23b41a5ddad807 | [
"Apache-2.0"
] | 48 | 2017-03-09T17:19:39.000Z | 2022-02-24T16:38:17.000Z | # -*- coding: utf-8 -*-
# pylint: disable=no-member,invalid-name
"""
REST API Documentation for the NRsS TFRS Credit Trading Application
The Transportation Fuels Reporting System is being designed to streamline
compliance reporting for transportation fuel suppliers in accordance with
the Renewable & Lo... | 41.27133 | 109 | 0.45685 | 5,866 | 77,879 | 5.897886 | 0.071429 | 0.038732 | 0.041969 | 0.076943 | 0.893921 | 0.881001 | 0.870278 | 0.849958 | 0.824811 | 0.804925 | 0 | 0.024014 | 0.416094 | 77,879 | 1,886 | 110 | 41.293213 | 0.736795 | 0.014869 | 0 | 0.67029 | 0 | 0 | 0.260837 | 0.024648 | 0 | 0 | 0 | 0 | 0.091787 | 1 | 0.018116 | false | 0 | 0.005435 | 0 | 0.025362 | 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 |
86ab25e659ad96f51c333e9d7a29bc5c81610815 | 231 | py | Python | strimadec/models/utils/__init__.py | borea17/StrImaDec | 711e14d50ff816585b43c1509355983738b45ecb | [
"MIT"
] | null | null | null | strimadec/models/utils/__init__.py | borea17/StrImaDec | 711e14d50ff816585b43c1509355983738b45ecb | [
"MIT"
] | null | null | null | strimadec/models/utils/__init__.py | borea17/StrImaDec | 711e14d50ff816585b43c1509355983738b45ecb | [
"MIT"
] | null | null | null | from strimadec.models.utils.LossModels import DVAE_LossModel, DVAEST_LossModel
from strimadec.models.utils.accuracy import compute_accuracy
from strimadec.models.utils.kl_divergences import gaussian_kl, bernoulli_kl, categorical_kl | 77 | 91 | 0.887446 | 31 | 231 | 6.387097 | 0.516129 | 0.19697 | 0.287879 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.060606 | 231 | 3 | 91 | 77 | 0.912442 | 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 |
813e070b2103d765e526cefb9028dea8987382b7 | 615 | py | Python | docker/pycef/verify.py | ThisIsNotTheUserYouAreLookingFor/dockerfiles | f92673b0d15c457e4abe215cf260afbb5b25cf2e | [
"MIT"
] | 48 | 2018-12-12T12:18:09.000Z | 2022-03-05T02:23:42.000Z | docker/pycef/verify.py | ThisIsNotTheUserYouAreLookingFor/dockerfiles | f92673b0d15c457e4abe215cf260afbb5b25cf2e | [
"MIT"
] | 7,201 | 2018-12-24T17:14:17.000Z | 2022-03-31T13:39:12.000Z | docker/pycef/verify.py | ThisIsNotTheUserYouAreLookingFor/dockerfiles | f92673b0d15c457e4abe215cf260afbb5b25cf2e | [
"MIT"
] | 94 | 2018-12-17T10:59:21.000Z | 2022-03-29T12:59:30.000Z | import pycef
cef = "Jul 14 2020 00:49:42 myvxkp.manage.trendmicro.com CEF:0|Trend Micro|Apex Central|2019|WB:36|36|3|deviceExternalId=1 rt=Jun 21 2020 07:56:09 GMT+00:00 app=5 cnt=1 dpt=80 act=2 src=10.128.0.11 cs1Label=SLF_PolicyName cs1=Internal User Policy deviceDirection=2 cat=36 dvchost=CU-PRO1-8254-2 request=htt... | 123 | 579 | 0.796748 | 107 | 615 | 4.542056 | 0.82243 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130053 | 0.074797 | 615 | 4 | 580 | 153.75 | 0.724077 | 0 | 0 | 0 | 0 | 0.333333 | 0.928455 | 0.479675 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
d4a50b6f2ecaa3e5fd52e64cccb6579d7baa8c90 | 275 | py | Python | doublebeamforming/__init__.py | eileenrmartin/doubleBeamforming | affb2cf1815550d9d4c377d094eb154f84c3b30b | [
"MIT"
] | 9 | 2020-04-10T16:47:55.000Z | 2022-03-31T14:11:52.000Z | doublebeamforming/__init__.py | eileenrmartin/doubleBeamforming | affb2cf1815550d9d4c377d094eb154f84c3b30b | [
"MIT"
] | 1 | 2021-02-25T07:59:14.000Z | 2021-02-25T07:59:14.000Z | doublebeamforming/__init__.py | eileenrmartin/doubleBeamforming | affb2cf1815550d9d4c377d094eb154f84c3b30b | [
"MIT"
] | 4 | 2020-05-11T00:10:08.000Z | 2022-03-31T06:45:40.000Z | from .arrays import arrayPatch
from .newDBFFuncs import shiftFrqData
from .newDBFFuncs import phase1
from .newDBFFuncs import phase2
from .distFromAvg import calcDistFromAvg
from .traditionalXcorrsDBF import xCorrsAcrossArrays
from .traditionalXcorrsDBF import DBFAfterXcorrs | 39.285714 | 52 | 0.876364 | 28 | 275 | 8.607143 | 0.464286 | 0.186722 | 0.261411 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008065 | 0.098182 | 275 | 7 | 53 | 39.285714 | 0.96371 | 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 |
d4b5b49bbe3c75f462fd39cf4947ed7cb75513a0 | 43 | py | Python | bootcamp/chapter-1/hello-world.py | pushkar2112/Python-practice | 75f88eaa2b4f3c47570b1a11e0e221436551ce89 | [
"Apache-2.0"
] | 1 | 2021-11-23T08:36:43.000Z | 2021-11-23T08:36:43.000Z | bootcamp/chapter-1/hello-world.py | pushkar2112/Python-practice | 75f88eaa2b4f3c47570b1a11e0e221436551ce89 | [
"Apache-2.0"
] | 1 | 2021-07-18T12:39:40.000Z | 2021-09-08T09:48:16.000Z | bootcamp/chapter-1/hello-world.py | pushkar2112/Python-practice | 75f88eaa2b4f3c47570b1a11e0e221436551ce89 | [
"Apache-2.0"
] | null | null | null | print('hello world')
print('hello pushkar') | 21.5 | 22 | 0.744186 | 6 | 43 | 5.333333 | 0.666667 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.069767 | 43 | 2 | 22 | 21.5 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0.545455 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 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 | 0 | 0 | 0 | 1 | 0 | 6 |
d4cc961ac28848939fccfdb2a9032a2fc1d0fa3a | 205 | py | Python | lib/env/reward/__init__.py | devas123/Bitcoin-Trader-RL | 097cb0ba7428b2c4f997bdb0425a6153c23f9c83 | [
"MIT"
] | null | null | null | lib/env/reward/__init__.py | devas123/Bitcoin-Trader-RL | 097cb0ba7428b2c4f997bdb0425a6153c23f9c83 | [
"MIT"
] | null | null | null | lib/env/reward/__init__.py | devas123/Bitcoin-Trader-RL | 097cb0ba7428b2c4f997bdb0425a6153c23f9c83 | [
"MIT"
] | null | null | null | from lib.env.reward.IncrementalProfit import IncrementalProfit
from lib.env.reward.WeightedUnrealizedProfit import WeightedUnrealizedProfit
from lib.env.reward.BaseRewardStrategy import BaseRewardStrategy
| 51.25 | 76 | 0.897561 | 21 | 205 | 8.761905 | 0.380952 | 0.11413 | 0.163043 | 0.26087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.058537 | 205 | 3 | 77 | 68.333333 | 0.953368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 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 |
07d9e8fd7666559e84504e2ba7b0f07a06b626fb | 22 | py | Python | tests/sublime/__init__.py | percevalw/Term | 461be68e1755b2184778c2bc8e28ffa89a6043d5 | [
"MIT"
] | 4 | 2017-05-11T01:05:35.000Z | 2017-05-31T14:42:42.000Z | tests/sublime/__init__.py | percevalw/Term | 461be68e1755b2184778c2bc8e28ffa89a6043d5 | [
"MIT"
] | 1 | 2017-06-06T17:17:02.000Z | 2018-03-13T22:14:11.000Z | tests/sublime/__init__.py | percevalw/Term | 461be68e1755b2184778c2bc8e28ffa89a6043d5 | [
"MIT"
] | null | null | null | from .sublime import * | 22 | 22 | 0.772727 | 3 | 22 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 22 | 1 | 22 | 22 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
07f9a893764c34d9604c8baebfbc5d1d6247d1bc | 71,941 | py | Python | bot.py | meme8383/school-bot-demo | 54a08fd5ed1c21dafe814a6a67ef91883ad33b46 | [
"MIT"
] | null | null | null | bot.py | meme8383/school-bot-demo | 54a08fd5ed1c21dafe814a6a67ef91883ad33b46 | [
"MIT"
] | null | null | null | bot.py | meme8383/school-bot-demo | 54a08fd5ed1c21dafe814a6a67ef91883ad33b46 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# school-bot-demo
# All doxxing information has been removed.
#Image-------------------------------------------------------------------------
import re
#try:
# from PIL import Image
#except ImportError:
# import Image
#import pytesseract
#
#pytesseract.pytesseract.tesserac... | 59.65257 | 646 | 0.553676 | 8,088 | 71,941 | 4.892804 | 0.057122 | 0.034165 | 0.055189 | 0.063073 | 0.832714 | 0.80747 | 0.780659 | 0.758573 | 0.746266 | 0.729336 | 0 | 0.009621 | 0.31227 | 71,941 | 1,205 | 647 | 59.702075 | 0.790222 | 0.101361 | 0 | 0.69765 | 0 | 0.020299 | 0.214494 | 0.003695 | 0.003205 | 0 | 0 | 0 | 0 | 1 | 0.007479 | false | 0 | 0.00641 | 0.003205 | 0.056624 | 0.097222 | 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 |
ed1bd21b57b985c2055e23111d56c9bbda8e3957 | 8,099 | py | Python | ltr/model/head/atom.py | DeepBrainsMe/PyDoctor_Final | 49ecfc64b2a2866e7f37cc79c1f32a817975f064 | [
"MIT"
] | 1 | 2021-05-19T06:46:05.000Z | 2021-05-19T06:46:05.000Z | ltr/model/head/atom.py | DeepBrainsMe/PyDoctor_Final | 49ecfc64b2a2866e7f37cc79c1f32a817975f064 | [
"MIT"
] | null | null | null | ltr/model/head/atom.py | DeepBrainsMe/PyDoctor_Final | 49ecfc64b2a2866e7f37cc79c1f32a817975f064 | [
"MIT"
] | null | null | null | import torch.nn as nn
import ltr.model.backbone as backbones
import ltr.model.head as headmodels
from ltr import model_constructor
class ATOMnet(nn.Module):
""" ATOM network module"""
def __init__(self, feature_extractor, kp_regressor, kp_regressor_layer, extractor_grad=True):
super(ATOMnet, self).__... | 37.322581 | 135 | 0.713792 | 1,037 | 8,099 | 5.249759 | 0.118611 | 0.08817 | 0.049963 | 0.02939 | 0.820353 | 0.788391 | 0.764879 | 0.749633 | 0.708303 | 0.690669 | 0 | 0.012282 | 0.205828 | 8,099 | 217 | 136 | 37.322581 | 0.834111 | 0.130757 | 0 | 0.572581 | 0 | 0 | 0.007668 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.185484 | false | 0 | 0.032258 | 0.056452 | 0.403226 | 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 |
ed1d932ccc902fe347cbae1b80f41d1f1429f748 | 66 | py | Python | src/core_pipeline.py | Tpool1/Asclepius | 760ab31a8933772faa76064a42b11ab6e12d6c9a | [
"MIT"
] | null | null | null | src/core_pipeline.py | Tpool1/Asclepius | 760ab31a8933772faa76064a42b11ab6e12d6c9a | [
"MIT"
] | null | null | null | src/core_pipeline.py | Tpool1/Asclepius | 760ab31a8933772faa76064a42b11ab6e12d6c9a | [
"MIT"
] | null | null | null | from plugins import *
from packages import *
from models import *
| 16.5 | 22 | 0.772727 | 9 | 66 | 5.666667 | 0.555556 | 0.392157 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 66 | 3 | 23 | 22 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ed34f35bdb57bf10a67421ab18a7355d085695f9 | 32,322 | py | Python | pymatgen/electronic_structure/tests/test_dos.py | naik-aakash/pymatgen | 394e0d71bf1d1025fcf75498cbb16aa3f41ce78c | [
"MIT"
] | null | null | null | pymatgen/electronic_structure/tests/test_dos.py | naik-aakash/pymatgen | 394e0d71bf1d1025fcf75498cbb16aa3f41ce78c | [
"MIT"
] | null | null | null | pymatgen/electronic_structure/tests/test_dos.py | naik-aakash/pymatgen | 394e0d71bf1d1025fcf75498cbb16aa3f41ce78c | [
"MIT"
] | null | null | null | # Copyright (c) Pymatgen Development Team.
# Distributed under the terms of the MIT License.
import json
import os
import unittest
import numpy as np
from monty.serialization import loadfn
from pymatgen.core.periodic_table import Element
from pymatgen.core.structure import Structure
from pymatgen.electronic_structu... | 44.216142 | 120 | 0.629664 | 4,356 | 32,322 | 4.431818 | 0.070707 | 0.061538 | 0.065631 | 0.027299 | 0.855944 | 0.809531 | 0.784719 | 0.775654 | 0.746128 | 0.721005 | 0 | 0.144364 | 0.243054 | 32,322 | 730 | 121 | 44.276712 | 0.644691 | 0.012561 | 0 | 0.545166 | 0 | 0 | 0.020374 | 0.004921 | 0 | 0 | 0 | 0 | 0.207607 | 1 | 0.031696 | false | 0 | 0.015848 | 0 | 0.057052 | 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 |
ed4abcd9f46a2612b41f900dd184f4d3e896891c | 12,266 | py | Python | genonets/test/test_epistasis.py | fkhalid/genonets | 0dcd2e35ebf6957b8d0934e6033e2c962938c18a | [
"MIT"
] | 4 | 2016-03-01T10:43:40.000Z | 2021-07-17T14:53:04.000Z | genonets/test/test_epistasis.py | fkhalid/genonets | 0dcd2e35ebf6957b8d0934e6033e2c962938c18a | [
"MIT"
] | 15 | 2016-04-13T10:54:49.000Z | 2020-11-07T16:17:34.000Z | genonets/test/test_epistasis.py | fkhalid/genonets | 0dcd2e35ebf6957b8d0934e6033e2c962938c18a | [
"MIT"
] | 1 | 2016-03-01T10:46:44.000Z | 2016-03-01T10:46:44.000Z |
import tempfile
import genonets.test.utils as utils
import genonets.test.compare_result_files as comparator
from genonets.cmdl_handler import CmdParser
from genonets.interface import Genonets
from genonets.constants import AnalysisConstants as Ac
class TestEpistasis:
@staticmethod
def run_test(cmd_args, gr... | 35.865497 | 92 | 0.59563 | 1,367 | 12,266 | 5.066569 | 0.079005 | 0.109587 | 0.095004 | 0.064973 | 0.908461 | 0.905429 | 0.905429 | 0.905429 | 0.899653 | 0.8946 | 0 | 0.017011 | 0.285912 | 12,266 | 341 | 93 | 35.970674 | 0.773718 | 0 | 0 | 0.602996 | 0 | 0 | 0.34415 | 0.263922 | 0 | 0 | 0 | 0 | 0.007491 | 1 | 0.086142 | false | 0 | 0.022472 | 0 | 0.11236 | 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 |
ed552265a7647f2a260306c434e014749837af8f | 24 | py | Python | setup.py | UnicycleDumpTruck/VetRFID | a679bf231cda1011692c92c476fda7c540a12687 | [
"MIT"
] | null | null | null | setup.py | UnicycleDumpTruck/VetRFID | a679bf231cda1011692c92c476fda7c540a12687 | [
"MIT"
] | null | null | null | setup.py | UnicycleDumpTruck/VetRFID | a679bf231cda1011692c92c476fda7c540a12687 | [
"MIT"
] | null | null | null | # TODO this whole file!
| 12 | 23 | 0.708333 | 4 | 24 | 4.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.208333 | 24 | 1 | 24 | 24 | 0.894737 | 0.875 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 1 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ed670a0a56338ac3d01e739c93eb089c51b71a83 | 41 | py | Python | tdasampling/__init__.py | P-Edwards/tdasampling | 6c5d3683ca920b32f8bdb997ea2aa47f81158bd6 | [
"MIT"
] | 2 | 2019-03-20T11:06:32.000Z | 2020-04-05T23:52:11.000Z | tdasampling/__init__.py | P-Edwards/tdasampling | 6c5d3683ca920b32f8bdb997ea2aa47f81158bd6 | [
"MIT"
] | 1 | 2020-04-24T08:39:33.000Z | 2020-04-24T15:49:23.000Z | tdasampling/__init__.py | P-Edwards/tdasampling | 6c5d3683ca920b32f8bdb997ea2aa47f81158bd6 | [
"MIT"
] | null | null | null | from .algorithm import sampling_algorithm | 41 | 41 | 0.902439 | 5 | 41 | 7.2 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.073171 | 41 | 1 | 41 | 41 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ed6e723a5cb39f265b06f8494849397744ced038 | 54 | py | Python | addc/version.py | carsonfarmer/AddC | 175829cafbf852b4106d4290d6fdd67a7ba57dcd | [
"MIT"
] | null | null | null | addc/version.py | carsonfarmer/AddC | 175829cafbf852b4106d4290d6fdd67a7ba57dcd | [
"MIT"
] | null | null | null | addc/version.py | carsonfarmer/AddC | 175829cafbf852b4106d4290d6fdd67a7ba57dcd | [
"MIT"
] | null | null | null | version = '0.1.0.dev-5c375d3'
short_version = '0.1.0'
| 18 | 29 | 0.666667 | 11 | 54 | 3.181818 | 0.545455 | 0.457143 | 0.514286 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.229167 | 0.111111 | 54 | 2 | 30 | 27 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0.407407 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
ed6eb21af826866fd0eb0c86f468b6ec4ffd4397 | 183 | py | Python | pymbolic/sympy_interface.py | thomasgibson/pymbolic | a4a873f10bfc4c17dec92fe047a4638298cd63fc | [
"MIT"
] | 70 | 2015-08-10T20:24:24.000Z | 2022-03-31T04:08:35.000Z | pymbolic/sympy_interface.py | thomasgibson/pymbolic | a4a873f10bfc4c17dec92fe047a4638298cd63fc | [
"MIT"
] | 48 | 2015-04-22T16:13:07.000Z | 2022-03-25T04:27:13.000Z | pymbolic/sympy_interface.py | thomasgibson/pymbolic | a4a873f10bfc4c17dec92fe047a4638298cd63fc | [
"MIT"
] | 20 | 2015-11-20T18:47:11.000Z | 2021-09-28T23:44:21.000Z | from pymbolic.interop.sympy import * # noqa
from warnings import warn
warn("pymbolic.sympy_interface is deprecated. Use pymbolic.interop.sympy instead",
DeprecationWarning)
| 30.5 | 82 | 0.781421 | 22 | 183 | 6.454545 | 0.636364 | 0.211268 | 0.28169 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147541 | 183 | 5 | 83 | 36.6 | 0.910256 | 0.021858 | 0 | 0 | 0 | 0 | 0.418079 | 0.259887 | 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 |
71ec3cdf27f852eff07099ee6c9b4a1b95a260c8 | 37 | py | Python | translator/__init__.py | UST-MICO/msg_translator_prototype | 4c15fe526168ea1e284ce467de44f2f452197d21 | [
"Apache-2.0"
] | null | null | null | translator/__init__.py | UST-MICO/msg_translator_prototype | 4c15fe526168ea1e284ce467de44f2f452197d21 | [
"Apache-2.0"
] | null | null | null | translator/__init__.py | UST-MICO/msg_translator_prototype | 4c15fe526168ea1e284ce467de44f2f452197d21 | [
"Apache-2.0"
] | null | null | null | from translator.translator import *
| 12.333333 | 35 | 0.810811 | 4 | 37 | 7.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135135 | 37 | 2 | 36 | 18.5 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9c2e02f5923dd28a09feefbb7758d4a8e8e7249e | 4,129 | py | Python | examples/09-interpreter.py | Tomas1861/bijou | 8db9a42a138c7480385c752c8106e35dd067a493 | [
"MIT"
] | 1 | 2020-02-04T15:16:58.000Z | 2020-02-04T15:16:58.000Z | examples/09-interpreter.py | Tomas1861/bijou | 8db9a42a138c7480385c752c8106e35dd067a493 | [
"MIT"
] | null | null | null | examples/09-interpreter.py | Tomas1861/bijou | 8db9a42a138c7480385c752c8106e35dd067a493 | [
"MIT"
] | null | null | null | import sys
sys.path.append('..')
import torch.nn as nn
import torch.nn.functional as F
from torch import optim
from bijou.learner import Learner
from bijou.data import Dataset, DataLoader, DataBunch
from bijou.metrics import accuracy
from bijou.callbacks import Interpreter
from bijou.datasets import mnist
import numpy... | 29.92029 | 109 | 0.708888 | 648 | 4,129 | 4.354938 | 0.191358 | 0.076541 | 0.023388 | 0.02764 | 0.884125 | 0.864989 | 0.821049 | 0.801559 | 0.722892 | 0.722892 | 0 | 0.022086 | 0.133689 | 4,129 | 137 | 110 | 30.138686 | 0.766844 | 0.517317 | 0 | 0 | 0 | 0 | 0.029076 | 0.010903 | 0 | 0 | 0 | 0 | 0 | 1 | 0.022727 | false | 0 | 0.25 | 0.022727 | 0.295455 | 0.068182 | 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 |
9c42c0bcfdf14afa04d92a0a99943790fc91ca79 | 52,302 | py | Python | tests/src/OneLogin/saml2_tests/auth_test.py | cerebro-data/python-saml | 3bda379bf4cf893f0cd2727a67a5656bda24dae9 | [
"MIT"
] | null | null | null | tests/src/OneLogin/saml2_tests/auth_test.py | cerebro-data/python-saml | 3bda379bf4cf893f0cd2727a67a5656bda24dae9 | [
"MIT"
] | null | null | null | tests/src/OneLogin/saml2_tests/auth_test.py | cerebro-data/python-saml | 3bda379bf4cf893f0cd2727a67a5656bda24dae9 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Copyright (c) 2014, OneLogin, Inc.
# All rights reserved.
from base64 import b64decode, b64encode
import json
from os.path import dirname, join, exists
import unittest
from teamcity import is_running_under_teamcity
from teamcity.unittestpy import TeamcityTestRunner
from urlparse import urlpa... | 47.808044 | 200 | 0.691006 | 6,081 | 52,302 | 5.644631 | 0.064463 | 0.067414 | 0.053984 | 0.033037 | 0.825666 | 0.803525 | 0.777218 | 0.761486 | 0.738645 | 0.719417 | 0 | 0.018479 | 0.20743 | 52,302 | 1,093 | 201 | 47.851784 | 0.809567 | 0.125311 | 0 | 0.678862 | 0 | 0.012195 | 0.174387 | 0.05543 | 0 | 0 | 0 | 0.002745 | 0.224932 | 1 | 0.066396 | false | 0.006775 | 0.017615 | 0.001355 | 0.092141 | 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 |
9c7e9da1cffdbd204394e6b3620ac62efe8b3389 | 13,381 | py | Python | datamart/unit_tests/test_index_builder.py | cybergla/datamart | ba377b2d2a25acb8efe8e636b2c6579d3863713f | [
"MIT"
] | null | null | null | datamart/unit_tests/test_index_builder.py | cybergla/datamart | ba377b2d2a25acb8efe8e636b2c6579d3863713f | [
"MIT"
] | null | null | null | datamart/unit_tests/test_index_builder.py | cybergla/datamart | ba377b2d2a25acb8efe8e636b2c6579d3863713f | [
"MIT"
] | null | null | null | from datamart.utils import Utils
from datamart.index_builder import IndexBuilder
import unittest
import pandas as pd
class TestIndexBuilder(unittest.TestCase):
def setUp(self):
self.ib = IndexBuilder()
self.global_datamart_id = 10000
self.df_for_global = pd.DataFrame({
"city":... | 36.862259 | 190 | 0.483746 | 1,128 | 13,381 | 5.560284 | 0.126773 | 0.03986 | 0.043367 | 0.063776 | 0.915019 | 0.904815 | 0.884885 | 0.881218 | 0.817283 | 0.817283 | 0 | 0.052657 | 0.391152 | 13,381 | 362 | 191 | 36.964088 | 0.717197 | 0 | 0 | 0.685294 | 0 | 0.017647 | 0.333383 | 0 | 0 | 0 | 0 | 0 | 0.023529 | 1 | 0.026471 | false | 0 | 0.011765 | 0 | 0.041176 | 0.023529 | 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 |
92d37c656251084a6dc18dcfeb81378e33f5b251 | 240 | py | Python | demo/fib/test_fib.py | joshkel/automated-testing-with-pytest | 79686bb6c4a84f3d4782656db74641c0ceef4618 | [
"MIT"
] | 2 | 2019-02-10T15:33:09.000Z | 2019-02-10T18:25:10.000Z | demo/fib/test_fib.py | joshkel/automated-testing-with-pytest | 79686bb6c4a84f3d4782656db74641c0ceef4618 | [
"MIT"
] | null | null | null | demo/fib/test_fib.py | joshkel/automated-testing-with-pytest | 79686bb6c4a84f3d4782656db74641c0ceef4618 | [
"MIT"
] | null | null | null | from fib import fib
def test_fib():
assert fib(0) == 0
assert fib(1) == 1
assert fib(3) == 2
assert fib(4) == 3
assert fib(5) == 5
def test_negative_fib():
pass
def test_big_fib():
assert fib(30) == 832040
| 13.333333 | 28 | 0.575 | 40 | 240 | 3.325 | 0.425 | 0.406015 | 0.180451 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 0.2875 | 240 | 17 | 29 | 14.117647 | 0.672515 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.545455 | 1 | 0.272727 | true | 0.090909 | 0.090909 | 0 | 0.363636 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
92e5e817837c94fe6d75059a8abd5b6db38969c7 | 90,882 | py | Python | tests/puzzle/test_solver.py | robin92/poetry | 7cc684981983963dc202e1a249a4b66667b468bd | [
"MIT"
] | null | null | null | tests/puzzle/test_solver.py | robin92/poetry | 7cc684981983963dc202e1a249a4b66667b468bd | [
"MIT"
] | null | null | null | tests/puzzle/test_solver.py | robin92/poetry | 7cc684981983963dc202e1a249a4b66667b468bd | [
"MIT"
] | null | null | null | from pathlib import Path
from typing import TYPE_CHECKING
from typing import Any
from typing import Dict
from typing import List
from typing import Optional
from typing import Type
import pytest
from cleo.io.null_io import NullIO
from poetry.core.packages.dependency import Dependency
from poetry.core.packages.package... | 29.487995 | 123 | 0.623589 | 10,720 | 90,882 | 5.035541 | 0.038246 | 0.081436 | 0.055242 | 0.097293 | 0.850873 | 0.820011 | 0.798614 | 0.761583 | 0.720198 | 0.701469 | 0 | 0.028346 | 0.224038 | 90,882 | 3,081 | 124 | 29.497566 | 0.737114 | 0.006063 | 0 | 0.650518 | 0 | 0.001656 | 0.124636 | 0.007751 | 0 | 0 | 0 | 0 | 0.033126 | 1 | 0.04058 | false | 0 | 0.015735 | 0.002899 | 0.060041 | 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 |
131823b7fef12579fb2e78d85e90a13d00cc8f0c | 60 | py | Python | app/check.py | zevaverbach/binary_quiz | cd230a60e71191e984336fc31b0ce9cee8932615 | [
"MIT"
] | null | null | null | app/check.py | zevaverbach/binary_quiz | cd230a60e71191e984336fc31b0ce9cee8932615 | [
"MIT"
] | null | null | null | app/check.py | zevaverbach/binary_quiz | cd230a60e71191e984336fc31b0ce9cee8932615 | [
"MIT"
] | null | null | null |
def check(binary_string):
return int(binary_string, 2)
| 15 | 32 | 0.733333 | 9 | 60 | 4.666667 | 0.777778 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02 | 0.166667 | 60 | 3 | 33 | 20 | 0.82 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
132879e39dac8130b423e45a1caae3dc5e260952 | 8,460 | py | Python | model.py | akkaze/tf2-unet | 552fba0d234a69a40c11447aff59fde2ddd11d29 | [
"MIT"
] | 1 | 2020-02-16T05:32:06.000Z | 2020-02-16T05:32:06.000Z | model.py | akkaze/tf2-unet | 552fba0d234a69a40c11447aff59fde2ddd11d29 | [
"MIT"
] | null | null | null | model.py | akkaze/tf2-unet | 552fba0d234a69a40c11447aff59fde2ddd11d29 | [
"MIT"
] | 2 | 2020-02-16T05:32:07.000Z | 2020-05-05T10:14:25.000Z | import numpy as np
from tensorflow.keras.models import *
from tensorflow.keras.layers import *
from tensorflow.keras import backend as keras
def unet(input_size=(64, 80, 1), num_classes=10, use_sep_conv=False, use_deconv=False):
inputs = Input(input_size)
if use_sep_conv:
conv1 = Conv2D(8, 1, padding=... | 54.935065 | 115 | 0.542553 | 795 | 8,460 | 5.633962 | 0.099371 | 0.105604 | 0.159411 | 0.262559 | 0.80777 | 0.793034 | 0.793034 | 0.717794 | 0.686537 | 0.671578 | 0 | 0.064419 | 0.33026 | 8,460 | 154 | 116 | 54.935065 | 0.726085 | 0 | 0 | 0.612245 | 0 | 0 | 0.084269 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.006803 | false | 0 | 0.027211 | 0 | 0.040816 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
135acf8fa84bc4acdada8d3618edd7b78229ed1b | 153 | py | Python | pdfbuilder/utils.py | VadimShmatov/pdfbuilder | a7db707dcf8979d123d35cbcbeaf7e7de37ca8aa | [
"MIT"
] | null | null | null | pdfbuilder/utils.py | VadimShmatov/pdfbuilder | a7db707dcf8979d123d35cbcbeaf7e7de37ca8aa | [
"MIT"
] | null | null | null | pdfbuilder/utils.py | VadimShmatov/pdfbuilder | a7db707dcf8979d123d35cbcbeaf7e7de37ca8aa | [
"MIT"
] | null | null | null | import random
import string
def random_string(length):
return ''.join(random.choice(string.ascii_uppercase + string.digits) for _ in range(length)) | 25.5 | 96 | 0.771242 | 21 | 153 | 5.47619 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.124183 | 153 | 6 | 96 | 25.5 | 0.858209 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
135fbf3da152dfa9377b2bc2ce0947176245fbb5 | 112 | py | Python | zisan/FileTools/__init__.py | JintuZheng/zisan | 84b30d1ee91754d4351841a2077c78146028adfc | [
"MIT"
] | 40 | 2020-02-14T07:03:16.000Z | 2022-03-07T10:52:18.000Z | zisan/FileTools/__init__.py | EpsilionJT/zisan | 84b30d1ee91754d4351841a2077c78146028adfc | [
"MIT"
] | 1 | 2021-09-04T07:40:26.000Z | 2021-09-04T14:51:03.000Z | zisan/FileTools/__init__.py | EpsilionJT/zisan | 84b30d1ee91754d4351841a2077c78146028adfc | [
"MIT"
] | 9 | 2020-02-24T01:08:11.000Z | 2021-12-15T07:35:14.000Z | from .tools import pngToJpg,plot_one_box,getFiles,add_roi,scaleTransfrom,get_random_files,newMatUC3,roi_cutPoint | 112 | 112 | 0.901786 | 17 | 112 | 5.588235 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009174 | 0.026786 | 112 | 1 | 112 | 112 | 0.862385 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
13cde924f804823c64751daca990f64c3697601e | 67 | py | Python | python_version/lessons/__init__.py | bojanbg/orbital-academy | e9c262dfb1681cd877855723a94dae58a57e34c5 | [
"MIT"
] | 1 | 2019-09-14T13:29:54.000Z | 2019-09-14T13:29:54.000Z | python_version/lessons/__init__.py | bojanbg/orbital-academy | e9c262dfb1681cd877855723a94dae58a57e34c5 | [
"MIT"
] | null | null | null | python_version/lessons/__init__.py | bojanbg/orbital-academy | e9c262dfb1681cd877855723a94dae58a57e34c5 | [
"MIT"
] | null | null | null | from lesson import *
from lesson_2 import *
from lesson_5 import *
| 16.75 | 22 | 0.776119 | 11 | 67 | 4.545455 | 0.454545 | 0.6 | 0.64 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.036364 | 0.179104 | 67 | 3 | 23 | 22.333333 | 0.872727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
13e6ced01722c11a8f9623ce3340360c143a43a0 | 33 | py | Python | rmtplot/__init__.py | schifzt/rmtplot-package | ad75d5ac8a3666e710ee46dfd06d3567c60c86e4 | [
"MIT"
] | null | null | null | rmtplot/__init__.py | schifzt/rmtplot-package | ad75d5ac8a3666e710ee46dfd06d3567c60c86e4 | [
"MIT"
] | null | null | null | rmtplot/__init__.py | schifzt/rmtplot-package | ad75d5ac8a3666e710ee46dfd06d3567c60c86e4 | [
"MIT"
] | null | null | null | from rmtplot.core import RMTplot
| 16.5 | 32 | 0.848485 | 5 | 33 | 5.6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 33 | 1 | 33 | 33 | 0.965517 | 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 |
13f2048c465d7bf78d346f1aab6effeebdc1e2c6 | 49 | py | Python | backintime/timeframes_candle/__init__.py | akim-mukhtarov/backtesting | 2d0491b919885eeddd62c4079c9c7292381cb4f9 | [
"MIT"
] | null | null | null | backintime/timeframes_candle/__init__.py | akim-mukhtarov/backtesting | 2d0491b919885eeddd62c4079c9c7292381cb4f9 | [
"MIT"
] | null | null | null | backintime/timeframes_candle/__init__.py | akim-mukhtarov/backtesting | 2d0491b919885eeddd62c4079c9c7292381cb4f9 | [
"MIT"
] | null | null | null | from .timeframes_candle import TimeframesCandle
| 24.5 | 48 | 0.877551 | 5 | 49 | 8.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102041 | 49 | 1 | 49 | 49 | 0.954545 | 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 |
b91d655a943929cca05ea72fa7a51a350c064ef9 | 101 | py | Python | src/big_torch/train/__init__.py | Denchidlo/big-torch | f5a65e6216e46e6d4fe98670c52618e4cccc8163 | [
"MIT"
] | null | null | null | src/big_torch/train/__init__.py | Denchidlo/big-torch | f5a65e6216e46e6d4fe98670c52618e4cccc8163 | [
"MIT"
] | 1 | 2021-11-21T13:11:31.000Z | 2021-11-22T00:18:29.000Z | src/big_torch/train/__init__.py | Denchidlo/big-torch | f5a65e6216e46e6d4fe98670c52618e4cccc8163 | [
"MIT"
] | null | null | null | from . import fabric
from . import frame_generators
from . import optimizers
from . import callbacks
| 20.2 | 30 | 0.80198 | 13 | 101 | 6.153846 | 0.538462 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.158416 | 101 | 4 | 31 | 25.25 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b94092451fbed8406989b4697eb5567b18a44218 | 16,074 | py | Python | components/efuse/test_efuse_host/efuse_tests.py | 123swk123/esp-idf | a117c94a27de3c4a49bf4b6bbc19b8eab7c9f972 | [
"Apache-2.0"
] | 12 | 2021-04-15T14:15:27.000Z | 2022-01-17T03:40:35.000Z | components/efuse/test_efuse_host/efuse_tests.py | 123swk123/esp-idf | a117c94a27de3c4a49bf4b6bbc19b8eab7c9f972 | [
"Apache-2.0"
] | 5 | 2020-04-30T03:47:19.000Z | 2021-03-31T02:10:11.000Z | components/efuse/test_efuse_host/efuse_tests.py | 123swk123/esp-idf | a117c94a27de3c4a49bf4b6bbc19b8eab7c9f972 | [
"Apache-2.0"
] | 13 | 2019-12-31T21:22:09.000Z | 2022-03-07T15:55:27.000Z | #!/usr/bin/env python
from __future__ import print_function, division
import unittest
import sys
try:
import efuse_table_gen
except ImportError:
sys.path.append("..")
import efuse_table_gen
'''
To run the test on local PC:
cd ~/esp/esp-idf/components/efuse/test_efuse_host/
./efuse_tests.py
'''
class P... | 47 | 124 | 0.513438 | 1,874 | 16,074 | 4.15048 | 0.080043 | 0.152353 | 0.16251 | 0.062998 | 0.834276 | 0.816148 | 0.789663 | 0.732193 | 0.715222 | 0.688866 | 0 | 0.054992 | 0.386836 | 16,074 | 341 | 125 | 47.13783 | 0.734172 | 0.011385 | 0 | 0.649819 | 0 | 0 | 0.509852 | 0.047013 | 0 | 0 | 0 | 0 | 0.33213 | 1 | 0.072202 | false | 0 | 0.021661 | 0 | 0.104693 | 0.00361 | 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 |
b9472508d4a7d71d06e12e198a2c8284021dd5f7 | 154 | py | Python | 32-inheritance/Chef.py | davwheat-bhasvic/btec-summer-work | fbf7fed6cb852fe72cbc55bb571aafbf7d34e13c | [
"MIT"
] | null | null | null | 32-inheritance/Chef.py | davwheat-bhasvic/btec-summer-work | fbf7fed6cb852fe72cbc55bb571aafbf7d34e13c | [
"MIT"
] | null | null | null | 32-inheritance/Chef.py | davwheat-bhasvic/btec-summer-work | fbf7fed6cb852fe72cbc55bb571aafbf7d34e13c | [
"MIT"
] | null | null | null | class Chef:
def make_chicken(self):
print("The chef makes chicken")
def make_special(self):
print("The chef makes a cottage pie") | 25.666667 | 45 | 0.642857 | 22 | 154 | 4.409091 | 0.590909 | 0.14433 | 0.247423 | 0.329897 | 0.43299 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25974 | 154 | 6 | 45 | 25.666667 | 0.850877 | 0 | 0 | 0 | 0 | 0 | 0.322581 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0 | 0 | 0.6 | 0.4 | 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 |
b950b4f97f3b15db7782b54c4df8a84bb2ec8fba | 294 | py | Python | agronet_be/AgronetApp/serializers/__init__.py | lauraC4MP0/Prueba-github | 291fc266fc0a8efc80ab36dd6eb4bff3e98e7c1f | [
"MIT"
] | 1 | 2021-10-06T00:39:08.000Z | 2021-10-06T00:39:08.000Z | agronet_be/AgronetApp/serializers/__init__.py | lauraC4MP0/Prueba-github | 291fc266fc0a8efc80ab36dd6eb4bff3e98e7c1f | [
"MIT"
] | null | null | null | agronet_be/AgronetApp/serializers/__init__.py | lauraC4MP0/Prueba-github | 291fc266fc0a8efc80ab36dd6eb4bff3e98e7c1f | [
"MIT"
] | 1 | 2021-10-03T13:39:31.000Z | 2021-10-03T13:39:31.000Z | from .citySerializer import CitySerializer
from .departamentSerializer import DepartamentSerializer
from .orderDetailSerializer import OrderDetailSerializer
from .orderSerializer import orderSerializer
from .productSerializer import ProductSerializer
from .userSerializer import UserSerializer
| 42 | 56 | 0.897959 | 24 | 294 | 11 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081633 | 294 | 6 | 57 | 49 | 0.977778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b9b97f103c772ef8fd9d8893f33b5d6829cac358 | 41 | py | Python | fan_tools/django/contrib/postgres/fields/__init__.py | micro-fan/fan_tools | 6e146ac4bf6fbe5119a03eb931498c45776a8928 | [
"MIT"
] | 1 | 2021-12-29T19:27:34.000Z | 2021-12-29T19:27:34.000Z | fan_tools/django/contrib/postgres/fields/__init__.py | micro-fan/fan_tools | 6e146ac4bf6fbe5119a03eb931498c45776a8928 | [
"MIT"
] | 1 | 2021-10-30T18:47:05.000Z | 2021-10-30T18:47:05.000Z | fan_tools/django/contrib/postgres/fields/__init__.py | micro-fan/fan_tools | 6e146ac4bf6fbe5119a03eb931498c45776a8928 | [
"MIT"
] | 8 | 2016-10-18T09:22:52.000Z | 2020-02-05T15:10:07.000Z | from .ltree import * # noqa: F401, F403
| 20.5 | 40 | 0.658537 | 6 | 41 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1875 | 0.219512 | 41 | 1 | 41 | 41 | 0.65625 | 0.390244 | 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 |
b9c9059d2b85055a43e81e610a003cdf0c85477f | 65,749 | py | Python | test/integration/component/test_portable_ip.py | schubergphilis/cloudstack | c4a69c27b127d503ae91a64aab45d7f954d3ca89 | [
"Apache-2.0"
] | 2 | 2015-02-10T07:21:58.000Z | 2021-05-07T08:52:17.000Z | test/integration/component/test_portable_ip.py | schubergphilis/cloudstack | c4a69c27b127d503ae91a64aab45d7f954d3ca89 | [
"Apache-2.0"
] | 2 | 2015-06-11T02:17:06.000Z | 2015-06-22T20:46:42.000Z | test/integration/component/test_portable_ip.py | schubergphilis/cloudstack | c4a69c27b127d503ae91a64aab45d7f954d3ca89 | [
"Apache-2.0"
] | 4 | 2015-05-25T15:53:52.000Z | 2018-05-23T14:08:07.000Z | # Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not u... | 42.861147 | 153 | 0.517088 | 5,845 | 65,749 | 5.723867 | 0.069461 | 0.05709 | 0.060079 | 0.027349 | 0.808136 | 0.780189 | 0.75553 | 0.722143 | 0.699546 | 0.680536 | 0 | 0.004194 | 0.405314 | 65,749 | 1,533 | 154 | 42.889106 | 0.851458 | 0.105948 | 0 | 0.715309 | 0 | 0 | 0.111411 | 0.001163 | 0 | 0 | 0 | 0 | 0.015219 | 1 | 0.042077 | false | 0.005372 | 0.007162 | 0 | 0.096688 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6a47f952111e4a2d0058c8565ccc47c85c688791 | 87 | py | Python | WEEKS/CD_Sata-Structures/_RESOURCES/python-prac/mini-scripts/Python_Variables_single_or_double_quotes.txt.py | webdevhub42/Lambda | b04b84fb5b82fe7c8b12680149e25ae0d27a0960 | [
"MIT"
] | 5 | 2021-06-02T23:44:25.000Z | 2021-12-27T16:21:57.000Z | WEEKS/CD_Sata-Structures/_RESOURCES/python-prac/mini-scripts/Python_Variables_single_or_double_quotes.txt.py | webdevhub42/Lambda | b04b84fb5b82fe7c8b12680149e25ae0d27a0960 | [
"MIT"
] | 22 | 2021-05-31T01:33:25.000Z | 2021-10-18T18:32:39.000Z | WEEKS/CD_Sata-Structures/_RESOURCES/python-prac/mini-scripts/Python_Variables_single_or_double_quotes.txt.py | webdevhub42/Lambda | b04b84fb5b82fe7c8b12680149e25ae0d27a0960 | [
"MIT"
] | 3 | 2021-06-19T03:37:47.000Z | 2021-08-31T00:49:51.000Z | x = "Sanu"
print(x)
# double quotes are the same as single quotes:
x = "Sanu"
print(x)
| 14.5 | 46 | 0.666667 | 16 | 87 | 3.625 | 0.625 | 0.172414 | 0.344828 | 0.37931 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.195402 | 87 | 5 | 47 | 17.4 | 0.828571 | 0.505747 | 0 | 1 | 0 | 0 | 0.195122 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
dbe5089cb402351335353878ecd16c097727254b | 36 | py | Python | pyxeljs/hello.py | cie/python | b953f5e9d159abe9bd865c9642595a37ac43661b | [
"CC-BY-4.0"
] | 1 | 2019-11-19T01:06:36.000Z | 2019-11-19T01:06:36.000Z | pyxeljs/hello.py | cie/python | b953f5e9d159abe9bd865c9642595a37ac43661b | [
"CC-BY-4.0"
] | 1 | 2020-05-07T22:09:11.000Z | 2020-05-08T06:52:10.000Z | pyxeljs/hello.py | cie/python | b953f5e9d159abe9bd865c9642595a37ac43661b | [
"CC-BY-4.0"
] | null | null | null | def __getattr__(sg):
return 12
| 9 | 20 | 0.666667 | 5 | 36 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074074 | 0.25 | 36 | 3 | 21 | 12 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
e02d4de961f703db1e4fe2be448354b10ce728d8 | 60,132 | py | Python | modules/unit_tests/s3/s3validators.py | aeturnum/new_eden | 01b603b2797dc5b3fa82d9ae32c23016c07c0f44 | [
"MIT"
] | null | null | null | modules/unit_tests/s3/s3validators.py | aeturnum/new_eden | 01b603b2797dc5b3fa82d9ae32c23016c07c0f44 | [
"MIT"
] | null | null | null | modules/unit_tests/s3/s3validators.py | aeturnum/new_eden | 01b603b2797dc5b3fa82d9ae32c23016c07c0f44 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
#
# Validators Unit Tests
#
# To run this script use:
# python web2py.py -S eden -M -R applications/eden/modules/unit_tests/s3/s3validators.py
#
import unittest
from gluon import current
from s3.s3datetime import S3Calendar, S3DefaultTZ
from s3.s3fields import *
from s3.s3validators import *
f... | 33.369589 | 90 | 0.54377 | 5,968 | 60,132 | 5.416555 | 0.090985 | 0.044856 | 0.050733 | 0.058003 | 0.819959 | 0.790355 | 0.742436 | 0.711594 | 0.670699 | 0.630607 | 0 | 0.057211 | 0.279984 | 60,132 | 1,801 | 91 | 33.388118 | 0.689209 | 0.170891 | 0 | 0.689623 | 0 | 0.003774 | 0.058272 | 0.00158 | 0 | 0 | 0 | 0.000555 | 0.335849 | 0 | null | null | 0.001887 | 0.006604 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e02faf90fbc7015e776997b2d40047ee3838ed1d | 47 | py | Python | python/testData/copyPaste/LineToPrev.src.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/copyPaste/LineToPrev.src.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/copyPaste/LineToPrev.src.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | print 1<selection>
print 2</selection>
print 3
| 11.75 | 19 | 0.765957 | 8 | 47 | 4.5 | 0.625 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.073171 | 0.12766 | 47 | 3 | 20 | 15.666667 | 0.804878 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
e04e04f347be90c95bb75cf3d26e0ba0c7745cda | 99 | py | Python | survtrace/__init__.py | RyanWangZf/SurvTRACE | d55299a28629d233f49ad1feaea7ed00835f0dd0 | [
"MIT"
] | 8 | 2021-10-01T22:39:41.000Z | 2022-03-30T05:46:40.000Z | survtrace/__init__.py | RyanWangZf/SurvTRACE | d55299a28629d233f49ad1feaea7ed00835f0dd0 | [
"MIT"
] | 4 | 2021-10-07T17:40:36.000Z | 2022-03-29T04:18:47.000Z | survtrace/__init__.py | RyanWangZf/SurvTRACE | d55299a28629d233f49ad1feaea7ed00835f0dd0 | [
"MIT"
] | 3 | 2022-03-09T13:46:36.000Z | 2022-03-16T16:11:54.000Z | from .evaluate_utils import Evaluator
from .train_utils import Trainer
from .config import STConfig | 33 | 37 | 0.858586 | 14 | 99 | 5.928571 | 0.642857 | 0.26506 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 99 | 3 | 38 | 33 | 0.943182 | 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 |
e0622b6aa86f10086394e43f322f5f5e7b51e23c | 172 | py | Python | tensorkit/gnn/adj/__init__.py | lizeyan/tensorkit | 2997a5914ec3c3ec72f91eb5906b5ee878fdc020 | [
"MIT"
] | null | null | null | tensorkit/gnn/adj/__init__.py | lizeyan/tensorkit | 2997a5914ec3c3ec72f91eb5906b5ee878fdc020 | [
"MIT"
] | null | null | null | tensorkit/gnn/adj/__init__.py | lizeyan/tensorkit | 2997a5914ec3c3ec72f91eb5906b5ee878fdc020 | [
"MIT"
] | null | null | null | """GCN utilities based on adjacency matrix graph."""
from .gcn_layers import *
from .tensor_ops import *
try:
from ._graph_tool import *
except ImportError:
pass
| 17.2 | 52 | 0.72093 | 23 | 172 | 5.217391 | 0.73913 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.19186 | 172 | 9 | 53 | 19.111111 | 0.863309 | 0.267442 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.166667 | 0.666667 | 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 |
0ec227416b9f2627f795a361836d2eb08586f1b7 | 76 | py | Python | vaetc/evaluation/metrics/predictor/__init__.py | ganmodokix/vaetc | 866b79677b4f06603203376d967989dedadbffae | [
"MIT"
] | null | null | null | vaetc/evaluation/metrics/predictor/__init__.py | ganmodokix/vaetc | 866b79677b4f06603203376d967989dedadbffae | [
"MIT"
] | null | null | null | vaetc/evaluation/metrics/predictor/__init__.py | ganmodokix/vaetc | 866b79677b4f06603203376d967989dedadbffae | [
"MIT"
] | null | null | null | from .ridgeway import ridgeway_explicitness
from .sap_score import sap_score | 38 | 43 | 0.881579 | 11 | 76 | 5.818182 | 0.545455 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.092105 | 76 | 2 | 44 | 38 | 0.927536 | 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 |
0eea4e011a3373d0a7d6712a702011d962e7de0f | 19,299 | py | Python | src/genie/libs/parser/nxos/show_rip.py | Drey/genieparser | f16649efabf1f3c892bcaad340ae24ce5403ba6b | [
"Apache-2.0"
] | null | null | null | src/genie/libs/parser/nxos/show_rip.py | Drey/genieparser | f16649efabf1f3c892bcaad340ae24ce5403ba6b | [
"Apache-2.0"
] | 1 | 2019-04-02T16:51:56.000Z | 2019-04-02T16:51:56.000Z | src/genie/libs/parser/nxos/show_rip.py | Drey/genieparser | f16649efabf1f3c892bcaad340ae24ce5403ba6b | [
"Apache-2.0"
] | 1 | 2021-01-29T17:31:33.000Z | 2021-01-29T17:31:33.000Z | """show_rip.py
NXOS parser class for below command(s):
show ip rip vrf all
"""
import xmltodict
import re
try:
from ats import tcl
except Exception:
pass
from genie.metaparser import MetaParser
from genie.metaparser.util.schemaengine import Schema, Any, Optional, Or, And, Default, Use
def regexp(express... | 36.005597 | 91 | 0.549407 | 1,980 | 19,299 | 5.313636 | 0.082323 | 0.066914 | 0.041821 | 0.054367 | 0.860755 | 0.844692 | 0.817698 | 0.81095 | 0.81095 | 0.81095 | 0 | 0.005014 | 0.348982 | 19,299 | 536 | 92 | 36.005597 | 0.832378 | 0.499041 | 0 | 0.416667 | 0 | 0 | 0.13055 | 0.015915 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0.005556 | 0.027778 | 0 | 0.344444 | 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 |
0ef9887264b04fa677070e72589d7cb0be5361b5 | 12,102 | py | Python | tests/test_patterns.py | pji/imggen | 173bd9e6aeba208d1e0f1ef74857c0d6d28530c7 | [
"MIT"
] | null | null | null | tests/test_patterns.py | pji/imggen | 173bd9e6aeba208d1e0f1ef74857c0d6d28530c7 | [
"MIT"
] | null | null | null | tests/test_patterns.py | pji/imggen | 173bd9e6aeba208d1e0f1ef74857c0d6d28530c7 | [
"MIT"
] | null | null | null | """
test_patterns
~~~~~~~~~~~~~
Unit tests for the imggen.patterns module.
"""
import numpy as np
from imggen import patterns as p
from tests.common import ArrayTestCase, SourceTestCase
# Test cases.
class BoxTestCase(SourceTestCase):
def test_fill(self):
"""Given a size, Solid.fill should return a volu... | 33.710306 | 70 | 0.484465 | 1,355 | 12,102 | 4.301845 | 0.154982 | 0.266255 | 0.358209 | 0.425459 | 0.760851 | 0.738892 | 0.724824 | 0.678676 | 0.527706 | 0.508664 | 0 | 0.237908 | 0.390101 | 12,102 | 358 | 71 | 33.804469 | 0.551822 | 0.160304 | 0 | 0.615702 | 0 | 0 | 0.014867 | 0 | 0 | 0 | 0.276699 | 0 | 0 | 1 | 0.045455 | false | 0 | 0.012397 | 0 | 0.099174 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 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 |
1632e1fc69e55b6db6eca54d617779b428d114cc | 124 | py | Python | test_import.py | momocus/narou-recommender | 178e8a7cb5da9b5b3cfdbc473ce529d50a0bba5b | [
"Apache-2.0"
] | null | null | null | test_import.py | momocus/narou-recommender | 178e8a7cb5da9b5b3cfdbc473ce529d50a0bba5b | [
"Apache-2.0"
] | 3 | 2019-12-30T17:37:44.000Z | 2020-01-02T09:45:44.000Z | test_import.py | momocus/narou-recommender | 178e8a7cb5da9b5b3cfdbc473ce529d50a0bba5b | [
"Apache-2.0"
] | null | null | null | import bookmark # noqa
import narou # noqa
def test_success() -> None:
assert True
| 17.714286 | 38 | 0.5 | 12 | 124 | 5.083333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.443548 | 124 | 6 | 39 | 20.666667 | 0.884058 | 0.072581 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.25 | true | 0 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
164b9892315c61fcdb4489b2dc30de0e1cf3dcf2 | 10,072 | py | Python | tests/test_github.py | locriandev/ocp-build-data-validator | 66c8e7a37fc48af1bdb125c000e842b5c6ed536d | [
"Apache-2.0"
] | 1 | 2020-05-20T10:08:10.000Z | 2020-05-20T10:08:10.000Z | tests/test_github.py | locriandev/ocp-build-data-validator | 66c8e7a37fc48af1bdb125c000e842b5c6ed536d | [
"Apache-2.0"
] | 51 | 2019-10-08T09:55:38.000Z | 2022-03-28T08:08:15.000Z | tests/test_github.py | locriandev/ocp-build-data-validator | 66c8e7a37fc48af1bdb125c000e842b5c6ed536d | [
"Apache-2.0"
] | 18 | 2019-10-07T11:59:48.000Z | 2021-12-10T11:00:57.000Z | import unittest
from flexmock import flexmock
from validator import github
class TestGitHub(unittest.TestCase):
def setUp(self):
(flexmock(github.support)
.should_receive('resource_exists')
.and_return(True))
def test_no_declared_repository(self):
(url, err) = github.... | 34.493151 | 79 | 0.437649 | 834 | 10,072 | 5.148681 | 0.116307 | 0.092222 | 0.117373 | 0.095016 | 0.867024 | 0.810899 | 0.800186 | 0.800186 | 0.77224 | 0.761993 | 0 | 0.00516 | 0.422756 | 10,072 | 291 | 80 | 34.611684 | 0.733402 | 0 | 0 | 0.599222 | 0 | 0 | 0.2639 | 0.004567 | 0 | 0 | 0 | 0 | 0.085603 | 1 | 0.046693 | false | 0 | 0.011673 | 0 | 0.062257 | 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 |
169c93c563140a35181abe42e594070aeb1f8236 | 16,288 | py | Python | tests/integration/test_pr_comment.py | nikromen/packit-service | 04be15478e79504c2e408d9bc65667182ffa2801 | [
"MIT"
] | null | null | null | tests/integration/test_pr_comment.py | nikromen/packit-service | 04be15478e79504c2e408d9bc65667182ffa2801 | [
"MIT"
] | null | null | null | tests/integration/test_pr_comment.py | nikromen/packit-service | 04be15478e79504c2e408d9bc65667182ffa2801 | [
"MIT"
] | null | null | null | # Copyright Contributors to the Packit project.
# SPDX-License-Identifier: MIT
import json
from typing import List
import pytest
from celery.canvas import Signature
from flexmock import flexmock
from github import Github
from ogr.services.github import GithubProject
from packit.config import JobConfigTriggerType
fro... | 34.508475 | 88 | 0.689342 | 1,867 | 16,288 | 5.668988 | 0.1173 | 0.050359 | 0.019652 | 0.041761 | 0.815382 | 0.777211 | 0.756708 | 0.727891 | 0.710979 | 0.699358 | 0 | 0.005511 | 0.197937 | 16,288 | 471 | 89 | 34.581741 | 0.804577 | 0.004543 | 0 | 0.57767 | 0 | 0 | 0.161212 | 0.028256 | 0 | 0 | 0 | 0 | 0.024272 | 1 | 0.043689 | false | 0 | 0.053398 | 0.01699 | 0.114078 | 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 |
bc56526248fde2e38ac876fa499f8e2666966c90 | 50 | py | Python | routesimilarity/__init__.py | shkr/routesimilarity | e9e2a974b67e5b9f1482fee0ed3853691feac2d1 | [
"MIT"
] | null | null | null | routesimilarity/__init__.py | shkr/routesimilarity | e9e2a974b67e5b9f1482fee0ed3853691feac2d1 | [
"MIT"
] | null | null | null | routesimilarity/__init__.py | shkr/routesimilarity | e9e2a974b67e5b9f1482fee0ed3853691feac2d1 | [
"MIT"
] | null | null | null | from .directed_hausdorff import directed_hausdorff | 50 | 50 | 0.92 | 6 | 50 | 7.333333 | 0.666667 | 0.772727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.06 | 50 | 1 | 50 | 50 | 0.93617 | 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 |
bc718ff04af724e984c2adf24b6cb10b1e3df682 | 41 | py | Python | ssd/modeling/detector/__init__.py | tkhe/ssd-family | a797ec36fda59549aff54419c105813c33d8cdd3 | [
"MIT"
] | 1 | 2019-07-12T02:21:24.000Z | 2019-07-12T02:21:24.000Z | ssd/modeling/detector/__init__.py | tkhe/ssd-family | a797ec36fda59549aff54419c105813c33d8cdd3 | [
"MIT"
] | 3 | 2021-06-08T21:36:05.000Z | 2022-03-12T00:30:57.000Z | ssd/modeling/detector/__init__.py | tkhe/ssd-family | a797ec36fda59549aff54419c105813c33d8cdd3 | [
"MIT"
] | 1 | 2020-08-12T15:02:17.000Z | 2020-08-12T15:02:17.000Z | from .build import build_detection_model
| 20.5 | 40 | 0.878049 | 6 | 41 | 5.666667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097561 | 41 | 1 | 41 | 41 | 0.918919 | 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 |
bcbc611be495cd0413484dbb1b376e3b5fa533f3 | 30 | py | Python | trial_launchpad/__init__.py | aierh/autoML | 8e31966edf6de2c223d5eeb6cd4b4dbd6ddbbf77 | [
"MIT"
] | 185 | 2019-12-26T12:41:53.000Z | 2020-09-18T06:22:32.000Z | trial_launchpad/__init__.py | aierh/autoML | 8e31966edf6de2c223d5eeb6cd4b4dbd6ddbbf77 | [
"MIT"
] | 8 | 2020-02-25T19:32:22.000Z | 2020-09-18T06:17:48.000Z | trial_launchpad/__init__.py | aierh/autoML | 8e31966edf6de2c223d5eeb6cd4b4dbd6ddbbf77 | [
"MIT"
] | 27 | 2019-12-26T15:02:47.000Z | 2020-09-08T21:24:54.000Z | from .launcher import Launcher | 30 | 30 | 0.866667 | 4 | 30 | 6.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 30 | 1 | 30 | 30 | 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 |
4c0a6e8b6c59e7c55ae4125a471635061df67e54 | 272 | py | Python | pylgmath/__init__.py | utiasASRL/pylgmath | b392f9960c2b12758bd05a639966f161240282cb | [
"BSD-3-Clause"
] | 3 | 2021-11-11T17:54:35.000Z | 2021-12-09T01:44:16.000Z | pylgmath/__init__.py | utiasASRL/pylgmath | b392f9960c2b12758bd05a639966f161240282cb | [
"BSD-3-Clause"
] | null | null | null | pylgmath/__init__.py | utiasASRL/pylgmath | b392f9960c2b12758bd05a639966f161240282cb | [
"BSD-3-Clause"
] | null | null | null | from .common import operations as cmnop
from .so3 import operations as so3op
from .se3 import operations as se3op
from .so3.rotation import Rotation
from .se3.transformation import Transformation
from .se3.transformation_with_covariance import TransformationWithCovariance | 45.333333 | 76 | 0.860294 | 35 | 272 | 6.628571 | 0.428571 | 0.206897 | 0.232759 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028807 | 0.106618 | 272 | 6 | 76 | 45.333333 | 0.925926 | 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 |
4c4a6147125c8df46b7a768ee1c85eb44c9f27ee | 11,961 | py | Python | basis_pursuit/algorithms.py | ymalitsky/coo-pda | 8b604c1b2927d3f0f9adb49f2d09f88481e5d734 | [
"MIT"
] | null | null | null | basis_pursuit/algorithms.py | ymalitsky/coo-pda | 8b604c1b2927d3f0f9adb49f2d09f88481e5d734 | [
"MIT"
] | null | null | null | basis_pursuit/algorithms.py | ymalitsky/coo-pda | 8b604c1b2927d3f0f9adb49f2d09f88481e5d734 | [
"MIT"
] | null | null | null | # This module contains implementation of the primal-dual algorithm and itc coordinate extensions for the basis pursuit problem.
import numpy as np
import scipy.linalg as LA
from time import process_time, time
from numba import jit, vectorize
from prox_numba import prox_l1
from utils import subdif_gap
def pd_basis_p... | 31.229765 | 127 | 0.559569 | 1,800 | 11,961 | 3.630556 | 0.122778 | 0.01469 | 0.011783 | 0.012242 | 0.786534 | 0.777353 | 0.742464 | 0.708493 | 0.704361 | 0.693344 | 0 | 0.013166 | 0.295126 | 11,961 | 382 | 128 | 31.311518 | 0.76195 | 0.446869 | 0 | 0.756906 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.038674 | false | 0 | 0.033149 | 0 | 0.110497 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4c6a875246e66d3b5b7255029e8040bb99befebc | 97 | py | Python | podium/experimental/model_selection/__init__.py | TakeLab/podium | 11ef32d889e483d4d77a44b61e0b5da956ee3a54 | [
"BSD-3-Clause"
] | 51 | 2021-03-19T14:14:31.000Z | 2022-02-18T00:42:51.000Z | podium/experimental/model_selection/__init__.py | TakeLab/podium | 11ef32d889e483d4d77a44b61e0b5da956ee3a54 | [
"BSD-3-Clause"
] | 9 | 2021-03-31T15:39:28.000Z | 2021-04-16T13:28:15.000Z | podium/experimental/model_selection/__init__.py | TakeLab/podium | 11ef32d889e483d4d77a44b61e0b5da956ee3a54 | [
"BSD-3-Clause"
] | 1 | 2021-07-26T04:54:18.000Z | 2021-07-26T04:54:18.000Z | """
This package contains model selection methods.
"""
from .model_selection import grid_search
| 16.166667 | 46 | 0.783505 | 12 | 97 | 6.166667 | 0.833333 | 0.378378 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.134021 | 97 | 5 | 47 | 19.4 | 0.880952 | 0.474227 | 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 |
4c6fa9025f800fa55b1eb5f94cb0a045d6fe5157 | 37 | py | Python | dev/pyposmat/analysis/GaussianMixtureModel/dev__manifold_analysis.py | eragasa/pypospack | 21cdecaf3b05c87acc532d992be2c04d85bfbc22 | [
"MIT"
] | 4 | 2018-01-18T19:59:56.000Z | 2020-08-25T11:56:52.000Z | dev/pyposmat/analysis/GaussianMixtureModel/dev__manifold_analysis.py | eragasa/pypospack | 21cdecaf3b05c87acc532d992be2c04d85bfbc22 | [
"MIT"
] | 1 | 2018-04-22T23:02:13.000Z | 2018-04-22T23:02:13.000Z | dev/pyposmat/analysis/GaussianMixtureModel/dev__manifold_analysis.py | eragasa/pypospack | 21cdecaf3b05c87acc532d992be2c04d85bfbc22 | [
"MIT"
] | 1 | 2019-09-14T07:04:42.000Z | 2019-09-14T07:04:42.000Z | import os
import manifold_analysis
| 7.4 | 24 | 0.837838 | 5 | 37 | 6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162162 | 37 | 4 | 25 | 9.25 | 0.967742 | 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 |
d5ef5642b91defe0662565c1816c2b66293b045c | 111 | py | Python | chapter_2/strings/name.py | ieonsii/python-crash-course.2nd | 88e345ed26603c750c1d632da2b2e72fdddc26b7 | [
"MIT"
] | null | null | null | chapter_2/strings/name.py | ieonsii/python-crash-course.2nd | 88e345ed26603c750c1d632da2b2e72fdddc26b7 | [
"MIT"
] | null | null | null | chapter_2/strings/name.py | ieonsii/python-crash-course.2nd | 88e345ed26603c750c1d632da2b2e72fdddc26b7 | [
"MIT"
] | null | null | null | name = "chirstal quioco"
print(name.title())
name = "Chirstal Quioco"
print(name.lower())
print(name.upper())
| 15.857143 | 24 | 0.702703 | 15 | 111 | 5.2 | 0.466667 | 0.346154 | 0.461538 | 0.589744 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 111 | 6 | 25 | 18.5 | 0.787879 | 0 | 0 | 0 | 0 | 0 | 0.27027 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.6 | 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 | 0 | 1 | 0 | 6 |
912fe428f22923327e62a0b9bb87cb7d637a4ccc | 24,963 | py | Python | im2scene/giraffe/rendering.py | JoseMAbril/Proyecto_AML | b1ef319bf9e27e70be6e6424a0d1ba4790a45a3a | [
"MIT"
] | null | null | null | im2scene/giraffe/rendering.py | JoseMAbril/Proyecto_AML | b1ef319bf9e27e70be6e6424a0d1ba4790a45a3a | [
"MIT"
] | null | null | null | im2scene/giraffe/rendering.py | JoseMAbril/Proyecto_AML | b1ef319bf9e27e70be6e6424a0d1ba4790a45a3a | [
"MIT"
] | null | null | null | import torch
import numpy as np
from im2scene.common import interpolate_sphere
from torchvision.utils import save_image, make_grid
import imageio
from math import sqrt
from os import makedirs
from os.path import join
class Renderer(object):
''' Render class for GIRAFFE.
It provides functions to render the r... | 38.642415 | 100 | 0.548412 | 3,378 | 24,963 | 3.736827 | 0.062463 | 0.06203 | 0.025351 | 0.027014 | 0.83229 | 0.817238 | 0.798384 | 0.757031 | 0.72566 | 0.72154 | 0 | 0.029658 | 0.34491 | 24,963 | 645 | 101 | 38.702326 | 0.742249 | 0.033129 | 0 | 0.632887 | 0 | 0 | 0.028222 | 0.00744 | 0 | 0 | 0 | 0 | 0 | 1 | 0.030593 | false | 0 | 0.015296 | 0 | 0.047801 | 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 |
913b5adf5329077dfc7ae8a5ebdcc74959753ddc | 182 | py | Python | tests/foo.py | DimaOrekhov/hydra-slayer | cfa084c44a1ee5f01ff68445660c1ba137333cb8 | [
"Apache-2.0"
] | null | null | null | tests/foo.py | DimaOrekhov/hydra-slayer | cfa084c44a1ee5f01ff68445660c1ba137333cb8 | [
"Apache-2.0"
] | null | null | null | tests/foo.py | DimaOrekhov/hydra-slayer | cfa084c44a1ee5f01ff68445660c1ba137333cb8 | [
"Apache-2.0"
] | null | null | null | # flake8: noqa
__all__ = ["foo"]
def foo(a, b):
"""Docs? Contribution is welcome."""
return {"a": a, "b": b}
def bar():
"""Docs? Contribution is welcome."""
pass
| 14 | 40 | 0.538462 | 24 | 182 | 3.916667 | 0.583333 | 0.042553 | 0.382979 | 0.531915 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007299 | 0.247253 | 182 | 12 | 41 | 15.166667 | 0.678832 | 0.412088 | 0 | 0 | 0 | 0 | 0.052083 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0.2 | 0 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
e68e333ff3dcae392dde1cbcde35c3163a43f629 | 96 | py | Python | venv/lib/python3.8/site-packages/urllib3/packages/ssl_match_hostname/__init__.py | GiulianaPola/select_repeats | 17a0d053d4f874e42cf654dd142168c2ec8fbd11 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/pip/_vendor/urllib3/packages/ssl_match_hostname/__init__.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/pip/_vendor/urllib3/packages/ssl_match_hostname/__init__.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/65/53/30/0a41f1fa9cbc111b31c4cdc897e322444664b55fbc88b06609f4511c8e | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.447917 | 0 | 96 | 1 | 96 | 96 | 0.447917 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e68fc7e7dc1a4be2e53b3ad34a7fe24fab7de783 | 26,519 | py | Python | obsidion/core/utils/predicates.py | Darkflame72/Minecraft-Discord | 4e701df9820d18c9f2b8a4863145e2af36729505 | [
"MIT"
] | 1 | 2020-02-29T22:37:01.000Z | 2020-02-29T22:37:01.000Z | obsidion/core/utils/predicates.py | Darkflame72/Minecraft-Discord | 4e701df9820d18c9f2b8a4863145e2af36729505 | [
"MIT"
] | 1 | 2020-03-27T05:49:37.000Z | 2020-03-27T05:51:25.000Z | obsidion/core/utils/predicates.py | Darkflame72/Minecraft-Discord | 4e701df9820d18c9f2b8a4863145e2af36729505 | [
"MIT"
] | 1 | 2020-03-27T05:53:17.000Z | 2020-03-27T05:53:17.000Z | import re
from typing import Any
from typing import Callable
from typing import cast
from typing import Optional
from typing import Pattern
from typing import Sequence
from typing import Union
import discord
from discord.ext import commands
_ID_RE = re.compile(r"([0-9]{15,21})$")
_USER_MENTION_RE = re.compile(r"<@!?(... | 31.383432 | 85 | 0.561974 | 2,857 | 26,519 | 5.143507 | 0.073154 | 0.078598 | 0.036747 | 0.06247 | 0.792651 | 0.766451 | 0.758149 | 0.758149 | 0.7131 | 0.707996 | 0 | 0.001578 | 0.330744 | 26,519 | 844 | 86 | 31.420616 | 0.826403 | 0.381877 | 0 | 0.700549 | 0 | 0 | 0.036533 | 0.002026 | 0 | 0 | 0 | 0 | 0 | 1 | 0.093407 | false | 0 | 0.027473 | 0.002747 | 0.282967 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e6a404f833dde7d088518986d96fb8e10223c4b6 | 23 | py | Python | __init__.py | gil-cohen/portfolio | b0b53cbed4cc09430be1827cc3cc28837daab1a4 | [
"MIT"
] | null | null | null | __init__.py | gil-cohen/portfolio | b0b53cbed4cc09430be1827cc3cc28837daab1a4 | [
"MIT"
] | null | null | null | __init__.py | gil-cohen/portfolio | b0b53cbed4cc09430be1827cc3cc28837daab1a4 | [
"MIT"
] | null | null | null | from . import portfolio | 23 | 23 | 0.826087 | 3 | 23 | 6.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 23 | 1 | 23 | 23 | 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 |
e6becb5b90c0bd1324c67bb3d2147465aa94d75f | 24 | py | Python | pydoku/__init__.py | marstr/pydoku | 205652355f07b88660b1c26ba18b8c17573f5699 | [
"MIT"
] | 1 | 2020-07-31T16:00:14.000Z | 2020-07-31T16:00:14.000Z | pydoku/__init__.py | marstr/pydoku | 205652355f07b88660b1c26ba18b8c17573f5699 | [
"MIT"
] | 5 | 2021-03-19T04:38:06.000Z | 2021-09-22T19:10:42.000Z | pydoku/__init__.py | marstr/pydoku | 205652355f07b88660b1c26ba18b8c17573f5699 | [
"MIT"
] | null | null | null | from .board import Board | 24 | 24 | 0.833333 | 4 | 24 | 5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 24 | 1 | 24 | 24 | 0.952381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e6cf3bf7688a03911344891204e3e195c48e672a | 119 | py | Python | src/Other/job.py | FashtimeDotCom/hongkong.marksix | 6e62f79ae556e8c35ec145443e646b5082c68cc5 | [
"Apache-2.0"
] | 8 | 2020-12-13T10:27:20.000Z | 2022-03-21T08:22:07.000Z | src/Other/job.py | FashtimeDotCom/hongkong.marksix | 6e62f79ae556e8c35ec145443e646b5082c68cc5 | [
"Apache-2.0"
] | null | null | null | src/Other/job.py | FashtimeDotCom/hongkong.marksix | 6e62f79ae556e8c35ec145443e646b5082c68cc5 | [
"Apache-2.0"
] | 12 | 2020-12-15T07:49:00.000Z | 2022-03-06T15:52:59.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
class Job:
def __init__(self, job_id):
self.job_id = job_id
| 17 | 31 | 0.588235 | 19 | 119 | 3.315789 | 0.684211 | 0.238095 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010989 | 0.235294 | 119 | 6 | 32 | 19.833333 | 0.681319 | 0.352941 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
e6da265b393e2f84cb4affd69a0516b47754b7ef | 340 | py | Python | src/UQpy/surrogates/kriging/regression_models/__init__.py | SURGroup/UncertaintyQuantification | a94c8db47d07134ea2b3b0a3ca53ca818532c3e6 | [
"MIT"
] | null | null | null | src/UQpy/surrogates/kriging/regression_models/__init__.py | SURGroup/UncertaintyQuantification | a94c8db47d07134ea2b3b0a3ca53ca818532c3e6 | [
"MIT"
] | null | null | null | src/UQpy/surrogates/kriging/regression_models/__init__.py | SURGroup/UncertaintyQuantification | a94c8db47d07134ea2b3b0a3ca53ca818532c3e6 | [
"MIT"
] | null | null | null | from UQpy.surrogates.kriging.regression_models.baseclass import *
from UQpy.surrogates.kriging.regression_models.ConstantRegression import ConstantRegression
from UQpy.surrogates.kriging.regression_models.LinearRegression import LinearRegression
from UQpy.surrogates.kriging.regression_models.QuadraticRegression import ... | 68 | 93 | 0.902941 | 35 | 340 | 8.657143 | 0.314286 | 0.105611 | 0.237624 | 0.330033 | 0.541254 | 0.541254 | 0 | 0 | 0 | 0 | 0 | 0 | 0.047059 | 340 | 4 | 94 | 85 | 0.935185 | 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 |
fc226fae8a1520ac7eae24cb7db328cd939c2aa8 | 32 | py | Python | dblab/__init__.py | CampusJob/dblab | 81d59e5c298a85c210aee35e88c276247583d429 | [
"Apache-2.0"
] | null | null | null | dblab/__init__.py | CampusJob/dblab | 81d59e5c298a85c210aee35e88c276247583d429 | [
"Apache-2.0"
] | null | null | null | dblab/__init__.py | CampusJob/dblab | 81d59e5c298a85c210aee35e88c276247583d429 | [
"Apache-2.0"
] | null | null | null |
from .dblab import DatabaseLab
| 10.666667 | 30 | 0.8125 | 4 | 32 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15625 | 32 | 2 | 31 | 16 | 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 |
fc67a8c8306a4b6e3af5548b78d10840975e3822 | 80 | py | Python | cursoemvideo/aula17.py | victorcunha94/curso_em_video_python | ba1673d506a983f8630c88abf4845aa2bd1a81ea | [
"MIT"
] | null | null | null | cursoemvideo/aula17.py | victorcunha94/curso_em_video_python | ba1673d506a983f8630c88abf4845aa2bd1a81ea | [
"MIT"
] | null | null | null | cursoemvideo/aula17.py | victorcunha94/curso_em_video_python | ba1673d506a983f8630c88abf4845aa2bd1a81ea | [
"MIT"
] | null | null | null | a = [2, 4, 6, 8]
b = a[:]
b[2] = 10
print(f'Lista A:{a}')
print(f'Lista B:{b}')
| 13.333333 | 21 | 0.4625 | 20 | 80 | 1.85 | 0.5 | 0.324324 | 0.594595 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.109375 | 0.2 | 80 | 5 | 22 | 16 | 0.46875 | 0 | 0 | 0 | 0 | 0 | 0.275 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.4 | 1 | 0 | 1 | null | 1 | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5db227b0182a12715da888f0d2bb94c7dcb9c538 | 1,882 | py | Python | audi/apps/common/handlers.py | sangwonl/audi | 92dd28fc39a81d9aa623501547db586050af844e | [
"MIT"
] | null | null | null | audi/apps/common/handlers.py | sangwonl/audi | 92dd28fc39a81d9aa623501547db586050af844e | [
"MIT"
] | 3 | 2015-11-01T15:22:18.000Z | 2015-11-01T15:25:33.000Z | audi/apps/common/handlers.py | sangwonl/audi | 92dd28fc39a81d9aa623501547db586050af844e | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from audi.core.handlers.base import BaseHandler
class RobotsHandler(BaseHandler):
def get(self):
params = {
'scheme': self.request.scheme,
'host': self.request.host,
}
self.response.headers['Content-Type'] = 'text/plain'
def set_vari... | 31.898305 | 121 | 0.599894 | 210 | 1,882 | 5.338095 | 0.233333 | 0.078501 | 0.06066 | 0.074933 | 0.833185 | 0.833185 | 0.833185 | 0.833185 | 0.833185 | 0.833185 | 0 | 0.000702 | 0.242827 | 1,882 | 58 | 122 | 32.448276 | 0.785965 | 0.011158 | 0 | 0.682927 | 0 | 0 | 0.182894 | 0.091447 | 0 | 0 | 0 | 0 | 0 | 1 | 0.195122 | false | 0 | 0.02439 | 0.097561 | 0.414634 | 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 |
5dbee893346c418babd061587efcbb35644947c3 | 42 | py | Python | mc/db/__init__.py | aspuru-guzik-group/mission_control | bfe930e1038e9e0d6c4bb327474766e85b2190cb | [
"Apache-2.0"
] | 3 | 2017-09-01T19:49:59.000Z | 2018-06-04T10:30:01.000Z | mc/db/__init__.py | aspuru-guzik-group/mission_control | bfe930e1038e9e0d6c4bb327474766e85b2190cb | [
"Apache-2.0"
] | null | null | null | mc/db/__init__.py | aspuru-guzik-group/mission_control | bfe930e1038e9e0d6c4bb327474766e85b2190cb | [
"Apache-2.0"
] | 1 | 2018-12-13T19:48:27.000Z | 2018-12-13T19:48:27.000Z | """ Database/persistence abstractions."""
| 21 | 41 | 0.738095 | 3 | 42 | 10.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 42 | 1 | 42 | 42 | 0.794872 | 0.809524 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5dcc2a510888f4d06e9072bbe4168eaaafb792cf | 17,285 | py | Python | fetcher/apr_fetchers/snowball_fetcher.py | Avalanche-FR-community/apr-fetcher | 25b12e8fe3da4a7ee678017b80dabc07990144f8 | [
"MIT"
] | null | null | null | fetcher/apr_fetchers/snowball_fetcher.py | Avalanche-FR-community/apr-fetcher | 25b12e8fe3da4a7ee678017b80dabc07990144f8 | [
"MIT"
] | null | null | null | fetcher/apr_fetchers/snowball_fetcher.py | Avalanche-FR-community/apr-fetcher | 25b12e8fe3da4a7ee678017b80dabc07990144f8 | [
"MIT"
] | null | null | null | from typing import Dict, List, Tuple, Union
import requests
from web3.main import Web3
from .pangolinv2_fetcher import PangolinV2APRFetcher
from .traderjoe_fetcher import TraderjoeAPRFetcher
from .lydia_fetcher import LydiaAPRFetcher
from .axial_fetcher import AxialAPRFetcher
from ..utils.utils import calculate_lp_to... | 163.066038 | 6,346 | 0.662308 | 1,697 | 17,285 | 6.639364 | 0.129641 | 0.069229 | 0.100648 | 0.104553 | 0.752197 | 0.725126 | 0.706399 | 0.640543 | 0.629981 | 0.598651 | 0 | 0.021192 | 0.063639 | 17,285 | 105 | 6,347 | 164.619048 | 0.674946 | 0.023199 | 0 | 0.054795 | 0 | 0.027397 | 0.76611 | 0.754233 | 0 | 0 | 0.002558 | 0 | 0 | 1 | 0.09589 | false | 0 | 0.164384 | 0.041096 | 0.356164 | 0.013699 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5df52dfede6cd41f53ace70176bc285faccfe8cc | 88,400 | py | Python | code/plots.py | Sandalmoth/dual-adaptation | 1052b47dbd3c473c406bb72d9ecd0693ca0c1f80 | [
"Zlib"
] | null | null | null | code/plots.py | Sandalmoth/dual-adaptation | 1052b47dbd3c473c406bb72d9ecd0693ca0c1f80 | [
"Zlib"
] | null | null | null | code/plots.py | Sandalmoth/dual-adaptation | 1052b47dbd3c473c406bb72d9ecd0693ca0c1f80 | [
"Zlib"
] | null | null | null | """
All kinds of plotting
- abcdiag: abc diagnostics
"""
import copy
import csv
import click
import h5py
import matplotlib.cm as cm
import matplotlib.gridspec as gridspec
from matplotlib import pyplot as plt
from matplotlib.backends.backend_pdf import PdfPages
import numpy as np
from pyabc import History
from scipy.... | 36.363636 | 169 | 0.609751 | 11,803 | 88,400 | 4.346014 | 0.045751 | 0.072598 | 0.031932 | 0.011365 | 0.833476 | 0.796534 | 0.759338 | 0.729219 | 0.704948 | 0.673581 | 0 | 0.018003 | 0.239072 | 88,400 | 2,430 | 170 | 36.378601 | 0.744581 | 0.183235 | 0 | 0.622355 | 0 | 0 | 0.122503 | 0.02023 | 0 | 0 | 0 | 0 | 0.000661 | 1 | 0.018519 | false | 0.001323 | 0.009259 | 0.005291 | 0.037037 | 0.018519 | 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 |
5d080b09c9aa6ae426f0d0873389df83219ecebc | 5,451 | py | Python | test/test_em_framework/test_outcomes.py | brodderickrodriguez/EMAworkbench | 90031223a4b6feb49633d45816e20981dc9415a0 | [
"BSD-3-Clause"
] | 75 | 2015-01-14T20:39:14.000Z | 2022-03-31T09:28:15.000Z | test/test_em_framework/test_outcomes.py | brodderickrodriguez/EMAworkbench | 90031223a4b6feb49633d45816e20981dc9415a0 | [
"BSD-3-Clause"
] | 92 | 2015-01-15T16:12:38.000Z | 2022-03-23T20:46:37.000Z | test/test_em_framework/test_outcomes.py | brodderickrodriguez/EMAworkbench | 90031223a4b6feb49633d45816e20981dc9415a0 | [
"BSD-3-Clause"
] | 64 | 2015-02-16T15:07:12.000Z | 2022-03-23T16:17:16.000Z | '''
Created on Jul 28, 2015
.. codeauthor:: jhkwakkel <j.h.kwakkel (at) tudelft (dot) nl>
'''
from __future__ import (division, print_function, absolute_import,
unicode_literals)
import unittest
import unittest.mock as mock
from ema_workbench.em_framework.outcomes import ScalarOutcome,\
T... | 33.237805 | 72 | 0.549807 | 512 | 5,451 | 5.666016 | 0.142578 | 0.091003 | 0.088245 | 0.110307 | 0.794209 | 0.775595 | 0.765943 | 0.758704 | 0.719062 | 0.686315 | 0 | 0.010842 | 0.356999 | 5,451 | 164 | 73 | 33.237805 | 0.816833 | 0.015777 | 0 | 0.773109 | 0 | 0 | 0.035274 | 0 | 0 | 0 | 0 | 0 | 0.235294 | 1 | 0.02521 | false | 0 | 0.033613 | 0 | 0.109244 | 0.008403 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5d0da1efd7badc48cd44d9b7eb9bba157b0225d0 | 186 | py | Python | anaconda-verify/run_test.py | nikicc/anaconda-recipes | 9c611a5854bf41bbc5e7ed9853dc71c0851a62ef | [
"BSD-3-Clause"
] | 130 | 2015-07-28T03:41:21.000Z | 2022-03-16T03:07:41.000Z | anaconda-verify/run_test.py | nikicc/anaconda-recipes | 9c611a5854bf41bbc5e7ed9853dc71c0851a62ef | [
"BSD-3-Clause"
] | 119 | 2015-08-01T00:54:06.000Z | 2021-01-05T13:00:46.000Z | anaconda-verify/run_test.py | nikicc/anaconda-recipes | 9c611a5854bf41bbc5e7ed9853dc71c0851a62ef | [
"BSD-3-Clause"
] | 72 | 2015-07-29T02:35:56.000Z | 2022-02-26T14:31:15.000Z | from anaconda_verify import __version__
from anaconda_verify.package import CondaPackageCheck
assert CondaPackageCheck.no_easy_install_script
assert __version__ == '1.3.8', __version__
| 31 | 53 | 0.865591 | 23 | 186 | 6.26087 | 0.652174 | 0.166667 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017647 | 0.086022 | 186 | 5 | 54 | 37.2 | 0.829412 | 0 | 0 | 0 | 0 | 0 | 0.026882 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 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 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
5d3438adbed4db78768e733fb59850d35b267f17 | 2,652 | py | Python | test/test_vsql_unop_not.py | LivingLogic/LivingApps.Python.LivingAPI | 70bb71d7f582535a4c52e1f00d9ed070f3f2cc4f | [
"MIT"
] | 2 | 2017-09-15T15:28:23.000Z | 2019-01-25T09:23:53.000Z | test/test_vsql_unop_not.py | LivingLogic/LivingApps.Python.LivingAPI | 70bb71d7f582535a4c52e1f00d9ed070f3f2cc4f | [
"MIT"
] | 1 | 2019-01-28T08:06:23.000Z | 2019-01-28T14:45:52.000Z | test/test_vsql_unop_not.py | LivingLogic/LivingApps.Python.LivingAPI | 70bb71d7f582535a4c52e1f00d9ed070f3f2cc4f | [
"MIT"
] | 1 | 2019-01-25T21:20:55.000Z | 2019-01-25T21:20:55.000Z | """
Tests for the vSQL unary logical "not" operator ``not``.
The test are done via the Python DB interface.
To run the tests, :mod:`pytest` is required.
"""
from conftest import *
###
### Tests
###
def test_bool1(config_persons):
check_vsql(config_persons, "repr(not app.p_bool_none.value) == 'True'")
def test_b... | 32.740741 | 83 | 0.763952 | 403 | 2,652 | 4.704715 | 0.173697 | 0.301688 | 0.208861 | 0.255274 | 0.812236 | 0.602321 | 0.602321 | 0.602321 | 0.580169 | 0.580169 | 0 | 0.010365 | 0.090498 | 2,652 | 80 | 84 | 33.15 | 0.775705 | 0.059201 | 0 | 0 | 0 | 0 | 0.39169 | 0.210569 | 0 | 0 | 0 | 0 | 0 | 1 | 0.488889 | false | 0 | 0.022222 | 0 | 0.511111 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
5d4208a6d1a720541899384f0132a66ef698e768 | 183 | py | Python | src_old/tests/scripts/core/ex12.py | toddrme2178/pyccel | deec37503ab0c5d0bcca1a035f7909f7ce8ef653 | [
"MIT"
] | null | null | null | src_old/tests/scripts/core/ex12.py | toddrme2178/pyccel | deec37503ab0c5d0bcca1a035f7909f7ce8ef653 | [
"MIT"
] | null | null | null | src_old/tests/scripts/core/ex12.py | toddrme2178/pyccel | deec37503ab0c5d0bcca1a035f7909f7ce8ef653 | [
"MIT"
] | null | null | null |
a=array((1,2,3,5,8,5),int)
b=array((5,8,6,9,8,2),int)
k=zeros((len(a),len(a)),int)
d=array(((5,8,6,9,8,2),(5,8,6,9,8,2),(5,8,6,9,8,2),(5,8,6,9,8,2),(5,8,6,9,8,2),(5,8,6,9,8,2)),int)
| 30.5 | 98 | 0.502732 | 64 | 183 | 1.4375 | 0.234375 | 0.173913 | 0.228261 | 0.304348 | 0.630435 | 0.630435 | 0.630435 | 0.391304 | 0.391304 | 0.391304 | 0 | 0.269663 | 0.027322 | 183 | 5 | 99 | 36.6 | 0.247191 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5376b32079eb4338c65d1a7a70fa2b571b5796e4 | 187 | py | Python | Strategy/BeforeStrategy/before_strategy/__init__.py | Tomvictor/python-design-patterns | 6b99607d721bbe03d26a0a451a10e88cd1c1d112 | [
"MIT"
] | null | null | null | Strategy/BeforeStrategy/before_strategy/__init__.py | Tomvictor/python-design-patterns | 6b99607d721bbe03d26a0a451a10e88cd1c1d112 | [
"MIT"
] | null | null | null | Strategy/BeforeStrategy/before_strategy/__init__.py | Tomvictor/python-design-patterns | 6b99607d721bbe03d26a0a451a10e88cd1c1d112 | [
"MIT"
] | null | null | null | __all__ = ['order','shipper','shipping_cost']
from before_strategy.order import Order
from before_strategy.shipper import Shipper
from before_strategy.shipping_cost import ShippingCost | 46.75 | 54 | 0.834225 | 24 | 187 | 6.125 | 0.416667 | 0.204082 | 0.367347 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 187 | 4 | 54 | 46.75 | 0.864706 | 0 | 0 | 0 | 0 | 0 | 0.135135 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
538187ec6a1e14ced0d23c2fbd512a9c1ac007f2 | 42 | py | Python | models/__init__.py | Tuckle/biospace | bdc1b859ee4abc82734227b9e0bf533491e2ac1f | [
"Apache-2.0"
] | null | null | null | models/__init__.py | Tuckle/biospace | bdc1b859ee4abc82734227b9e0bf533491e2ac1f | [
"Apache-2.0"
] | null | null | null | models/__init__.py | Tuckle/biospace | bdc1b859ee4abc82734227b9e0bf533491e2ac1f | [
"Apache-2.0"
] | null | null | null | from .postgres import *
from .neo import * | 21 | 23 | 0.738095 | 6 | 42 | 5.166667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 42 | 2 | 24 | 21 | 0.885714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
53b7fb4c1cfa36b1d868197797e04ce180f137fc | 107 | py | Python | strix/__init__.py | HFM3/strix | 94bbc568f614bbb0f525d8ce17de4c64ef3b46d2 | [
"MIT"
] | null | null | null | strix/__init__.py | HFM3/strix | 94bbc568f614bbb0f525d8ce17de4c64ef3b46d2 | [
"MIT"
] | null | null | null | strix/__init__.py | HFM3/strix | 94bbc568f614bbb0f525d8ce17de4c64ef3b46d2 | [
"MIT"
] | null | null | null | from strix.base_functions import *
from strix.gca import GCA
from strix.file_formats import kml_gca as kml
| 26.75 | 45 | 0.831776 | 19 | 107 | 4.526316 | 0.526316 | 0.313953 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130841 | 107 | 3 | 46 | 35.666667 | 0.924731 | 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 |
54d0e2e1911470813b3f442b917aefa02b3b326a | 173 | py | Python | config.py | aantonop/wifiportal21 | 73c6e1120eeeb2b4a1c1684bc61062ab77fde85f | [
"MIT"
] | 171 | 2015-12-10T23:30:03.000Z | 2021-11-23T15:03:35.000Z | config.py | Othello1111/wifiportal21 | 73c6e1120eeeb2b4a1c1684bc61062ab77fde85f | [
"MIT"
] | 2 | 2016-06-30T03:59:02.000Z | 2021-09-06T00:43:46.000Z | config.py | Othello1111/wifiportal21 | 73c6e1120eeeb2b4a1c1684bc61062ab77fde85f | [
"MIT"
] | 27 | 2015-12-12T00:29:02.000Z | 2020-10-07T15:35:00.000Z | receiving_key = "xpub6F8dWKbomfy7qmQ9Ma16SAwL3H9xMyaEjAfsEhtRjt5Bx3MFHTgDjvp4eZfUZES4i4AgaVGzVPyCKbSufdVsFvfR4wNjKRGraJrv5nLVs4h" # m/44'/0'/0'/0
SATOSHIS_PER_MINUTE = 2000
| 57.666667 | 145 | 0.884393 | 12 | 173 | 12.5 | 0.833333 | 0.026667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151515 | 0.046243 | 173 | 2 | 146 | 86.5 | 0.757576 | 0.075145 | 0 | 0 | 0 | 0 | 0.702532 | 0.702532 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
54dba918f0c22d58c41b7d0af96890fc7bebade2 | 257 | py | Python | test/test_pychrone.py | seizethedata/pychrone | 49b0ab306822602bf8d205e85459f485d79fb199 | [
"MIT"
] | 3 | 2018-07-02T13:06:13.000Z | 2020-11-10T22:57:19.000Z | test/test_pychrone.py | seizethedata/pychrone | 49b0ab306822602bf8d205e85459f485d79fb199 | [
"MIT"
] | 2 | 2020-03-18T11:02:22.000Z | 2020-08-26T12:33:20.000Z | test/test_pychrone.py | seizethedata/pychrone | 49b0ab306822602bf8d205e85459f485d79fb199 | [
"MIT"
] | 1 | 2020-08-06T16:39:12.000Z | 2020-08-06T16:39:12.000Z | import pytest
import pychrone
import geojson
def test_none():
assert (pychrone.Create_isochrone(37.847591, 55.920284, 5) !=None)
def test_geojson():
assert (isinstance(pychrone.Create_isochrone(37.847591, 55.920284, 5), geojson.geometry.Polygon)) | 25.7 | 101 | 0.762646 | 35 | 257 | 5.485714 | 0.514286 | 0.072917 | 0.239583 | 0.260417 | 0.416667 | 0.416667 | 0.416667 | 0.416667 | 0 | 0 | 0 | 0.14978 | 0.116732 | 257 | 10 | 101 | 25.7 | 0.696035 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.285714 | 1 | 0.285714 | true | 0 | 0.428571 | 0 | 0.714286 | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ab118ef3bcfe591a4e804c45b5a0c105921abb31 | 1,755 | py | Python | tests/test_1_core_sample_locs.py | JosePazNoguera/pam | afb580c57223acd01466938eea8dc3d83097d5dd | [
"MIT"
] | 29 | 2020-04-10T23:24:26.000Z | 2021-05-21T12:30:03.000Z | tests/test_1_core_sample_locs.py | JosePazNoguera/pam | afb580c57223acd01466938eea8dc3d83097d5dd | [
"MIT"
] | 63 | 2020-04-29T19:02:11.000Z | 2022-03-29T14:02:04.000Z | tests/test_1_core_sample_locs.py | JosePazNoguera/pam | afb580c57223acd01466938eea8dc3d83097d5dd | [
"MIT"
] | 13 | 2020-04-16T19:00:18.000Z | 2022-03-18T14:42:48.000Z | import pytest
from random import random
from pam.core import Population, Household, Person
from pam.activity import Plan, Activity, Leg
from .fixtures import *
def test_assign_same_locs_to_household(SmithHousehold):
population = Population()
population.add(SmithHousehold)
class FakeSampler:
def ... | 29.25 | 84 | 0.727635 | 199 | 1,755 | 6.201005 | 0.20603 | 0.12966 | 0.063209 | 0.055105 | 0.8047 | 0.8047 | 0.769854 | 0.718801 | 0.615883 | 0.615883 | 0 | 0.011822 | 0.180627 | 1,755 | 59 | 85 | 29.745763 | 0.846314 | 0 | 0 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025 | 1 | 0.2 | false | 0 | 0.125 | 0.1 | 0.525 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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.