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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
e7be1382a89587af29b3332d2ac194f029c49105 | 98 | py | Python | src/Utils/__init__.py | LukasHaas/cs329s-covid-prediction | bd73935e1141e72f005389013ba2fa772657b53f | [
"MIT"
] | 8 | 2021-06-09T04:56:53.000Z | 2022-03-10T17:13:17.000Z | src/Utils/__init__.py | LukasHaas/cs329s-covid-prediction | bd73935e1141e72f005389013ba2fa772657b53f | [
"MIT"
] | null | null | null | src/Utils/__init__.py | LukasHaas/cs329s-covid-prediction | bd73935e1141e72f005389013ba2fa772657b53f | [
"MIT"
] | 3 | 2021-05-28T01:10:07.000Z | 2021-11-20T13:47:44.000Z | from .Utils import upload_blob
from .Utils import segment_cough
from .Utils import normalize_audio | 32.666667 | 34 | 0.857143 | 15 | 98 | 5.4 | 0.6 | 0.333333 | 0.555556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.112245 | 98 | 3 | 34 | 32.666667 | 0.931034 | 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 | 1 | 0 | 0 | 7 |
e7c0680f5c4a0ad223ac2cd4e2b199792afda1d0 | 74 | py | Python | project/__init__.py | dilettacal/nmt_seq2seq_evo | 1de7647fb50445d17aa0eab8f300fdcbe6b8145e | [
"MIT"
] | null | null | null | project/__init__.py | dilettacal/nmt_seq2seq_evo | 1de7647fb50445d17aa0eab8f300fdcbe6b8145e | [
"MIT"
] | null | null | null | project/__init__.py | dilettacal/nmt_seq2seq_evo | 1de7647fb50445d17aa0eab8f300fdcbe6b8145e | [
"MIT"
] | null | null | null | from .model import *
from .utils import *
from .utils.external import *
| 12.333333 | 29 | 0.716216 | 10 | 74 | 5.3 | 0.5 | 0.377358 | 0.566038 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.189189 | 74 | 5 | 30 | 14.8 | 0.883333 | 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 | 1 | 0 | 0 | 7 |
99db6c98b1d15c074ce87f2324f7a378f226fa11 | 3,498 | py | Python | download_model.py | WiNE-iNEFF/ruGPT-TEST | 68bb22cb3415035a133f9162f766eb7cb4122f40 | [
"MIT"
] | null | null | null | download_model.py | WiNE-iNEFF/ruGPT-TEST | 68bb22cb3415035a133f9162f766eb7cb4122f40 | [
"MIT"
] | null | null | null | download_model.py | WiNE-iNEFF/ruGPT-TEST | 68bb22cb3415035a133f9162f766eb7cb4122f40 | [
"MIT"
] | null | null | null | import os
import sys
import requests
import wget
from tqdm import tqdm
if len(sys.argv) != 2:
print('You must enter the model name as a parameter, e.g.: download_model.py 117M')
sys.exit(1)
if sys.argv[1] == '117M':
model = sys.argv[1]
subdir = os.path.join('models', model)
if not os.... | 58.3 | 125 | 0.705832 | 439 | 3,498 | 5.603645 | 0.161731 | 0.097561 | 0.138211 | 0.170732 | 0.906098 | 0.906098 | 0.906098 | 0.906098 | 0.906098 | 0.906098 | 0 | 0.062521 | 0.140366 | 3,498 | 59 | 126 | 59.288136 | 0.75557 | 0.532876 | 0 | 0.5 | 0 | 0 | 0.356863 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.125 | 0 | 0.125 | 0.075 | 0 | 0 | 0 | null | 0 | 0 | 1 | 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 | 7 |
822b23d57478e89b93013cf580678fc91f5d233e | 111 | py | Python | utils/loss/__init__.py | bhklab/ptl-oar-segmentation | 354c3ee7f042a025f74e210a7b8462beac9b727d | [
"Apache-2.0"
] | 3 | 2022-01-18T19:25:46.000Z | 2022-02-05T18:53:24.000Z | utils/loss/__init__.py | bhklab/ptl-oar-segmentation | 354c3ee7f042a025f74e210a7b8462beac9b727d | [
"Apache-2.0"
] | null | null | null | utils/loss/__init__.py | bhklab/ptl-oar-segmentation | 354c3ee7f042a025f74e210a7b8462beac9b727d | [
"Apache-2.0"
] | null | null | null | from .boundary_loss import *
from .focal_loss import *
from .dice_loss import *
from .ND_Crossentropy import *
| 22.2 | 30 | 0.783784 | 16 | 111 | 5.1875 | 0.5 | 0.361446 | 0.506024 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144144 | 111 | 4 | 31 | 27.75 | 0.873684 | 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 | 1 | 0 | 0 | 7 |
41a60cbee12aae20357361ac482db38ddf2ec9d6 | 25,560 | py | Python | router/day_visit_cost_calculator_test.py | awesome-archive/city_visit_planner | 20befca3d70db61bc83356eedd490a298b27f96f | [
"MIT"
] | 1 | 2019-11-14T22:08:59.000Z | 2019-11-14T22:08:59.000Z | router/day_visit_cost_calculator_test.py | sandoche/city_visit_planner | 20befca3d70db61bc83356eedd490a298b27f96f | [
"MIT"
] | null | null | null | router/day_visit_cost_calculator_test.py | sandoche/city_visit_planner | 20befca3d70db61bc83356eedd490a298b27f96f | [
"MIT"
] | null | null | null | import datetime
import unittest
from data import city_visit
from router import cost_accumulator
from router import point_fit as point_fit_
from router import day_visit_cost_calculator as day_visit_cost_calculator_
from router import test_util
class DayVisitCostCalculatorTest(unittest.TestCase):
@staticmethod
de... | 46.727605 | 106 | 0.698905 | 3,368 | 25,560 | 5.070368 | 0.043646 | 0.096973 | 0.115243 | 0.211278 | 0.924284 | 0.909059 | 0.896469 | 0.890379 | 0.887334 | 0.879311 | 0 | 0.086113 | 0.195383 | 25,560 | 546 | 107 | 46.813187 | 0.744238 | 0.075743 | 0 | 0.792771 | 0 | 0 | 0.135641 | 0 | 0 | 0 | 0 | 0 | 0.327711 | 1 | 0.031325 | false | 0 | 0.016867 | 0.00241 | 0.053012 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 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 | 8 |
68b8657ba21492033cb924c0219a7e6500260772 | 126 | py | Python | platform/radio/efr32_multiphy_configurator/pyradioconfig/parts/viper/calculators/calc_aox.py | SiliconLabs/Gecko_SDK | 991121c706578c9a2135b6f75cc88856e8c64bdc | [
"Zlib"
] | 82 | 2016-06-29T17:24:43.000Z | 2021-04-16T06:49:17.000Z | platform/radio/efr32_multiphy_configurator/pyradioconfig/parts/viper/calculators/calc_aox.py | SiliconLabs/Gecko_SDK | 991121c706578c9a2135b6f75cc88856e8c64bdc | [
"Zlib"
] | 2 | 2017-02-13T10:07:17.000Z | 2017-03-22T21:28:26.000Z | platform/radio/efr32_multiphy_configurator/pyradioconfig/parts/viper/calculators/calc_aox.py | SiliconLabs/Gecko_SDK | 991121c706578c9a2135b6f75cc88856e8c64bdc | [
"Zlib"
] | 56 | 2016-08-02T10:50:50.000Z | 2021-07-19T08:57:34.000Z | from pyradioconfig.parts.bobcat.calculators.calc_aox import Calc_AoX_Bobcat
class calc_aox_viper(Calc_AoX_Bobcat):
pass
| 21 | 75 | 0.84127 | 19 | 126 | 5.210526 | 0.578947 | 0.282828 | 0.262626 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103175 | 126 | 5 | 76 | 25.2 | 0.876106 | 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 | 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 | 1 | 1 | 0 | 1 | 0 | 0 | 8 |
68c17083e03434a92cc22daf487180c136412df7 | 98 | py | Python | Tests/config.py | ShavImigne/PlayChess | 1eb0dcaf1d58b02bdc880f8e51857a87696ee461 | [
"MIT"
] | 12 | 2018-05-02T13:13:41.000Z | 2022-03-13T15:37:29.000Z | Tests/config.py | ShavImigne/PlayChess | 1eb0dcaf1d58b02bdc880f8e51857a87696ee461 | [
"MIT"
] | 24 | 2018-05-03T13:06:56.000Z | 2019-08-13T14:49:03.000Z | Tests/config.py | ShavImigne/PlayChess | 1eb0dcaf1d58b02bdc880f8e51857a87696ee461 | [
"MIT"
] | 17 | 2018-05-03T13:46:40.000Z | 2021-06-26T13:57:05.000Z | import os
db_user = os.environ.get('TEST_USER', None)
db_pass = os.environ.get('TEST_PASS', None) | 24.5 | 43 | 0.734694 | 18 | 98 | 3.777778 | 0.5 | 0.264706 | 0.352941 | 0.470588 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102041 | 98 | 4 | 44 | 24.5 | 0.772727 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.333333 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 7 |
68c56bedc4b8f5a7e8fb87578983bfd9f353e80b | 192 | py | Python | migrations/20130702003237-unique-image-tag.py | AndrewLorente/catsnap | 57427b8f61ef5185a41e49d55ffd7dd328777834 | [
"MIT"
] | 5 | 2015-11-23T18:40:00.000Z | 2019-03-22T06:54:04.000Z | migrations/20130702003237-unique-image-tag.py | AndrewLorente/catsnap | 57427b8f61ef5185a41e49d55ffd7dd328777834 | [
"MIT"
] | 5 | 2016-04-07T15:35:53.000Z | 2019-02-10T23:00:32.000Z | migrations/20130702003237-unique-image-tag.py | AndrewLorente/catsnap | 57427b8f61ef5185a41e49d55ffd7dd328777834 | [
"MIT"
] | 2 | 2015-12-02T16:44:05.000Z | 2017-09-29T23:17:33.000Z | step(
"""
create unique index unq_image_tag_image_id_tag_id
on image_tag (image_id, tag_id)
""",
"""
drop index unq_image_tag_image_id_tag_id
"""
)
| 19.2 | 57 | 0.588542 | 27 | 192 | 3.62963 | 0.37037 | 0.244898 | 0.397959 | 0.459184 | 0.77551 | 0.77551 | 0.571429 | 0.571429 | 0 | 0 | 0 | 0 | 0.317708 | 192 | 9 | 58 | 21.333333 | 0.748092 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
68c8fffe49659ae4697c560697ec3e3bcb643ad7 | 5,497 | py | Python | ddb_ngsflow/variation/haplotypecaller.py | dgaston/ddbio-ngsflow | b5a0f65b92f4de5706ae22b1c710c080761a4634 | [
"BSD-2-Clause"
] | 1 | 2016-03-24T18:03:13.000Z | 2016-03-24T18:03:13.000Z | ddb_ngsflow/variation/haplotypecaller.py | dgaston/ddbio-ngsflow | b5a0f65b92f4de5706ae22b1c710c080761a4634 | [
"BSD-2-Clause"
] | null | null | null | ddb_ngsflow/variation/haplotypecaller.py | dgaston/ddbio-ngsflow | b5a0f65b92f4de5706ae22b1c710c080761a4634 | [
"BSD-2-Clause"
] | null | null | null | """
.. module:: haplotypecaller
:platform: Unix, OSX
:synopsis: A wrapper module for calling MuTect.
.. moduleauthor:: Daniel Gaston <daniel.gaston@dal.ca>
"""
from ddb_ngsflow import pipeline
def haplotypecaller_single(job, config, name, samples, input_bam):
"""Generate gVCF files for a sample using the... | 32.526627 | 78 | 0.577224 | 561 | 5,497 | 5.559715 | 0.167558 | 0.041039 | 0.069253 | 0.025649 | 0.930426 | 0.925297 | 0.925297 | 0.925297 | 0.925297 | 0.925297 | 0 | 0.003014 | 0.275605 | 5,497 | 168 | 79 | 32.720238 | 0.780261 | 0.291068 | 0 | 0.942529 | 0 | 0 | 0.25486 | 0.080454 | 0 | 0 | 0 | 0 | 0 | 1 | 0.045977 | false | 0 | 0.011494 | 0 | 0.103448 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
68cbe4a76450a7c74bdd21db93ed75edbf00e857 | 307 | py | Python | nox_tools/__init__.py | AliGhahraei/nox-tools | 5d1582633b7d03100aa7cc505315820cda9c85b2 | [
"MIT"
] | null | null | null | nox_tools/__init__.py | AliGhahraei/nox-tools | 5d1582633b7d03100aa7cc505315820cda9c85b2 | [
"MIT"
] | null | null | null | nox_tools/__init__.py | AliGhahraei/nox-tools | 5d1582633b7d03100aa7cc505315820cda9c85b2 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
from nox_tools.sessions import (
config, install_current_package, install_requirements,
install_test_packages, linting, tests, typing,
)
__all__ = [
'config', 'install_current_package', 'install_requirements',
'install_test_packages', 'linting', 'tests', 'typing',
]
| 27.909091 | 64 | 0.736156 | 34 | 307 | 6.205882 | 0.588235 | 0.123223 | 0.189573 | 0.255924 | 0.78673 | 0.78673 | 0.78673 | 0.78673 | 0.78673 | 0.78673 | 0 | 0.003774 | 0.136808 | 307 | 10 | 65 | 30.7 | 0.792453 | 0.068404 | 0 | 0 | 0 | 0 | 0.308772 | 0.154386 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.125 | 0 | 0.125 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
ec499712284cd332daef0cb9c0cf0f5ffc26cb2a | 14,335 | py | Python | thecut/menus/south_migrations/0001_initial.py | exemplarysoftware/thecut-menus | 36682610ea975c350158ceb4cb3515c661812413 | [
"Apache-2.0"
] | null | null | null | thecut/menus/south_migrations/0001_initial.py | exemplarysoftware/thecut-menus | 36682610ea975c350158ceb4cb3515c661812413 | [
"Apache-2.0"
] | null | null | null | thecut/menus/south_migrations/0001_initial.py | exemplarysoftware/thecut-menus | 36682610ea975c350158ceb4cb3515c661812413 | [
"Apache-2.0"
] | null | null | null | # encoding: utf-8
import datetime
from south.db import db
from south.v2 import SchemaMigration
from django.db import models
from thecut.authorship.settings import AUTH_USER_MODEL
class Migration(SchemaMigration):
def forwards(self, orm):
# Adding model 'Menu'
db.create_table('menus_menu', (
... | 77.907609 | 202 | 0.613254 | 1,667 | 14,335 | 5.075585 | 0.062987 | 0.103061 | 0.178702 | 0.255289 | 0.859709 | 0.840208 | 0.827089 | 0.812434 | 0.787377 | 0.764212 | 0 | 0.006624 | 0.16798 | 14,335 | 183 | 203 | 78.333333 | 0.702775 | 0.014301 | 0 | 0.396226 | 0 | 0 | 0.518484 | 0.334348 | 0 | 0 | 0 | 0 | 0 | 1 | 0.012579 | false | 0 | 0.031447 | 0 | 0.062893 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 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 | 7 |
6b76347e2d9e50ac57727f08619a4a9dcfd06b52 | 100 | py | Python | test-crates/pyo3-mixed/test_pyo3_mixed.py | thedrow/maturin | 53dd4c2a2b548e8e9a1a390dccf161f61ee6137e | [
"Apache-2.0",
"MIT"
] | 854 | 2019-09-01T13:08:28.000Z | 2022-03-30T11:52:48.000Z | test-crates/pyo3-mixed/test_pyo3_mixed.py | thedrow/maturin | 53dd4c2a2b548e8e9a1a390dccf161f61ee6137e | [
"Apache-2.0",
"MIT"
] | 546 | 2019-08-30T18:13:18.000Z | 2022-03-31T16:00:19.000Z | test-crates/pyo3-mixed/test_pyo3_mixed.py | pombredanne/pyo3-pack | b556ed1d3a1eab65f180e5da5c00648173e77f1d | [
"Apache-2.0",
"MIT"
] | 92 | 2019-09-06T07:34:38.000Z | 2022-03-30T22:03:49.000Z | #!/usr/bin/env python3
import pyo3_mixed
def test_get_42():
assert pyo3_mixed.get_42() == 42
| 12.5 | 36 | 0.7 | 17 | 100 | 3.823529 | 0.705882 | 0.276923 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108434 | 0.17 | 100 | 7 | 37 | 14.285714 | 0.674699 | 0.21 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
6bbd68d4a5f5fe27a342575f588ca009e0ac8423 | 1,184 | py | Python | tests/test_provider_pmorillon_grid5000.py | mjuenema/python-terrascript | 6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d | [
"BSD-2-Clause"
] | 507 | 2017-07-26T02:58:38.000Z | 2022-01-21T12:35:13.000Z | tests/test_provider_pmorillon_grid5000.py | mjuenema/python-terrascript | 6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d | [
"BSD-2-Clause"
] | 135 | 2017-07-20T12:01:59.000Z | 2021-10-04T22:25:40.000Z | tests/test_provider_pmorillon_grid5000.py | mjuenema/python-terrascript | 6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d | [
"BSD-2-Clause"
] | 81 | 2018-02-20T17:55:28.000Z | 2022-01-31T07:08:40.000Z | # tests/test_provider_pmorillon_grid5000.py
# Automatically generated by tools/makecode.py (24-Sep-2021 15:17:36 UTC)
def test_provider_import():
import terrascript.provider.pmorillon.grid5000
def test_resource_import():
from terrascript.resource.pmorillon.grid5000 import grid5000_ceph_pool
from terras... | 30.358974 | 80 | 0.783784 | 150 | 1,184 | 6.04 | 0.44 | 0.206402 | 0.177704 | 0.239514 | 0.501104 | 0.399559 | 0.399559 | 0 | 0 | 0 | 0 | 0.09332 | 0.140203 | 1,184 | 38 | 81 | 31.157895 | 0.79666 | 0.429054 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026316 | 0 | 1 | 0.272727 | true | 0 | 1 | 0 | 1.272727 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
6bd9fd8a14cd033df798908808112cb264eb75c6 | 11,879 | py | Python | eips_code/eip-3670.py | ipsilon/eof | 5c7e7fd5638f7476707c097e2b8fdcfb41a254d6 | [
"Apache-2.0"
] | null | null | null | eips_code/eip-3670.py | ipsilon/eof | 5c7e7fd5638f7476707c097e2b8fdcfb41a254d6 | [
"Apache-2.0"
] | null | null | null | eips_code/eip-3670.py | ipsilon/eof | 5c7e7fd5638f7476707c097e2b8fdcfb41a254d6 | [
"Apache-2.0"
] | null | null | null | # The ranges below are as specified in the Yellow Paper.
# Note: range(s, e) excludes e, hence the +1
valid_opcodes = [
*range(0x00, 0x0b + 1),
*range(0x10, 0x1d + 1),
0x20,
*range(0x30, 0x3f + 1),
*range(0x40, 0x48 + 1),
*range(0x50, 0x5b + 1),
*range(0x60, 0x6f + 1),
*range(0x70, 0x7f ... | 44.657895 | 76 | 0.686927 | 1,968 | 11,879 | 3.950711 | 0.147358 | 0.293248 | 0.386881 | 0.529132 | 0.816592 | 0.793955 | 0.782765 | 0.318842 | 0 | 0 | 0 | 0.087719 | 0.131493 | 11,879 | 265 | 77 | 44.826415 | 0.665891 | 0.052109 | 0 | 0 | 0 | 0 | 0.153025 | 0 | 0 | 0 | 0.012456 | 0 | 0.86036 | 1 | 0.009009 | false | 0 | 0 | 0 | 0.018018 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
2e44796c72307a9344762bf57ea05588bb5300c1 | 17,747 | py | Python | model.py | alexcdot/gen-MA-BC | ef0cb71f461ed7241fd2961c3605a91caa13d07b | [
"MIT"
] | null | null | null | model.py | alexcdot/gen-MA-BC | ef0cb71f461ed7241fd2961c3605a91caa13d07b | [
"MIT"
] | null | null | null | model.py | alexcdot/gen-MA-BC | ef0cb71f461ed7241fd2961c3605a91caa13d07b | [
"MIT"
] | null | null | null | import numpy as np
import math
import torch
import torch.nn as nn
import torch.nn.functional as F
from torch.autograd import Variable
from model_utils import *
def process_input_data(input_type, data, macro, params):
if input_type == 'y':
return data
elif input_type == 'xy':
# Get the trained offense and def... | 30.598276 | 114 | 0.666253 | 3,349 | 17,747 | 3.243058 | 0.047775 | 0.047878 | 0.02044 | 0.037474 | 0.850842 | 0.830863 | 0.817512 | 0.796151 | 0.757389 | 0.722217 | 0 | 0.013042 | 0.166169 | 17,747 | 580 | 115 | 30.598276 | 0.720908 | 0.037922 | 0 | 0.717026 | 0 | 0 | 0.042219 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.035971 | false | 0 | 0.016787 | 0 | 0.095923 | 0.004796 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
2e7ef23a81781a685346f2393963041e063e2a06 | 13,629 | py | Python | dataviva/api/hedu/services.py | joelvisroman/dataviva-site | b4219558457746fd5c6b8f4b65b04c738c656fbd | [
"MIT"
] | 126 | 2015-03-24T12:30:43.000Z | 2022-01-06T03:29:54.000Z | dataviva/api/hedu/services.py | joelvisroman/dataviva-site | b4219558457746fd5c6b8f4b65b04c738c656fbd | [
"MIT"
] | 694 | 2015-01-14T11:55:28.000Z | 2021-02-08T20:23:11.000Z | dataviva/api/hedu/services.py | joelvisroman/dataviva-site | b4219558457746fd5c6b8f4b65b04c738c656fbd | [
"MIT"
] | 52 | 2015-06-19T01:54:56.000Z | 2019-09-23T13:10:46.000Z | from dataviva.api.hedu.models import Ybu, Ybc_hedu, Yu, Yuc, Yc_hedu, Ybuc
from dataviva.api.attrs.models import University as uni, Course_hedu, Bra
from dataviva import db
from sqlalchemy.sql.expression import func, desc, not_
class University:
def __init__(self, university_id):
self._hedu = None
... | 33.818859 | 88 | 0.640399 | 1,773 | 13,629 | 4.415116 | 0.049069 | 0.15023 | 0.104241 | 0.124681 | 0.916709 | 0.879407 | 0.853347 | 0.819366 | 0.806081 | 0.757409 | 0 | 0.004834 | 0.271407 | 13,629 | 402 | 89 | 33.902985 | 0.783484 | 0 | 0 | 0.774295 | 0 | 0 | 0.00066 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.191223 | false | 0 | 0.012539 | 0.047022 | 0.420063 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
cf006fc10424bad7603a46d59ea1e4cdfcf4fcb1 | 155 | py | Python | newrelic/common/constants.py | holyachon/newrelic-python-agent | 242c51a869b506d4235c8fedf024002251ac502c | [
"Apache-2.0"
] | null | null | null | newrelic/common/constants.py | holyachon/newrelic-python-agent | 242c51a869b506d4235c8fedf024002251ac502c | [
"Apache-2.0"
] | null | null | null | newrelic/common/constants.py | holyachon/newrelic-python-agent | 242c51a869b506d4235c8fedf024002251ac502c | [
"Apache-2.0"
] | null | null | null | LOCALHOST_EQUIVALENTS = frozenset((
'localhost',
'127.0.0.1',
'0.0.0.0',
'0:0:0:0:0:0:0:0',
'0:0:0:0:0:0:0:1',
'::1',
'::',
))
| 15.5 | 35 | 0.425806 | 29 | 155 | 2.241379 | 0.206897 | 0.584615 | 0.784615 | 0.984615 | 0.292308 | 0.292308 | 0.292308 | 0.292308 | 0.292308 | 0.292308 | 0 | 0.232759 | 0.251613 | 155 | 9 | 36 | 17.222222 | 0.327586 | 0 | 0 | 0 | 0 | 0 | 0.387097 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
cf186bd99af761fe0deb32fb9f80f9f86dc6c68e | 69 | py | Python | multilingual_t5/r_baseline_ta/__init__.py | sumanthd17/mt5 | c99b4e3ad1c69908c852c730a1323ccb52d48f58 | [
"Apache-2.0"
] | null | null | null | multilingual_t5/r_baseline_ta/__init__.py | sumanthd17/mt5 | c99b4e3ad1c69908c852c730a1323ccb52d48f58 | [
"Apache-2.0"
] | null | null | null | multilingual_t5/r_baseline_ta/__init__.py | sumanthd17/mt5 | c99b4e3ad1c69908c852c730a1323ccb52d48f58 | [
"Apache-2.0"
] | null | null | null | """r_baseline_ta dataset."""
from .r_baseline_ta import RBaselineTa
| 17.25 | 38 | 0.782609 | 10 | 69 | 5 | 0.7 | 0.36 | 0.44 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101449 | 69 | 3 | 39 | 23 | 0.806452 | 0.318841 | 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 | 1 | 0 | 0 | 7 |
cf43b76c9742142ab6dcd09ee5ee6ba7b415b219 | 1,814 | py | Python | models/gradientCompression/SignSGD.py | codecaution/leaf | 3239b84a17ba9489d5da529e2f1273774840d31f | [
"BSD-2-Clause"
] | 1 | 2019-12-10T04:26:51.000Z | 2019-12-10T04:26:51.000Z | models/gradientCompression/SignSGD.py | codecaution/leaf | 3239b84a17ba9489d5da529e2f1273774840d31f | [
"BSD-2-Clause"
] | null | null | null | models/gradientCompression/SignSGD.py | codecaution/leaf | 3239b84a17ba9489d5da529e2f1273774840d31f | [
"BSD-2-Clause"
] | 1 | 2019-12-10T11:22:31.000Z | 2019-12-10T11:22:31.000Z | import numpy as np
# gradient_list: type list
# gradient_list[0]: type numpy.ndarray
class SignUpdate:
def GradientCompress(self, gradient_list):
compressed_gradient_list = []
element_num = 0
for gradient in gradient_list:
element_num += np.size(gradient)
compress... | 32.981818 | 91 | 0.65215 | 205 | 1,814 | 5.526829 | 0.190244 | 0.254192 | 0.252427 | 0.135922 | 0.791703 | 0.780229 | 0.780229 | 0.748455 | 0.748455 | 0.748455 | 0 | 0.008271 | 0.266814 | 1,814 | 54 | 92 | 33.592593 | 0.843609 | 0.03473 | 0 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.128205 | false | 0 | 0.025641 | 0 | 0.307692 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
d88eed95ecec58a383f4a495e99910170cd2e819 | 9,658 | py | Python | Protheus_WebApp/Modules/SIGACTB/CTBA211TESTCASE.py | 98llm/tir-script-samples | 0bff8393b79356aa562e9e6512c11ee6e039b177 | [
"MIT"
] | 17 | 2018-09-24T17:27:08.000Z | 2021-09-16T19:09:46.000Z | Protheus_WebApp/Modules/SIGACTB/CTBA211TESTCASE.py | 98llm/tir-script-samples | 0bff8393b79356aa562e9e6512c11ee6e039b177 | [
"MIT"
] | 4 | 2018-09-24T17:30:32.000Z | 2022-01-03T11:39:30.000Z | Protheus_WebApp/Modules/SIGACTB/CTBA211TESTCASE.py | 98llm/tir-script-samples | 0bff8393b79356aa562e9e6512c11ee6e039b177 | [
"MIT"
] | 18 | 2019-06-07T17:41:34.000Z | 2022-01-31T18:17:31.000Z | from tir import Webapp
import unittest
class CTBA211(unittest.TestCase):
@classmethod
def setUpClass(inst):
inst.oHelper = Webapp()
inst.oHelper.Setup("SIGACTB", "30/06/2015", "T1", "M PR 02 ", "34")
inst.oHelper.Program("CTBA211")
###################################... | 41.273504 | 105 | 0.600124 | 1,020 | 9,658 | 5.55098 | 0.130392 | 0.31473 | 0.416107 | 0.385729 | 0.906747 | 0.868951 | 0.853055 | 0.853055 | 0.853055 | 0.853055 | 0 | 0.053716 | 0.221267 | 9,658 | 233 | 106 | 41.450644 | 0.699109 | 0.04504 | 0 | 0.813559 | 0 | 0 | 0.233474 | 0 | 0 | 0 | 0 | 0 | 0.028249 | 1 | 0.033898 | false | 0 | 0.011299 | 0 | 0.050847 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 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 | 10 |
2b204a0bbe87d56c395337e8f01e8a0e22373556 | 5,300 | py | Python | graphpy/vertex.py | tscizzle/pygraph | b6fe9e21bd30ae4249d02a1818b49351575fa98e | [
"MIT"
] | 1 | 2017-04-09T21:58:28.000Z | 2017-04-09T21:58:28.000Z | graphpy/vertex.py | tscizzle/graphpy | b6fe9e21bd30ae4249d02a1818b49351575fa98e | [
"MIT"
] | null | null | null | graphpy/vertex.py | tscizzle/graphpy | b6fe9e21bd30ae4249d02a1818b49351575fa98e | [
"MIT"
] | null | null | null | """
Implementation of a vertex, as used in graphs
"""
################################################################################
# #
# Undirected #
# ... | 28.804348 | 80 | 0.483962 | 625 | 5,300 | 3.9296 | 0.1312 | 0.058632 | 0.025651 | 0.034202 | 0.818404 | 0.774023 | 0.746743 | 0.746743 | 0.746743 | 0.68241 | 0 | 0.001751 | 0.353396 | 5,300 | 183 | 81 | 28.961749 | 0.714911 | 0.203019 | 0 | 0.8 | 0 | 0 | 0.031165 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.32381 | false | 0 | 0 | 0.104762 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 10 |
990cf19e1eb842f6b1e5bbc49d16e5c9466a08a1 | 1,150 | py | Python | permabots/serializers/__init__.py | eafanasev/permabots | 24de0376e8c482800f4214c021c133d81b9de69f | [
"BSD-3-Clause"
] | 81 | 2016-05-18T02:34:10.000Z | 2021-08-28T17:25:13.000Z | permabots/serializers/__init__.py | eafanasev/permabots | 24de0376e8c482800f4214c021c133d81b9de69f | [
"BSD-3-Clause"
] | 15 | 2016-05-27T08:51:46.000Z | 2021-03-19T21:42:21.000Z | permabots/serializers/__init__.py | eafanasev/permabots | 24de0376e8c482800f4214c021c133d81b9de69f | [
"BSD-3-Clause"
] | 34 | 2016-05-29T14:37:01.000Z | 2022-03-24T17:16:53.000Z | from permabots.serializers.telegram_api import UserSerializer, ChatSerializer, MessageSerializer, UpdateSerializer, UserAPISerializer # noqa
from permabots.serializers.kik_api import KikMessageSerializer # noqa
from permabots.serializers.response import ResponseSerializer, ResponseUpdateSerializer # noqa
from permab... | 127.777778 | 247 | 0.888696 | 83 | 1,150 | 12.277108 | 0.566265 | 0.102061 | 0.18842 | 0.192345 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.069565 | 1,150 | 8 | 248 | 143.75 | 0.952336 | 0.033913 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
994db77007230e7a16c3850b85d6a7cd96e0b9d7 | 255 | py | Python | revolver/log.py | michaelcontento/revolver | bbae82df0804ff2708a82fd0016b776664ee2deb | [
"Apache-2.0"
] | 1 | 2015-05-16T17:55:26.000Z | 2015-05-16T17:55:26.000Z | revolver/log.py | michaelcontento/revolver | bbae82df0804ff2708a82fd0016b776664ee2deb | [
"Apache-2.0"
] | null | null | null | revolver/log.py | michaelcontento/revolver | bbae82df0804ff2708a82fd0016b776664ee2deb | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
from __future__ import absolute_import, division, with_statement
from fabric.contrib.console import confirm
from fabric.utils import abort, warn
from fabric.utils import fastprint as put_fast
from fabric.utils import puts as put
| 28.333333 | 64 | 0.8 | 38 | 255 | 5.184211 | 0.578947 | 0.203046 | 0.228426 | 0.319797 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004525 | 0.133333 | 255 | 8 | 65 | 31.875 | 0.886878 | 0.082353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.2 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
995c03864c44eb5f6e261dd1c772dcf2e1b176c7 | 334 | py | Python | naturalnets/optimizers/__init__.py | bjuergens/NaturalNets | fd67f1b3c443761270adaf9877ed2a6358d830f0 | [
"MIT"
] | null | null | null | naturalnets/optimizers/__init__.py | bjuergens/NaturalNets | fd67f1b3c443761270adaf9877ed2a6358d830f0 | [
"MIT"
] | 2 | 2021-04-13T11:47:01.000Z | 2021-04-30T11:44:46.000Z | naturalnets/optimizers/__init__.py | bjuergens/NaturalNets | fd67f1b3c443761270adaf9877ed2a6358d830f0 | [
"MIT"
] | 1 | 2021-11-03T09:36:40.000Z | 2021-11-03T09:36:40.000Z | from naturalnets.optimizers.canonical_es import OptimizerCanonicalEs
from naturalnets.optimizers.cma_es_deap import OptimizerCmaEsDeap
from naturalnets.optimizers.cma_es_pycma import OptimizerCmaEsPycma
from naturalnets.optimizers.openai_es import OptimizerOpenAIES
from naturalnets.optimizers.mu_lambda_deap import Opti... | 55.666667 | 68 | 0.91018 | 38 | 334 | 7.789474 | 0.447368 | 0.253378 | 0.422297 | 0.189189 | 0.202703 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.05988 | 334 | 5 | 69 | 66.8 | 0.942675 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 7 |
999e9c3a75e1ede482c7e7bdee6b4157aa9eba20 | 517 | py | Python | travel.py | brightmaraba/crash-course | 7f02b48b4e89d3022bc11e9314a8ef0485938ede | [
"MIT"
] | null | null | null | travel.py | brightmaraba/crash-course | 7f02b48b4e89d3022bc11e9314a8ef0485938ede | [
"MIT"
] | null | null | null | travel.py | brightmaraba/crash-course | 7f02b48b4e89d3022bc11e9314a8ef0485938ede | [
"MIT"
] | null | null | null | world_cities = ['Dubai', 'New Orleans', 'Santorini', 'Gaza', 'Seoul']
print('***********')
print(world_cities)
print('***********')
print(sorted(world_cities))
print('***********')
print(world_cities)
print('***********')
print(sorted(world_cities, reverse=True))
print('***********')
print(world_cities)
print('********... | 21.541667 | 69 | 0.586074 | 54 | 517 | 5.388889 | 0.240741 | 0.453608 | 0.439863 | 0.360825 | 0.742268 | 0.742268 | 0.742268 | 0.329897 | 0.329897 | 0 | 0 | 0 | 0.059961 | 517 | 23 | 70 | 22.478261 | 0.598765 | 0 | 0 | 0.809524 | 0 | 0 | 0.258252 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.809524 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 7 |
5100de0ed5e74e4f91fe6bcbef397f5aa009134a | 5,303 | py | Python | python/tests/generated/api/section/test_all_elements_required.py | eno-lang/enolib | 4175f7c1e8246493b6758c29bddc80d20eaf15f7 | [
"MIT"
] | 17 | 2019-04-15T21:03:37.000Z | 2022-01-24T11:03:34.000Z | python/tests/generated/api/section/test_all_elements_required.py | eno-lang/enolib | 4175f7c1e8246493b6758c29bddc80d20eaf15f7 | [
"MIT"
] | 20 | 2019-03-13T23:23:40.000Z | 2022-03-29T13:40:57.000Z | python/tests/generated/api/section/test_all_elements_required.py | eno-lang/enolib | 4175f7c1e8246493b6758c29bddc80d20eaf15f7 | [
"MIT"
] | 4 | 2019-04-15T21:18:03.000Z | 2019-09-21T16:18:10.000Z | import enolib
def test_querying_a_missing_field_on_the_document_when_all_elements_are_required_raises_the_expected_validationerror():
error = None
input = ("")
try:
document = enolib.parse(input)
document.all_elements_required()
document.field('field')
except enolib.V... | 31.194118 | 147 | 0.732038 | 649 | 5,303 | 5.565485 | 0.101695 | 0.076135 | 0.068383 | 0.097176 | 0.939092 | 0.928571 | 0.921927 | 0.921927 | 0.921927 | 0.921927 | 0 | 0 | 0.196493 | 5,303 | 170 | 148 | 31.194118 | 0.847688 | 0 | 0 | 0.754545 | 0 | 0.036364 | 0.11727 | 0 | 0 | 0 | 0 | 0 | 0.145455 | 1 | 0.109091 | false | 0.072727 | 0.009091 | 0 | 0.118182 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 8 |
5147fad306d93edbc67f0ff25124296f7a44e206 | 141 | py | Python | data/obverter/__init__.py | gautierdag/cultural-evolution-engine | 54ea8d374ff4345c05f03eccfb2e93161e16a050 | [
"MIT"
] | 4 | 2019-03-20T15:31:44.000Z | 2020-11-28T13:40:13.000Z | data/obverter/__init__.py | gautierdag/cultural-evolution-engine | 54ea8d374ff4345c05f03eccfb2e93161e16a050 | [
"MIT"
] | null | null | null | data/obverter/__init__.py | gautierdag/cultural-evolution-engine | 54ea8d374ff4345c05f03eccfb2e93161e16a050 | [
"MIT"
] | 1 | 2021-11-06T01:15:28.000Z | 2021-11-06T01:15:28.000Z | from .get_obverter_dataloader import get_obverter_dataloader, get_obverter_features
from .get_obverter_metadata import get_obverter_metadata
| 47 | 83 | 0.914894 | 19 | 141 | 6.263158 | 0.368421 | 0.462185 | 0.252101 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.06383 | 141 | 2 | 84 | 70.5 | 0.901515 | 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 | 1 | 0 | 0 | 7 |
5a947a23fd33395a7204ca63effa32e0984a1997 | 568 | py | Python | src/testcase/GN_APP/input_case/GN_APP_Device_Page.py | maiyajj/AutoTest_script-Appium_Connect | f9c2c42c281a9e2f984acb4a72dda0694b053f22 | [
"Apache-2.0"
] | 28 | 2017-11-10T00:19:16.000Z | 2022-02-19T16:42:05.000Z | src/testcase/GN_APP/input_case/GN_APP_Device_Page.py | maiyajj/AutoTest_script-Appium_Connect | f9c2c42c281a9e2f984acb4a72dda0694b053f22 | [
"Apache-2.0"
] | null | null | null | src/testcase/GN_APP/input_case/GN_APP_Device_Page.py | maiyajj/AutoTest_script-Appium_Connect | f9c2c42c281a9e2f984acb4a72dda0694b053f22 | [
"Apache-2.0"
] | 23 | 2017-08-22T06:12:19.000Z | 2021-09-18T05:45:41.000Z | # coding=utf-8
try:
from src.testcase.GN_APP.case.GN_APP_DEVICE_PAGE.GN_APP_DEVICE_PAGE_001 import *
from src.testcase.GN_APP.case.GN_APP_DEVICE_PAGE.GN_APP_DEVICE_PAGE_002 import *
from src.testcase.GN_APP.case.GN_APP_DEVICE_PAGE.GN_APP_DEVICE_PAGE_003 import *
from src.testcase.GN_APP.case.GN_APP_DEVI... | 51.636364 | 84 | 0.818662 | 106 | 568 | 3.933962 | 0.226415 | 0.215827 | 0.316547 | 0.431655 | 0.848921 | 0.848921 | 0.848921 | 0.848921 | 0.848921 | 0.848921 | 0 | 0.037402 | 0.105634 | 568 | 10 | 85 | 56.8 | 0.783465 | 0.021127 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.777778 | 0 | 0.777778 | 0.111111 | 0 | 0 | 0 | null | 1 | 1 | 1 | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 12 |
5ad696dfac675ecd1e39576cb66e493c814c945b | 72,184 | py | Python | sdk/python/pulumi_alicloud/cs/serverless_kubernetes.py | pulumi/pulumi-alicloud | 9c34d84b4588a7c885c6bec1f03b5016e5a41683 | [
"ECL-2.0",
"Apache-2.0"
] | 42 | 2019-03-18T06:34:37.000Z | 2022-03-24T07:08:57.000Z | sdk/python/pulumi_alicloud/cs/serverless_kubernetes.py | pulumi/pulumi-alicloud | 9c34d84b4588a7c885c6bec1f03b5016e5a41683 | [
"ECL-2.0",
"Apache-2.0"
] | 152 | 2019-04-15T21:03:44.000Z | 2022-03-29T18:00:57.000Z | sdk/python/pulumi_alicloud/cs/serverless_kubernetes.py | pulumi/pulumi-alicloud | 9c34d84b4588a7c885c6bec1f03b5016e5a41683 | [
"ECL-2.0",
"Apache-2.0"
] | 3 | 2020-08-26T17:30:07.000Z | 2021-07-05T01:37:45.000Z | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from .. import... | 53.19381 | 284 | 0.67188 | 9,268 | 72,184 | 5.035175 | 0.034635 | 0.088866 | 0.073501 | 0.070715 | 0.957871 | 0.951442 | 0.945978 | 0.943192 | 0.940042 | 0.924013 | 0 | 0.003573 | 0.224634 | 72,184 | 1,356 | 285 | 53.233038 | 0.83021 | 0.354511 | 0 | 0.90625 | 1 | 0.014423 | 0.13377 | 0.026132 | 0 | 0 | 0 | 0 | 0 | 1 | 0.164663 | false | 0.001202 | 0.008413 | 0.003606 | 0.271635 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
5183884ec60ecbef7ae25334d17102ec20a24f8e | 139 | py | Python | faraday_spectra/__init__.py | MatthewJA/faraday-spectra | 36cf20041da73ffca20331600e850f7cd442e9a0 | [
"BSD-3-Clause"
] | 1 | 2020-09-30T06:53:26.000Z | 2020-09-30T06:53:26.000Z | faraday_spectra/__init__.py | MatthewJA/faraday-spectra | 36cf20041da73ffca20331600e850f7cd442e9a0 | [
"BSD-3-Clause"
] | null | null | null | faraday_spectra/__init__.py | MatthewJA/faraday-spectra | 36cf20041da73ffca20331600e850f7cd442e9a0 | [
"BSD-3-Clause"
] | null | null | null | """Generate simulated Faraday spectra."""
from .generate_spectra import generate_spectra as generate
from .__version__ import __version__
| 27.8 | 58 | 0.827338 | 16 | 139 | 6.5625 | 0.5 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107914 | 139 | 4 | 59 | 34.75 | 0.846774 | 0.251799 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
51e17ca8393da7b587463a87e01b0fd2d3af30d4 | 45,886 | py | Python | test/test_app_helpers.py | clach04/PyWebScrapBook | 310e8f20cc5337336875679246b9269265b4476a | [
"MIT"
] | 39 | 2019-04-10T18:07:40.000Z | 2022-02-07T07:11:30.000Z | test/test_app_helpers.py | clach04/PyWebScrapBook | 310e8f20cc5337336875679246b9269265b4476a | [
"MIT"
] | 56 | 2019-05-07T23:29:14.000Z | 2022-02-24T10:33:43.000Z | test/test_app_helpers.py | clach04/PyWebScrapBook | 310e8f20cc5337336875679246b9269265b4476a | [
"MIT"
] | 15 | 2019-06-12T05:16:43.000Z | 2022-01-16T13:24:11.000Z | from unittest import mock
import unittest
import sys
import os
import shutil
import io
import zipfile
import time
from flask import current_app, request
import webscrapbook
from webscrapbook import WSB_DIR, WSB_CONFIG
from webscrapbook import app as wsbapp
root_dir = os.path.abspath(os.path.dirname(__file__))
server_r... | 42.408503 | 171 | 0.534411 | 4,872 | 45,886 | 4.905378 | 0.066708 | 0.040169 | 0.039751 | 0.042178 | 0.867568 | 0.854387 | 0.843717 | 0.824511 | 0.805306 | 0.792 | 0 | 0.025002 | 0.333174 | 45,886 | 1,081 | 172 | 42.447734 | 0.756062 | 0.039184 | 0 | 0.758539 | 0 | 0 | 0.145727 | 0.043909 | 0 | 0 | 0 | 0 | 0.151943 | 1 | 0.040047 | false | 0.100118 | 0.014134 | 0 | 0.058893 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 8 |
51fc64053880e8508ac06b6453dea98f4e8a3ecc | 607 | py | Python | nighres/registration/__init__.py | ahleighton/nighres | bc01463241a03a88569b3ba56e195127788b5639 | [
"Apache-2.0"
] | 41 | 2017-08-15T12:23:31.000Z | 2022-02-28T15:12:22.000Z | nighres/registration/__init__.py | ahleighton/nighres | bc01463241a03a88569b3ba56e195127788b5639 | [
"Apache-2.0"
] | 130 | 2017-07-27T11:09:09.000Z | 2022-03-31T10:05:07.000Z | nighres/registration/__init__.py | ahleighton/nighres | bc01463241a03a88569b3ba56e195127788b5639 | [
"Apache-2.0"
] | 35 | 2017-08-17T17:05:41.000Z | 2022-03-28T12:22:14.000Z | from nighres.registration.apply_coordinate_mappings import apply_coordinate_mappings
from nighres.registration.apply_coordinate_mappings import apply_coordinate_mappings_2d
from nighres.registration.embedded_antsreg import embedded_antsreg
from nighres.registration.embedded_antsreg import embedded_antsreg_2d
from nighr... | 67.444444 | 88 | 0.920923 | 75 | 607 | 7.093333 | 0.2 | 0.165414 | 0.345865 | 0.233083 | 0.736842 | 0.736842 | 0.736842 | 0.736842 | 0.736842 | 0.281955 | 0 | 0.005217 | 0.052718 | 607 | 8 | 89 | 75.875 | 0.92 | 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 | 1 | 1 | 1 | 1 | 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 | 9 |
cfc44946654a85d9887f4559dc81f7558dfc486a | 1,405 | py | Python | test/MessageFormatterTests.py | Monofraps/Mocca | 0f4a1f5690fad457aaf4ea26d3d0271b34c6e187 | [
"MIT"
] | null | null | null | test/MessageFormatterTests.py | Monofraps/Mocca | 0f4a1f5690fad457aaf4ea26d3d0271b34c6e187 | [
"MIT"
] | 4 | 2015-01-09T18:02:51.000Z | 2015-01-10T01:06:58.000Z | test/MessageFormatterTests.py | Monofraps/Mocca | 0f4a1f5690fad457aaf4ea26d3d0271b34c6e187 | [
"MIT"
] | null | null | null | import unittest
import lib.MessageFormatter as MessageFormatter
class MoccaMessageFormatterTests(unittest.TestCase):
def test_can_set_verbosity_level(self):
MessageFormatter.set_verbosity(MessageFormatter.V_INFO)
self.assertEqual(MessageFormatter.verbosity, MessageFormatter.V_INFO)
Messag... | 50.178571 | 80 | 0.802135 | 140 | 1,405 | 7.721429 | 0.178571 | 0.251619 | 0.208141 | 0.341351 | 0.845513 | 0.845513 | 0.73543 | 0.60037 | 0.60037 | 0.592044 | 0 | 0 | 0.12242 | 1,405 | 27 | 81 | 52.037037 | 0.876723 | 0 | 0 | 0.52381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.52381 | 1 | 0.095238 | false | 0 | 0.095238 | 0 | 0.238095 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
cfe42daeeded78bfa937ea444128eaec538b953b | 102 | py | Python | app/auth/__init__.py | MelvinOmega/watchlist | 519bc636f5c6d8224a4191cf94e91b458d81ea55 | [
"MIT"
] | null | null | null | app/auth/__init__.py | MelvinOmega/watchlist | 519bc636f5c6d8224a4191cf94e91b458d81ea55 | [
"MIT"
] | null | null | null | app/auth/__init__.py | MelvinOmega/watchlist | 519bc636f5c6d8224a4191cf94e91b458d81ea55 | [
"MIT"
] | null | null | null | from flask import Blueprint
from . import views
from flask import Blueprint
from . import views,forms | 20.4 | 27 | 0.813725 | 15 | 102 | 5.533333 | 0.4 | 0.216867 | 0.361446 | 0.578313 | 0.939759 | 0.939759 | 0.939759 | 0 | 0 | 0 | 0 | 0 | 0.156863 | 102 | 5 | 28 | 20.4 | 0.965116 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.5 | 1 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 12 |
cff015849c2a503547e8aa1703cb2892c1eabd81 | 119 | py | Python | Server/django-utils-master/djutils/dashboard/__init__.py | TheInventorMan/IntelligentTrafficManagement | d72c0e3aede9e3cc258d9b30017ddfac5489541a | [
"Intel",
"Unlicense"
] | 3 | 2016-01-10T16:00:10.000Z | 2018-03-13T09:21:33.000Z | Server/django-utils-master/djutils/dashboard/__init__.py | TheInventorMan/IntelligentTrafficManagement | d72c0e3aede9e3cc258d9b30017ddfac5489541a | [
"Intel",
"Unlicense"
] | 10 | 2019-12-26T17:31:31.000Z | 2022-03-21T22:17:33.000Z | Server/django-utils-master/djutils/dashboard/__init__.py | TheInventorMan/IntelligentTrafficManagement | d72c0e3aede9e3cc258d9b30017ddfac5489541a | [
"Intel",
"Unlicense"
] | null | null | null | from djutils.utils.helpers import generic_autodiscover
def autodiscover():
return generic_autodiscover('panels')
| 19.833333 | 54 | 0.806723 | 13 | 119 | 7.230769 | 0.769231 | 0.404255 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 119 | 5 | 55 | 23.8 | 0.895238 | 0 | 0 | 0 | 0 | 0 | 0.05042 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0.333333 | 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 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 8 |
320a73fccbb06cef88c60250fc9687e6ddebe23f | 8,460 | py | Python | tests/test_data.py | giangbui/fence | 5a28b77c30ce7fb11fd05b09a023d0aec1e57e16 | [
"Apache-2.0"
] | null | null | null | tests/test_data.py | giangbui/fence | 5a28b77c30ce7fb11fd05b09a023d0aec1e57e16 | [
"Apache-2.0"
] | null | null | null | tests/test_data.py | giangbui/fence | 5a28b77c30ce7fb11fd05b09a023d0aec1e57e16 | [
"Apache-2.0"
] | null | null | null | from . import utils
import jwt
import urlparse
import pytest
from fence.errors import NotSupported
@pytest.mark.parametrize(
"indexd_client", ["gs", "s3", "gs_acl", "s3_acl", "s3_external"], indirect=True
)
def test_indexd_download_file(
client,
oauth_client,
user_client,
indexd_client,
kid,
... | 25.103858 | 83 | 0.636643 | 974 | 8,460 | 5.243326 | 0.094456 | 0.051694 | 0.035637 | 0.045232 | 0.930488 | 0.923634 | 0.901312 | 0.890151 | 0.890151 | 0.890151 | 0 | 0.014958 | 0.249291 | 8,460 | 336 | 84 | 25.178571 | 0.789167 | 0.085816 | 0 | 0.808271 | 0 | 0 | 0.101825 | 0.019307 | 0 | 0 | 0 | 0 | 0.06015 | 1 | 0.041353 | false | 0 | 0.018797 | 0 | 0.06015 | 0.011278 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
5c56c51e1b681c0671d00c99943bd139ed69b63e | 1,300 | py | Python | data-structures/linkend-list/test_linked_list.py | jamesbond007dj/py-data-structures-and-algorithms | ce66faa99f7c7e9c0f9d248a56d78c9ebf069e25 | [
"MIT"
] | null | null | null | data-structures/linkend-list/test_linked_list.py | jamesbond007dj/py-data-structures-and-algorithms | ce66faa99f7c7e9c0f9d248a56d78c9ebf069e25 | [
"MIT"
] | 1 | 2020-01-21T17:00:14.000Z | 2020-01-21T17:00:14.000Z | data-structures/linkend-list/test_linked_list.py | jamesbond007dj/py-data-structures-and-algorithms | ce66faa99f7c7e9c0f9d248a56d78c9ebf069e25 | [
"MIT"
] | null | null | null | from linked_list import LinkedList
# def test_insert():
# ll = LinkedList()
# ll.insert(2)
# expected = '2'
# actual = ll.to_string()
# assert actual == expected
# def test_include_empty():
# ll = LinkedList()
# expected = False
# actual = ll.includes(1)
# assert actual == expecte... | 22.413793 | 34 | 0.579231 | 154 | 1,300 | 4.74026 | 0.155844 | 0.09863 | 0.219178 | 0.220548 | 0.836986 | 0.753425 | 0.60411 | 0.593151 | 0.458904 | 0.279452 | 0 | 0.018066 | 0.276154 | 1,300 | 58 | 35 | 22.413793 | 0.757705 | 0.891538 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
5c6e0c1e7299c6bc9de553f87e34bf90ec500fd1 | 804 | py | Python | onion/request.py | ksk001100/onion | 318429ba6a14da996d02d7c96cbbed18a51f5adc | [
"MIT"
] | null | null | null | onion/request.py | ksk001100/onion | 318429ba6a14da996d02d7c96cbbed18a51f5adc | [
"MIT"
] | null | null | null | onion/request.py | ksk001100/onion | 318429ba6a14da996d02d7c96cbbed18a51f5adc | [
"MIT"
] | null | null | null | import requests
from requests.models import Response
from onion.onion import Onion
def get(url: str, headers=None, params=None) -> Response:
onion = Onion()
res = requests.get(url, headers=headers, params=params, proxies=onion.proxies)
return res
def post(url: str, headers=None, params=None) -> Respons... | 28.714286 | 85 | 0.705224 | 108 | 804 | 5.25 | 0.175926 | 0.088183 | 0.091711 | 0.119929 | 0.813051 | 0.813051 | 0.813051 | 0.813051 | 0.813051 | 0.813051 | 0 | 0 | 0.172886 | 804 | 27 | 86 | 29.777778 | 0.852632 | 0 | 0 | 0.421053 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.210526 | false | 0 | 0.157895 | 0 | 0.578947 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
8ff4f9ba18caefbc03796cb9a3471dae34bc998a | 44 | py | Python | siapp/blueprints/page/__init__.py | saidulislam/siapp-python-crud-template | 4ee8ae8855f703eee36031244341a88f5c8dd2e2 | [
"Apache-2.0"
] | null | null | null | siapp/blueprints/page/__init__.py | saidulislam/siapp-python-crud-template | 4ee8ae8855f703eee36031244341a88f5c8dd2e2 | [
"Apache-2.0"
] | null | null | null | siapp/blueprints/page/__init__.py | saidulislam/siapp-python-crud-template | 4ee8ae8855f703eee36031244341a88f5c8dd2e2 | [
"Apache-2.0"
] | null | null | null | from siapp.blueprints.page.views import page | 44 | 44 | 0.863636 | 7 | 44 | 5.428571 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068182 | 44 | 1 | 44 | 44 | 0.926829 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 7 |
890b4d6d2150a06ff443196364baa005956ddba7 | 75 | py | Python | src/tftools/__init__.py | tygerlord/tftools | 76d636432115cfeae65a454e93500401fad58199 | [
"MIT"
] | null | null | null | src/tftools/__init__.py | tygerlord/tftools | 76d636432115cfeae65a454e93500401fad58199 | [
"MIT"
] | null | null | null | src/tftools/__init__.py | tygerlord/tftools | 76d636432115cfeae65a454e93500401fad58199 | [
"MIT"
] | null | null | null |
from .tftools1 import Model
from .tftools1 import VideoImageDataGenerator
| 18.75 | 45 | 0.853333 | 8 | 75 | 8 | 0.625 | 0.375 | 0.5625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030303 | 0.12 | 75 | 3 | 46 | 25 | 0.939394 | 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 | 1 | 0 | 0 | 7 |
8f24dd7e6943730fc52d7cb2f5a62771232dd52f | 1,561 | py | Python | uwupy/security.py | justnat3/uwupy | 6f724bdcb16202d353d89f09ce6f2293e6db08f5 | [
"MIT"
] | null | null | null | uwupy/security.py | justnat3/uwupy | 6f724bdcb16202d353d89f09ce6f2293e6db08f5 | [
"MIT"
] | 2 | 2020-10-04T13:36:52.000Z | 2020-10-04T13:37:31.000Z | uwupy/security.py | justnat3/uwupy | 6f724bdcb16202d353d89f09ce6f2293e6db08f5 | [
"MIT"
] | null | null | null | class Fail_AuthUwU(Exception):
"""Thrown when when authentication fails
Attrs: objName
"""
def __init__(self, objName, message='sowwy {self.objName} has failed auwthenication..'):
self.objName = objName
self.message = message
super().__init__(message)
def __st... | 28.381818 | 99 | 0.613069 | 165 | 1,561 | 5.50303 | 0.236364 | 0.193833 | 0.15859 | 0.101322 | 0.844714 | 0.844714 | 0.844714 | 0.844714 | 0.844714 | 0.844714 | 0 | 0 | 0.271621 | 1,561 | 54 | 100 | 28.907407 | 0.798593 | 0.13517 | 0 | 0.714286 | 0 | 0 | 0.264105 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0 | 0.142857 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 10 |
8f40234120f2ae00dc8a3164f9a735844b389119 | 100 | py | Python | pytorch_agents/ppo/__init__.py | AiForAlpha/pytorch_agents | 0151b16f0a8cf7131cede83c369cbc728435b3c2 | [
"MIT"
] | null | null | null | pytorch_agents/ppo/__init__.py | AiForAlpha/pytorch_agents | 0151b16f0a8cf7131cede83c369cbc728435b3c2 | [
"MIT"
] | null | null | null | pytorch_agents/ppo/__init__.py | AiForAlpha/pytorch_agents | 0151b16f0a8cf7131cede83c369cbc728435b3c2 | [
"MIT"
] | null | null | null | from pytorch_agents.ppo.policies import CnnPolicy, MlpPolicy
from pytorch_agents.ppo.ppo import PPO
| 33.333333 | 60 | 0.86 | 15 | 100 | 5.6 | 0.533333 | 0.261905 | 0.404762 | 0.47619 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09 | 100 | 2 | 61 | 50 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
8f6d42fd4f47f146dcad433adec9fcfad6bc6a23 | 5,525 | py | Python | fast_mri_view.py | shahryarkhorasani/brats_tumor_segmentation_vnet | 85e6a2c745bc09839aef2815c95c5dedab39aacf | [
"MIT"
] | null | null | null | fast_mri_view.py | shahryarkhorasani/brats_tumor_segmentation_vnet | 85e6a2c745bc09839aef2815c95c5dedab39aacf | [
"MIT"
] | null | null | null | fast_mri_view.py | shahryarkhorasani/brats_tumor_segmentation_vnet | 85e6a2c745bc09839aef2815c95c5dedab39aacf | [
"MIT"
] | null | null | null | import os
import numpy as np
import nibabel as nib
import matplotlib.pyplot as plt
def show_slices(scan, x=None, y=None, z=None, size=30): #scan: directory to a nifti file
""" Function to display the middle slice in each axis of a scan """
fig, axes = plt.subplots(1, 3, figsize=(size,size))
if type(scan) =... | 33.083832 | 100 | 0.495747 | 789 | 5,525 | 3.366286 | 0.119138 | 0.04744 | 0.062123 | 0.090361 | 0.804593 | 0.803087 | 0.775979 | 0.769202 | 0.753765 | 0.658509 | 0 | 0.023626 | 0.341176 | 5,525 | 167 | 101 | 33.083832 | 0.706044 | 0.06371 | 0 | 0.758389 | 0 | 0 | 0.01168 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.020134 | false | 0 | 0.026846 | 0 | 0.04698 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
56d316a3f9435615f648638a88909b0af5bacb74 | 18,823 | py | Python | transphire_transform/dump_load/tests/test_util.py | MPI-Dortmund/transphire_transform | 4ef249f3806c4aa33215637c9ff869ad91f86bef | [
"MIT"
] | 2 | 2018-08-06T20:07:51.000Z | 2019-10-10T04:52:44.000Z | transphire_transform/dump_load/tests/test_util.py | MPI-Dortmund/transphire_transform | 4ef249f3806c4aa33215637c9ff869ad91f86bef | [
"MIT"
] | 14 | 2018-08-07T10:02:01.000Z | 2021-06-01T22:31:58.000Z | transphire_transform/dump_load/tests/test_util.py | MPI-Dortmund/transphire_transform | 4ef249f3806c4aa33215637c9ff869ad91f86bef | [
"MIT"
] | null | null | null | """
MIT License
Copyright (c) 2018 Max Planck Institute of Molecular Physiology
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use... | 34.34854 | 129 | 0.598789 | 2,445 | 18,823 | 4.265849 | 0.093252 | 0.102205 | 0.105944 | 0.039693 | 0.852445 | 0.834036 | 0.829914 | 0.81371 | 0.782838 | 0.767114 | 0 | 0.03198 | 0.284014 | 18,823 | 547 | 130 | 34.411335 | 0.741931 | 0.061202 | 0 | 0.715711 | 0 | 0 | 0.07616 | 0.02064 | 0 | 0 | 0 | 0 | 0.114713 | 1 | 0.119701 | false | 0.009975 | 0.049875 | 0 | 0.184539 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
710707b4768e4d919c9fde2f8f1c6bbaa1acedf9 | 140 | py | Python | tests/test_import.py | buzzjmd/keld-python-cli | 2ec461c0489520c7c59ddb72d8157f99703eff6d | [
"BSD-3-Clause"
] | 1 | 2018-02-14T15:08:24.000Z | 2018-02-14T15:08:24.000Z | tests/test_import.py | buzzjmd/keld-python-cli | 2ec461c0489520c7c59ddb72d8157f99703eff6d | [
"BSD-3-Clause"
] | null | null | null | tests/test_import.py | buzzjmd/keld-python-cli | 2ec461c0489520c7c59ddb72d8157f99703eff6d | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
import keldcli
def test_import():
assert keldcli
assert keldcli.__title__
assert keldcli.__version__
| 14 | 30 | 0.685714 | 16 | 140 | 5.4375 | 0.625 | 0.448276 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009091 | 0.214286 | 140 | 9 | 31 | 15.555556 | 0.781818 | 0.15 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.6 | 1 | 0.2 | true | 0 | 0.4 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
a48b39672fb8f2d1ea55c411b13c5f6d40c4960c | 8,911 | py | Python | Testing.py | evanxia1018/CSE539_Project_LLE | 881ea2278c39c16716e5de83dd8abbd267806a35 | [
"MIT"
] | 2 | 2019-11-10T02:04:52.000Z | 2020-04-19T03:51:51.000Z | Testing.py | SarahLynnePu/CSE539_Project_LLE | 881ea2278c39c16716e5de83dd8abbd267806a35 | [
"MIT"
] | null | null | null | Testing.py | SarahLynnePu/CSE539_Project_LLE | 881ea2278c39c16716e5de83dd8abbd267806a35 | [
"MIT"
] | 3 | 2017-12-28T14:09:24.000Z | 2020-04-19T04:25:03.000Z | import Dataset_Generator as dg
import Evaluation as eval
import Plot_Graph as ploter
hd_dataset = dg.get_hd_dataset(5000)
reduced_hd = eval.pca_dim_reduction(hd_dataset, 3)
ploter.plot3D(reduced_hd)
broken_swiss_roll_dataset = dg.get_broken_swiss_roll_dataset(5000)
ploter.plot3D(broken_swiss_roll_dataset)
reduced_bro... | 35.931452 | 115 | 0.791045 | 1,291 | 8,911 | 5.191325 | 0.07591 | 0.108624 | 0.072068 | 0.0755 | 0.86422 | 0.836914 | 0.813339 | 0.776186 | 0.721874 | 0.712026 | 0 | 0.024015 | 0.102794 | 8,911 | 247 | 116 | 36.076923 | 0.814259 | 0.091236 | 0 | 0.78022 | 0 | 0 | 0.053649 | 0.026515 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.351648 | 0 | 0.351648 | 0.016484 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 8 |
f17ef4b919c5bc807194347348620f112a9b7c65 | 18,334 | py | Python | ncem/models/layers/output_layers.py | theislab/ncem | cd0ea2e9de8e1815e1f1f4139c62b4f33979f9ca | [
"BSD-3-Clause"
] | 37 | 2021-07-02T11:40:26.000Z | 2022-03-25T20:17:03.000Z | ncem/models/layers/output_layers.py | theislab/ncem | cd0ea2e9de8e1815e1f1f4139c62b4f33979f9ca | [
"BSD-3-Clause"
] | 61 | 2021-07-06T08:30:59.000Z | 2022-03-31T05:16:41.000Z | ncem/models/layers/output_layers.py | theislab/ncem | cd0ea2e9de8e1815e1f1f4139c62b4f33979f9ca | [
"BSD-3-Clause"
] | 1 | 2022-01-28T13:36:54.000Z | 2022-01-28T13:36:54.000Z | import tensorflow as tf
IDENTIFIER_OUTPUT_LAYER = "Output"
def get_out(output_layer: str, out_feature_dim, scale_node_size, name: str = 'decoder'):
if output_layer == "gaussian":
output_decoder_layer = GaussianOutput(
original_dim=out_feature_dim,
use_node_scale=scale_node_size,
... | 29.61874 | 120 | 0.590542 | 2,094 | 18,334 | 4.899236 | 0.059217 | 0.04094 | 0.070182 | 0.035871 | 0.881762 | 0.874257 | 0.868311 | 0.858953 | 0.838386 | 0.824349 | 0 | 0.003807 | 0.298026 | 18,334 | 618 | 121 | 29.666667 | 0.793318 | 0.222919 | 0 | 0.840336 | 0 | 0 | 0.099184 | 0.043893 | 0 | 0 | 0 | 0 | 0 | 1 | 0.117647 | false | 0.021008 | 0.004202 | 0 | 0.214286 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
74b932a9b3f86406af2f23cdd52e7d07d13d89c6 | 62,126 | py | Python | install/app_store/tk-framework-qtwidgets/v2.6.5/python/navigation/ui/resources_rc.py | JoanAzpeitia/lp_sg | e0ee79555e419dd2ae3a5f31e5515b3f40b22a62 | [
"MIT"
] | null | null | null | install/app_store/tk-framework-qtwidgets/v2.6.5/python/navigation/ui/resources_rc.py | JoanAzpeitia/lp_sg | e0ee79555e419dd2ae3a5f31e5515b3f40b22a62 | [
"MIT"
] | null | null | null | install/app_store/tk-framework-qtwidgets/v2.6.5/python/navigation/ui/resources_rc.py | JoanAzpeitia/lp_sg | e0ee79555e419dd2ae3a5f31e5515b3f40b22a62 | [
"MIT"
] | 1 | 2020-02-15T10:42:56.000Z | 2020-02-15T10:42:56.000Z | # -*- coding: utf-8 -*-
# Resource object code
#
# by: The Resource Compiler for PySide (Qt v4.8.7)
#
# WARNING! All changes made in this file will be lost!
from tank.platform.qt import QtCore
qt_resource_data = "\x00\x00\x02\xb2\x89PNG\x0d\x0a\x1a\x0a\x00\x00\x00\x0dIHDR\x00\x00\x00'\x00\x00\x00$\x08\x04\x00\x... | 2,958.380952 | 59,425 | 0.743747 | 14,141 | 62,126 | 3.260448 | 0.182236 | 0.06728 | 0.040016 | 0.012233 | 0.19325 | 0.190691 | 0.185789 | 0.182796 | 0.17681 | 0.172537 | 0 | 0.266186 | 0.002785 | 62,126 | 20 | 59,426 | 3,106.3 | 0.478024 | 0.002398 | 0 | 0 | 0 | 0.333333 | 0.994013 | 0.991754 | 0 | 0 | 0.000129 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.111111 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
74bca0469d3810f6d9dfb1c0e7af54dbe7408d3e | 50,447 | py | Python | test/test_rules.py | konysko/pyseeyou | 6ee169d32d9449f12fc76032f6060bba687a9155 | [
"MIT"
] | 12 | 2016-03-04T00:54:17.000Z | 2019-08-06T14:10:28.000Z | test/test_rules.py | konysko/pyseeyou | 6ee169d32d9449f12fc76032f6060bba687a9155 | [
"MIT"
] | 14 | 2017-07-06T15:48:11.000Z | 2021-05-09T15:26:06.000Z | test/test_rules.py | konysko/pyseeyou | 6ee169d32d9449f12fc76032f6060bba687a9155 | [
"MIT"
] | 11 | 2017-09-21T11:52:15.000Z | 2021-03-10T19:40:30.000Z | import pytest
from pyseeyou.locales import get_parts_of_num
from pyseeyou.cldr_rules import CARDINALS
# ========================
# GENERATED AUTOMATICALLY
# DON'T MODIFY MANUALLY
# ========================
def check(assertions, plural_fn):
for assertion in assertions:
match, samples = asser... | 29.21077 | 118 | 0.422523 | 7,786 | 50,447 | 2.682892 | 0.040586 | 0.0405 | 0.149361 | 0.226196 | 0.764134 | 0.759634 | 0.75614 | 0.75073 | 0.748863 | 0.746661 | 0 | 0.193401 | 0.217238 | 50,447 | 1,726 | 119 | 29.227694 | 0.335596 | 0.003846 | 0 | 0.478797 | 1 | 0 | 0.244626 | 0 | 0 | 0 | 0 | 0 | 0.323824 | 1 | 0.161141 | false | 0 | 0.002313 | 0 | 0.163454 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
2d0abfa6db0aeaa48eeb2240a4ad11ea164550a4 | 147 | py | Python | tests/test_get_skins.py | exizt/tistory-skin-simulator | 0ede9e5daeadd7aa3ed1f74bf40d7e0924a1655a | [
"MIT"
] | 4 | 2021-09-29T08:55:37.000Z | 2022-03-06T18:01:58.000Z | tests/test_get_skins.py | exizt/tistory-skin-simulator | 0ede9e5daeadd7aa3ed1f74bf40d7e0924a1655a | [
"MIT"
] | null | null | null | tests/test_get_skins.py | exizt/tistory-skin-simulator | 0ede9e5daeadd7aa3ed1f74bf40d7e0924a1655a | [
"MIT"
] | null | null | null | import SkinLoader
def test_get_skins():
print(SkinLoader.get_skins())
def test_get_skin_path():
print(SkinLoader.get_skins_dir_path())
| 14.7 | 42 | 0.755102 | 21 | 147 | 4.857143 | 0.47619 | 0.235294 | 0.196078 | 0.45098 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136054 | 147 | 9 | 43 | 16.333333 | 0.80315 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | true | 0 | 0.2 | 0 | 0.6 | 0.4 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 8 |
2d33010b9a4a61a5d059373f88ac50c2aa74e9fc | 36,682 | py | Python | plot_producers/off_line_bcpnn_learning.py | h-mayorquin/BCPNN_sequences | a7d6dcd699abf91ce8c2d0b8e36e96a56b941f4a | [
"MIT"
] | null | null | null | plot_producers/off_line_bcpnn_learning.py | h-mayorquin/BCPNN_sequences | a7d6dcd699abf91ce8c2d0b8e36e96a56b941f4a | [
"MIT"
] | null | null | null | plot_producers/off_line_bcpnn_learning.py | h-mayorquin/BCPNN_sequences | a7d6dcd699abf91ce8c2d0b8e36e96a56b941f4a | [
"MIT"
] | null | null | null | import sys
sys.path.append('../')
import numpy as np
import matplotlib.pyplot as plt
import matplotlib
import matplotlib.gridspec as gridspec
from mpl_toolkits.axes_grid1 import make_axes_locatable
import seaborn as sns
from network import Protocol, NetworkManager, BCPNNPerfect, TimedInput
from connectivity_functions... | 42.163218 | 121 | 0.678589 | 5,010 | 36,682 | 4.589421 | 0.042315 | 0.037577 | 0.055974 | 0.061236 | 0.887531 | 0.883704 | 0.87892 | 0.859479 | 0.849345 | 0.825643 | 0 | 0.009295 | 0.216946 | 36,682 | 870 | 122 | 42.163218 | 0.791185 | 0.045227 | 0 | 0.715909 | 0 | 0 | 0.016558 | 0.001162 | 0 | 0 | 0 | 0 | 0 | 1 | 0.001623 | false | 0 | 0.019481 | 0 | 0.021104 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
741c1d9921cb8c102685856d7459fbd8665f223a | 3,037 | py | Python | service/restapi_service.py | estuaryoss/discovery-cli | 49b2eee58d14430aa58071aad9a368b4164ef898 | [
"Apache-2.0"
] | null | null | null | service/restapi_service.py | estuaryoss/discovery-cli | 49b2eee58d14430aa58071aad9a368b4164ef898 | [
"Apache-2.0"
] | null | null | null | service/restapi_service.py | estuaryoss/discovery-cli | 49b2eee58d14430aa58071aad9a368b4164ef898 | [
"Apache-2.0"
] | null | null | null | import re
import requests
from requests.auth import HTTPBasicAuth
class RestApiService:
def __init__(self, connection):
self.conn = connection
def about(self):
endpoint = "/about"
url_format = f"{self.conn.get('homePageUrl')}{endpoint}"
headers = {
"Content-Type":... | 33.373626 | 114 | 0.578531 | 326 | 3,037 | 5.322086 | 0.196319 | 0.082997 | 0.101441 | 0.032277 | 0.851873 | 0.851873 | 0.851873 | 0.851873 | 0.851873 | 0.851873 | 0 | 0.008246 | 0.281199 | 3,037 | 90 | 115 | 33.744444 | 0.786532 | 0.041159 | 0 | 0.677419 | 0 | 0 | 0.192982 | 0.05504 | 0 | 0 | 0 | 0 | 0 | 1 | 0.096774 | false | 0.064516 | 0.048387 | 0.016129 | 0.306452 | 0.064516 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
742f99cc65dd0b73aadb4762d17f9a427f8acc40 | 2,962 | py | Python | day_01.py | philarmour/aoc-2017 | 94fed879c766a41f55a6fa1a1e3d02fc1b5b366e | [
"Apache-2.0"
] | null | null | null | day_01.py | philarmour/aoc-2017 | 94fed879c766a41f55a6fa1a1e3d02fc1b5b366e | [
"Apache-2.0"
] | null | null | null | day_01.py | philarmour/aoc-2017 | 94fed879c766a41f55a6fa1a1e3d02fc1b5b366e | [
"Apache-2.0"
] | null | null | null |
captcha="4281224989975872839961169513979579335691369498483794171253625322698694611857431137339923313798564463624821296465562866115437565642757153598749248981134244727829747894643486262785329362288817862735862788865758282393667944292233174767223374243992399861536752759241133225618738143644513391869188134516852631928916... | 55.886792 | 2,062 | 0.836597 | 121 | 2,962 | 20.413223 | 0.239669 | 0.01417 | 0.012955 | 0.024292 | 0.087449 | 0.069636 | 0.069636 | 0.069636 | 0.052632 | 0.02834 | 0 | 0.778951 | 0.104997 | 2,962 | 52 | 2,063 | 56.961538 | 0.152773 | 0.054693 | 0 | 0.37931 | 0 | 0 | 0.743737 | 0.734431 | 0 | 1 | 0 | 0 | 0 | 1 | 0.137931 | false | 0 | 0 | 0 | 0.206897 | 0.068966 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
7435d25b2e20cacd6a8d1f812d3a6df1b859ce67 | 2,913 | py | Python | clients/python/pacman.py | jsestrich/light-project | 3b00472feb859dc8a4a839e976fdfbb70bd23c1b | [
"CC0-1.0"
] | 1 | 2018-01-31T14:18:19.000Z | 2018-01-31T14:18:19.000Z | clients/python/pacman.py | jsestrich/light-project | 3b00472feb859dc8a4a839e976fdfbb70bd23c1b | [
"CC0-1.0"
] | null | null | null | clients/python/pacman.py | jsestrich/light-project | 3b00472feb859dc8a4a839e976fdfbb70bd23c1b | [
"CC0-1.0"
] | null | null | null | #!/usr/bin/env python
# Open Pixel Control client: All lights to solid white
import opc, time
w = 8
h = 8
numLEDs = w * h
client = opc.Client('localhost:8080')
pixels = [(0, 0, 0)] * numLEDs
PACMAN_IMGS = [
[
[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0],
... | 35.52439 | 74 | 0.343289 | 769 | 2,913 | 1.295189 | 0.059818 | 0.63253 | 0.822289 | 0.943775 | 0.677711 | 0.677711 | 0.677711 | 0.677711 | 0.677711 | 0.677711 | 0 | 0.38172 | 0.361483 | 2,913 | 81 | 75 | 35.962963 | 0.153763 | 0.02506 | 0 | 0.643836 | 0 | 0 | 0.004933 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.013699 | 0 | 0.013699 | 0 | 0 | 0 | 1 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
77943aec4b1c16db9048237350d8d48977293d28 | 306 | py | Python | main.py | PoPoPoPony/flow_bot | 682eb653b7194a1e72e499a552a2512d3ac1b373 | [
"MIT"
] | null | null | null | main.py | PoPoPoPony/flow_bot | 682eb653b7194a1e72e499a552a2512d3ac1b373 | [
"MIT"
] | null | null | null | main.py | PoPoPoPony/flow_bot | 682eb653b7194a1e72e499a552a2512d3ac1b373 | [
"MIT"
] | null | null | null | import flow
ip_lst = flow.get_ip_lst_1()
flow.check_ip(ip_lst, song_id=157014)
ip_lst = flow.get_ip_lst_2()
flow.check_ip(ip_lst, song_id=157014)
ip_lst = flow.get_ip_lst_3()
flow.check_ip(ip_lst, song_id=157014)
ip_lst = flow.get_ip_lst_4(3)
flow.check_ip(ip_lst, song_id=157014)
| 17 | 38 | 0.728758 | 63 | 306 | 3.095238 | 0.206349 | 0.307692 | 0.184615 | 0.246154 | 0.933333 | 0.933333 | 0.846154 | 0.846154 | 0.846154 | 0.692308 | 0 | 0.111969 | 0.153595 | 306 | 17 | 39 | 18 | 0.640927 | 0 | 0 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.111111 | 0 | 0.111111 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 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 | 9 |
77ae5b2dd2890a2f970641fe663643086fa494e8 | 10,061 | py | Python | src/foreign_if/python/main/python/frovedis/mllib/tree.py | wmeddie/frovedis | c134e5e64114799cc7c265c72525ff98d06b49c1 | [
"BSD-2-Clause"
] | null | null | null | src/foreign_if/python/main/python/frovedis/mllib/tree.py | wmeddie/frovedis | c134e5e64114799cc7c265c72525ff98d06b49c1 | [
"BSD-2-Clause"
] | null | null | null | src/foreign_if/python/main/python/frovedis/mllib/tree.py | wmeddie/frovedis | c134e5e64114799cc7c265c72525ff98d06b49c1 | [
"BSD-2-Clause"
] | null | null | null | #!/usr/bin/env python
from .model_util import *
from ..exrpc.rpclib import *
from ..exrpc.server import *
from ..matrix.ml_data import FrovedisLabeledPoint
from ..matrix.dtype import TypeUtil
from .metrics import *
import numpy as np
# Decision Tree Regressor Class
class DecisionTreeRegressor:
"A python wrapper of ... | 36.060932 | 94 | 0.678163 | 1,461 | 10,061 | 4.414784 | 0.13347 | 0.029767 | 0.030388 | 0.017054 | 0.869767 | 0.857674 | 0.831783 | 0.816279 | 0.808837 | 0.808837 | 0 | 0.007485 | 0.229798 | 10,061 | 278 | 95 | 36.190647 | 0.824881 | 0.132094 | 0 | 0.84456 | 0 | 0 | 0.126291 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.108808 | false | 0 | 0.036269 | 0 | 0.202073 | 0.020725 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
77afb70f992cb547996100055ca785fdf64c44c6 | 183 | py | Python | venv/Scripts/ex096.py | SamuelNunesDev/starting_point_in_python | 9a9e39cabb5f3526ee0037012e3943898c1d9dfa | [
"MIT"
] | null | null | null | venv/Scripts/ex096.py | SamuelNunesDev/starting_point_in_python | 9a9e39cabb5f3526ee0037012e3943898c1d9dfa | [
"MIT"
] | null | null | null | venv/Scripts/ex096.py | SamuelNunesDev/starting_point_in_python | 9a9e39cabb5f3526ee0037012e3943898c1d9dfa | [
"MIT"
] | null | null | null | def area(l, c):
return f'A área do terreno {l}x{c} é de {l * c:.2f} m²'
print(area(float(input('Qual a largura do terreno? ')), float(input('Qual o comprimento do terreno? '))))
| 36.6 | 105 | 0.639344 | 35 | 183 | 3.342857 | 0.628571 | 0.230769 | 0.239316 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013245 | 0.174863 | 183 | 4 | 106 | 45.75 | 0.761589 | 0 | 0 | 0 | 0 | 0.333333 | 0.562842 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 0.666667 | 0.333333 | 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 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
77fb348a4025f86570371535f2d3c6aa8aaffff8 | 1,229 | py | Python | examples/markdown/estimatingtheareaofacircleMD/problem_statement/gen_xfig_points.py | etdickey/problemtools | 6ab0e6fc3b00893bda387d25c5fef0f36b4a9be0 | [
"MIT"
] | null | null | null | examples/markdown/estimatingtheareaofacircleMD/problem_statement/gen_xfig_points.py | etdickey/problemtools | 6ab0e6fc3b00893bda387d25c5fef0f36b4a9be0 | [
"MIT"
] | null | null | null | examples/markdown/estimatingtheareaofacircleMD/problem_statement/gen_xfig_points.py | etdickey/problemtools | 6ab0e6fc3b00893bda387d25c5fef0f36b4a9be0 | [
"MIT"
] | null | null | null | #!/usr/bin/python
"""Generate 75 points inside and 25 points outside the circle"""
import random
boundary_x = (3300, 7700)
boundary_y = (3000, 7400)
radius_2 = 2250 ** 2
center_x = 5490
center_y = 5220
point_radius = 45
count = 0
while count < 75:
cx = random.randint(*boundary_x)
cy = random.r... | 29.261905 | 131 | 0.540277 | 194 | 1,229 | 3.278351 | 0.252577 | 0.224843 | 0.150943 | 0.163522 | 0.701258 | 0.701258 | 0.701258 | 0.701258 | 0.701258 | 0.701258 | 0 | 0.127059 | 0.308381 | 1,229 | 41 | 132 | 29.97561 | 0.621176 | 0.013019 | 0 | 0.62069 | 1 | 0.068966 | 0.165505 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.034483 | null | null | 0.068966 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
24b88f8120db1c60cb2aec3bad7360bf7727c63f | 29,754 | py | Python | tests/medianizer_test.py | fxfactorial/open-oracle-medianizer | 5b642a8d6f64b61c41759eaf370d673da5eeacd4 | [
"MIT"
] | null | null | null | tests/medianizer_test.py | fxfactorial/open-oracle-medianizer | 5b642a8d6f64b61c41759eaf370d673da5eeacd4 | [
"MIT"
] | null | null | null | tests/medianizer_test.py | fxfactorial/open-oracle-medianizer | 5b642a8d6f64b61c41759eaf370d673da5eeacd4 | [
"MIT"
] | 1 | 2021-09-05T22:34:24.000Z | 2021-09-05T22:34:24.000Z | REPORTS = [
{
"address": "0xCd0D1a6BD24fCD578d1bb211487cD24f840BC900",
"payload": {
"messages": [
"0x000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000602110e50000000000000000000000000000000000000000000... | 156.6 | 533 | 0.883511 | 328 | 29,754 | 80.140244 | 0.5 | 0.00213 | 0.00506 | 0.002283 | 0.009549 | 0.002663 | 0.002663 | 0.002663 | 0 | 0 | 0 | 0.862855 | 0.088862 | 29,754 | 189 | 534 | 157.428571 | 0.10675 | 0 | 0 | 0.171123 | 0 | 0 | 0.867816 | 0.839887 | 0 | 1 | 0.839887 | 0 | 0.042781 | 1 | 0.005348 | false | 0 | 0 | 0 | 0.005348 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
24c7cc197a589715d35591d8ba779bbe5a535015 | 76 | py | Python | Modulo_1/semana2/variables_contantes/verificar-palabras-reservadas.py | rubens233/cocid_python | 492ebdf21817e693e5eb330ee006397272f2e0cc | [
"MIT"
] | null | null | null | Modulo_1/semana2/variables_contantes/verificar-palabras-reservadas.py | rubens233/cocid_python | 492ebdf21817e693e5eb330ee006397272f2e0cc | [
"MIT"
] | null | null | null | Modulo_1/semana2/variables_contantes/verificar-palabras-reservadas.py | rubens233/cocid_python | 492ebdf21817e693e5eb330ee006397272f2e0cc | [
"MIT"
] | 1 | 2022-03-04T00:57:18.000Z | 2022-03-04T00:57:18.000Z | import keyword
print(keyword.iskeyword('as'))
print(keyword.iskeyword('x'))
| 19 | 30 | 0.763158 | 10 | 76 | 5.8 | 0.6 | 0.413793 | 0.724138 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.052632 | 76 | 3 | 31 | 25.333333 | 0.805556 | 0 | 0 | 0 | 0 | 0 | 0.039474 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0.666667 | 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 | 1 | 0 | 7 |
24e9ab3f9ac1b64d760f7e8273126a6ba79d71cb | 8,320 | py | Python | tests/test_optimizer.py | AFDWang/Hetu | c2c85a8db885dabec41aeafe3895e5f818795e57 | [
"Apache-2.0"
] | 82 | 2021-07-20T02:45:54.000Z | 2022-03-14T07:08:45.000Z | tests/test_optimizer.py | AFDWang/Hetu | c2c85a8db885dabec41aeafe3895e5f818795e57 | [
"Apache-2.0"
] | 4 | 2021-11-25T13:39:21.000Z | 2022-03-13T04:14:14.000Z | tests/test_optimizer.py | AFDWang/Hetu | c2c85a8db885dabec41aeafe3895e5f818795e57 | [
"Apache-2.0"
] | 13 | 2021-07-18T14:40:56.000Z | 2022-03-09T06:37:42.000Z | import numpy as np
import hetu as ht
from hetu import gpu_links as gpu_op
def test_adamw():
ctx = ht.gpu(0)
shape = (500,400)
param = np.random.uniform(-10, 10, size=shape).astype(np.float32)
grad = np.random.uniform(-10, 10, size=shape).astype(np.float32)
m = np.random.uniform(-10, 10, size=shape... | 27.458746 | 111 | 0.589183 | 1,350 | 8,320 | 3.5 | 0.071852 | 0.046561 | 0.050794 | 0.05037 | 0.917037 | 0.89545 | 0.89545 | 0.891217 | 0.878942 | 0.864974 | 0 | 0.052699 | 0.251923 | 8,320 | 303 | 112 | 27.458746 | 0.706459 | 0.016346 | 0 | 0.889328 | 0 | 0 | 0.026168 | 0 | 0 | 0 | 0 | 0 | 0.047431 | 1 | 0.01581 | false | 0 | 0.011858 | 0 | 0.027668 | 0.268775 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
706e2fe849958455888e9078a2a0eb54ff6cb2f8 | 173 | py | Python | third_party_package/RDKit_2015_03_1/rdkit/_py2_pickle.py | Ivy286/cluster_basedfps | 7fc216537f570436f008ea567c137d03ba2b6d81 | [
"WTFPL"
] | 9 | 2019-04-23T01:46:12.000Z | 2021-08-16T07:07:12.000Z | third_party_package/RDKit_2015_03_1/rdkit/_py2_pickle.py | Ivy286/cluster_basedfps | 7fc216537f570436f008ea567c137d03ba2b6d81 | [
"WTFPL"
] | null | null | null | third_party_package/RDKit_2015_03_1/rdkit/_py2_pickle.py | Ivy286/cluster_basedfps | 7fc216537f570436f008ea567c137d03ba2b6d81 | [
"WTFPL"
] | 5 | 2016-09-21T03:47:48.000Z | 2019-07-30T22:17:35.000Z | from cPickle import load as _load
from cPickle import loads as _loads
from cPickle import *
def load(f, **kwargs): return _load(f)
def loads(s, **kwargs): return _loads(s)
| 24.714286 | 40 | 0.745665 | 29 | 173 | 4.310345 | 0.37931 | 0.264 | 0.408 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.156069 | 173 | 6 | 41 | 28.833333 | 0.856164 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0.6 | 0.4 | 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 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 8 |
708bf211dc5dcdfb62ff16191fc2112f3343c1ce | 110 | py | Python | test_demo.py | justinharringa/jenkins-config-driven-demo-another-repo | 55280fee3fd729e665eda8135c2a5be5d2869166 | [
"MIT"
] | null | null | null | test_demo.py | justinharringa/jenkins-config-driven-demo-another-repo | 55280fee3fd729e665eda8135c2a5be5d2869166 | [
"MIT"
] | null | null | null | test_demo.py | justinharringa/jenkins-config-driven-demo-another-repo | 55280fee3fd729e665eda8135c2a5be5d2869166 | [
"MIT"
] | null | null | null | from demo import do_something
def test_do_something():
assert do_something("anything") == "Do anything"
| 18.333333 | 52 | 0.745455 | 15 | 110 | 5.2 | 0.6 | 0.423077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.154545 | 110 | 5 | 53 | 22 | 0.83871 | 0 | 0 | 0 | 0 | 0 | 0.172727 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
562850106a818f51947f72c021d59416dfc76759 | 58,529 | py | Python | das_decennial/programs/writer/cef_2020/mdf_validator_classes.py | p-b-j/uscb-das-container-public | 7f7ba44055da15d13b191180249e656e1bd398c6 | [
"MIT"
] | 1 | 2021-11-13T01:35:31.000Z | 2021-11-13T01:35:31.000Z | das_decennial/programs/writer/cef_2020/mdf_validator_classes.py | p-b-j/uscb-das-container-public | 7f7ba44055da15d13b191180249e656e1bd398c6 | [
"MIT"
] | 1 | 2021-10-30T00:48:45.000Z | 2021-11-01T23:33:46.000Z | das_decennial/programs/writer/cef_2020/mdf_validator_classes.py | p-b-j/uscb-das-container-public | 7f7ba44055da15d13b191180249e656e1bd398c6 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
# This file was automatically generated by ../etl_2020/census_etl/spec_scanner.py on Fri Oct 30 14:46:58 2020
# Command line: ../etl_2020/census_etl/spec_scanner.py ../etl_2020/mdf/2020 Microdata Detail File Specification v8_05292020.docx --output_parser ../das_decennial/p... | 79.631293 | 12,366 | 0.575339 | 8,924 | 58,529 | 3.680188 | 0.039444 | 0.062359 | 0.06851 | 0.051154 | 0.848121 | 0.795628 | 0.780982 | 0.760276 | 0.753091 | 0.7164 | 0 | 0.083115 | 0.199115 | 58,529 | 734 | 12,367 | 79.739782 | 0.617515 | 0.083138 | 0 | 0.604101 | 1 | 0.029968 | 0.183611 | 0.011044 | 0 | 0 | 0 | 0 | 0.006309 | 1 | 0.118297 | false | 0.003155 | 0.003155 | 0.009464 | 0.326498 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
563d121504f7979fc5590a3987a6ef2a51541bda | 206 | py | Python | transform/__init__.py | johnpeterflynn/surface-texture-inpainting-net | b2de05eaa47c9bcca53b9aee12b6012ac2c05156 | [
"MIT"
] | null | null | null | transform/__init__.py | johnpeterflynn/surface-texture-inpainting-net | b2de05eaa47c9bcca53b9aee12b6012ac2c05156 | [
"MIT"
] | null | null | null | transform/__init__.py | johnpeterflynn/surface-texture-inpainting-net | b2de05eaa47c9bcca53b9aee12b6012ac2c05156 | [
"MIT"
] | null | null | null | from .color_normalization import *
from .coords_normalization import *
from .random_rotation import *
from .random_linear_transformation import *
from .add_self_loops import *
from .move_to_origin import *
| 29.428571 | 43 | 0.825243 | 27 | 206 | 5.962963 | 0.555556 | 0.310559 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116505 | 206 | 6 | 44 | 34.333333 | 0.884615 | 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 | 1 | 0 | 0 | 7 |
567d667c0724b2491abcdb4513fb1bd8bfe4a739 | 651 | py | Python | runtime/bindings/python/src/openvino/offline_transformations_pybind/__init__.py | chccc1994/openvino | 41f7893ae81d186d15c1754b179bf32a66d03bcf | [
"Apache-2.0"
] | 1 | 2020-11-19T15:53:18.000Z | 2020-11-19T15:53:18.000Z | runtime/bindings/python/src/openvino/offline_transformations_pybind/__init__.py | thomas-yanxin/openvino | 031e998a15ec738c64cc2379d7f30fb73087c272 | [
"Apache-2.0"
] | 40 | 2020-11-17T10:09:20.000Z | 2022-02-21T13:14:20.000Z | runtime/bindings/python/src/openvino/offline_transformations_pybind/__init__.py | thomas-yanxin/openvino | 031e998a15ec738c64cc2379d7f30fb73087c272 | [
"Apache-2.0"
] | 4 | 2021-09-29T20:44:49.000Z | 2021-10-20T13:02:12.000Z | # -*- coding: utf-8 -*-
# Copyright (C) 2021 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
from openvino.pyopenvino.offline_transformations_pybind import apply_moc_transformations
from openvino.pyopenvino.offline_transformations_pybind import apply_pot_transformations
from openvino.pyopenvino.offline_transfo... | 59.181818 | 97 | 0.894009 | 76 | 651 | 7.315789 | 0.434211 | 0.129496 | 0.23741 | 0.31295 | 0.753597 | 0.753597 | 0.753597 | 0.753597 | 0.273381 | 0 | 0 | 0.011438 | 0.059908 | 651 | 10 | 98 | 65.1 | 0.897059 | 0.144393 | 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 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
3b28713403a5a461efdc03c6e7427230866ff704 | 4,311 | py | Python | cycles.py | samtx/rankine | 81f33e98d4d98d5783351330d971f3a2463b34ea | [
"MIT"
] | 2 | 2015-10-29T19:59:31.000Z | 2017-10-21T08:21:40.000Z | cycles.py | samtx/rankine | 81f33e98d4d98d5783351330d971f3a2463b34ea | [
"MIT"
] | null | null | null | cycles.py | samtx/rankine | 81f33e98d4d98d5783351330d971f3a2463b34ea | [
"MIT"
] | 2 | 2015-11-21T17:20:40.000Z | 2019-01-20T14:20:24.000Z |
from .components import Boiler, Turbine, Condenser, Pump, connect_flow
from .thermodynamics import Cycle, State
def ideal_rankine(**kwargs):
fluid = kwargs.get('fluid','Water')
p_hi = kwargs.get('p_hi',None) * 1e6 # MPa
p_lo = kwargs.get('p_lo',None) * 1e6 # MPa
turb_eff = kwargs.get('turb_eff',1.0) ... | 39.916667 | 115 | 0.657388 | 733 | 4,311 | 3.6794 | 0.091405 | 0.086763 | 0.09455 | 0.126066 | 0.865406 | 0.794957 | 0.746385 | 0.731183 | 0.716722 | 0.695958 | 0 | 0.02876 | 0.193459 | 4,311 | 107 | 116 | 40.28972 | 0.746908 | 0.05312 | 0 | 0.709302 | 0 | 0 | 0.044368 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.034884 | false | 0 | 0.023256 | 0 | 0.093023 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
3b40feb35606b363c8a3c739555f87bf4edef46d | 223 | py | Python | common/constants/loginconstants.py | cosee/realworld-demo-ui-test | 309c5aad0be1978ef819ed14c3c15ead09ab819b | [
"Apache-2.0"
] | null | null | null | common/constants/loginconstants.py | cosee/realworld-demo-ui-test | 309c5aad0be1978ef819ed14c3c15ead09ab819b | [
"Apache-2.0"
] | null | null | null | common/constants/loginconstants.py | cosee/realworld-demo-ui-test | 309c5aad0be1978ef819ed14c3c15ead09ab819b | [
"Apache-2.0"
] | null | null | null | LOGIN_URL = "/login"
XPATH_EMAIL_INPUT = "//form//input[contains(@placeholder,'Email')]"
XPATH_PASSWORD_INPUT = "//form//input[contains(@placeholder,'Password')]"
XPATH_SUBMIT = "//form//button[contains(@type,'submit')]"
| 31.857143 | 73 | 0.717489 | 26 | 223 | 5.923077 | 0.461538 | 0.116883 | 0.181818 | 0.285714 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.06278 | 223 | 6 | 74 | 37.166667 | 0.736842 | 0 | 0 | 0 | 0 | 0 | 0.623318 | 0.596413 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.25 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
8ed4646f2ce029befda740af9792d273cb3c8479 | 179 | py | Python | tonic/agents/__init__.py | Eyalcohenx/tonic | afc15c6fa23fed4f696f68f0acf961964b0172dc | [
"MIT"
] | 350 | 2020-08-06T13:49:11.000Z | 2022-03-24T08:53:59.000Z | tonic/agents/__init__.py | Eyalcohenx/tonic | afc15c6fa23fed4f696f68f0acf961964b0172dc | [
"MIT"
] | 12 | 2020-08-07T02:21:58.000Z | 2021-05-20T11:50:44.000Z | tonic/agents/__init__.py | Eyalcohenx/tonic | afc15c6fa23fed4f696f68f0acf961964b0172dc | [
"MIT"
] | 35 | 2020-08-06T16:53:40.000Z | 2021-12-17T06:01:09.000Z | from .agent import Agent
from .basic import Constant, NormalRandom, OrnsteinUhlenbeck, UniformRandom
__all__ = [Agent, Constant, NormalRandom, OrnsteinUhlenbeck, UniformRandom]
| 29.833333 | 75 | 0.821229 | 17 | 179 | 8.411765 | 0.529412 | 0.27972 | 0.517483 | 0.699301 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111732 | 179 | 5 | 76 | 35.8 | 0.899371 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
d94a83adc661b7d95524dc4e2c6dbb2bf6999999 | 168 | py | Python | itm-413/fiddle/randrange.py | bradyhouse/iit | 7d1e91864467f56fa6dc901a83e97977630132b3 | [
"MIT"
] | 1 | 2018-05-02T11:45:25.000Z | 2018-05-02T11:45:25.000Z | itm-413/fiddle/randrange.py | bradyhouse/iit | 7d1e91864467f56fa6dc901a83e97977630132b3 | [
"MIT"
] | null | null | null | itm-413/fiddle/randrange.py | bradyhouse/iit | 7d1e91864467f56fa6dc901a83e97977630132b3 | [
"MIT"
] | null | null | null | import os
import random
print 'random.randrange(0,10):'
print random.randrange(0,10)
print 'random.randrange(0,1000,10):'
print random.randrange(0,1000,10)
os._exit(1) | 21 | 36 | 0.761905 | 29 | 168 | 4.37931 | 0.344828 | 0.346457 | 0.629921 | 0.661417 | 0.787402 | 0.787402 | 0.787402 | 0.527559 | 0.527559 | 0 | 0 | 0.135484 | 0.077381 | 168 | 8 | 37 | 21 | 0.683871 | 0 | 0 | 0 | 0 | 0 | 0.301775 | 0.301775 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.285714 | null | null | 0.571429 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 1 | 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 | 9 |
d983cfef197f83dae564ab0b4a52a7ba3ac721b3 | 9,786 | py | Python | lib/instagram.py | jsmnkk/api | e35ebd62ccd24e11d3a3b9944dfdd614d2940392 | [
"MIT"
] | null | null | null | lib/instagram.py | jsmnkk/api | e35ebd62ccd24e11d3a3b9944dfdd614d2940392 | [
"MIT"
] | null | null | null | lib/instagram.py | jsmnkk/api | e35ebd62ccd24e11d3a3b9944dfdd614d2940392 | [
"MIT"
] | 1 | 2021-12-26T15:40:02.000Z | 2021-12-26T15:40:02.000Z | from flask import jsonify
def insta1(json_data):
if json_data:
json_data_ = json_data
try:
json_result = json_data_['items'][0]
user_metadata = json_result['user']
location_data = json_result['location']
caption_data = json_result['caption'... | 44.481818 | 124 | 0.461271 | 800 | 9,786 | 5.3 | 0.1 | 0.089623 | 0.080189 | 0.122642 | 0.806368 | 0.791509 | 0.746462 | 0.703774 | 0.703774 | 0.695755 | 0 | 0.002036 | 0.447885 | 9,786 | 219 | 125 | 44.684932 | 0.782713 | 0 | 0 | 0.711628 | 0 | 0 | 0.153131 | 0.017874 | 0 | 0 | 0 | 0 | 0 | 1 | 0.013953 | false | 0 | 0.004651 | 0 | 0.04186 | 0.009302 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
79773928b83d9314070e90e7e5792ba543c6480e | 2,424 | py | Python | 2017/aoc_01.py | justanotherdot/advent-linguist | 4dfd4ef483ddbd40fb8cf7a1719705186d4ed823 | [
"MIT"
] | null | null | null | 2017/aoc_01.py | justanotherdot/advent-linguist | 4dfd4ef483ddbd40fb8cf7a1719705186d4ed823 | [
"MIT"
] | 4 | 2016-12-06T03:23:27.000Z | 2019-04-07T21:50:04.000Z | 2017/aoc_01.py | justanotherdot/advent-linguist | 4dfd4ef483ddbd40fb8cf7a1719705186d4ed823 | [
"MIT"
] | null | null | null | # Input.
s = '367436765224262147416876392821832169781285655941123648172835986213848397566284241467793119283183835972359686446876651595915734132336167171121577524691918457577129283476247264385162111539468922414495231484194262592917889386218863347344978231632813893898536759322467341535638612338949526576258684154323161554... | 101 | 2,036 | 0.914604 | 77 | 2,424 | 28.714286 | 0.376623 | 0.012212 | 0.017639 | 0.005427 | 0.008141 | 0.008141 | 0.008141 | 0 | 0 | 0 | 0 | 0.891998 | 0.056518 | 2,424 | 23 | 2,037 | 105.391304 | 0.07477 | 0.007426 | 0 | 0.125 | 0 | 0 | 0.845129 | 0.845129 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.0625 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
8de32f2e52c69064e70a8a07809f500fc985b8e4 | 141 | py | Python | doiListSingleFile.py | LechMadeyski/PhD19MarekSosnicki | 9ea8af436e451f47062a132abc02f21b00403876 | [
"Apache-2.0"
] | 2 | 2021-03-23T18:23:27.000Z | 2021-06-22T20:01:59.000Z | doiListSingleFile.py | LechMadeyski/AutomatedSearchHelper | 9ea8af436e451f47062a132abc02f21b00403876 | [
"Apache-2.0"
] | null | null | null | doiListSingleFile.py | LechMadeyski/AutomatedSearchHelper | 9ea8af436e451f47062a132abc02f21b00403876 | [
"Apache-2.0"
] | null | null | null | def doiList():
return [
"10.1016/j.jksuci.2019.05.004", # ScienceDirect good example
"10.1016/j.eswa.2019.04.070"
]
| 20.142857 | 68 | 0.58156 | 20 | 141 | 4.1 | 0.8 | 0.146341 | 0.170732 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.285714 | 0.255319 | 141 | 6 | 69 | 23.5 | 0.495238 | 0.184397 | 0 | 0 | 0 | 0 | 0.482143 | 0.482143 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0 | 0.2 | 0.4 | 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 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 7 |
30dd6d35b6556b83d4b34506f8ec8bdd308549f0 | 13,658 | py | Python | Bayes Classifier/bayes_cost.py | prash030/pattern_recognition_projects | 9ef2631a5d054d23616e4955a6343380a6cea7d6 | [
"Apache-2.0"
] | null | null | null | Bayes Classifier/bayes_cost.py | prash030/pattern_recognition_projects | 9ef2631a5d054d23616e4955a6343380a6cea7d6 | [
"Apache-2.0"
] | null | null | null | Bayes Classifier/bayes_cost.py | prash030/pattern_recognition_projects | 9ef2631a5d054d23616e4955a6343380a6cea7d6 | [
"Apache-2.0"
] | null | null | null | # bayes_cost.py
# Copyright (c) Prasanth "Prash" Ganesan
# Author email: <prasganesan.pg@gmail.com>
# Program to classify the classes in data using Bayes classifier
from pylab import *
# Function for counting number of classes to use in finding prior
def count(C,data):
num=0
for i in range(len(d... | 37.01355 | 172 | 0.533241 | 2,106 | 13,658 | 3.430199 | 0.093542 | 0.025609 | 0.021595 | 0.03959 | 0.83015 | 0.82309 | 0.810908 | 0.797896 | 0.792082 | 0.780177 | 0 | 0.047746 | 0.286938 | 13,658 | 368 | 173 | 37.11413 | 0.694014 | 0.105286 | 0 | 0.83959 | 0 | 0 | 0.061632 | 0.004318 | 0 | 0 | 0 | 0 | 0 | 1 | 0.013652 | false | 0 | 0.003413 | 0 | 0.044369 | 0.037543 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
30e2c669aea132682b58ee5f3cc04e381f85a8cb | 11,184 | py | Python | rlpyt/envs/mazeworld/mazeworld/envs/mazeworld_env.py | Improbable-AI/curiosity_baselines | 42dca92b2fb66c0790a72206bf48595d3b5b487f | [
"MIT"
] | 5 | 2021-02-19T01:35:22.000Z | 2022-03-29T20:48:34.000Z | rlpyt/envs/mazeworld/mazeworld/envs/mazeworld_env.py | Improbable-AI/curiosity_baselines | 42dca92b2fb66c0790a72206bf48595d3b5b487f | [
"MIT"
] | null | null | null | rlpyt/envs/mazeworld/mazeworld/envs/mazeworld_env.py | Improbable-AI/curiosity_baselines | 42dca92b2fb66c0790a72206bf48595d3b5b487f | [
"MIT"
] | 2 | 2021-04-17T09:11:56.000Z | 2022-03-24T04:21:17.000Z | from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
import numpy as np
from gym import spaces
from pycolab.examples import (better_scrolly_maze,
deepmind_maze,
deepmind_5room,
... | 37.783784 | 117 | 0.607207 | 1,289 | 11,184 | 4.961986 | 0.089992 | 0.042214 | 0.037523 | 0.025016 | 0.904784 | 0.904784 | 0.904784 | 0.904784 | 0.845059 | 0.845059 | 0 | 0.020534 | 0.290236 | 11,184 | 295 | 118 | 37.911864 | 0.78521 | 0.122675 | 0 | 0.758929 | 0 | 0 | 0.010674 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.133929 | false | 0 | 0.035714 | 0.044643 | 0.303571 | 0.004464 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
30e3e842c1ef94d2ce3c6c2b9b53ca78e4c57ae2 | 450 | py | Python | harness/determined/common/experimental/__init__.py | winding-lines/determined | 231e1ac1df9d77cabc09b724ca2f8070eac0da73 | [
"Apache-2.0"
] | 1 | 2021-12-18T06:39:09.000Z | 2021-12-18T06:39:09.000Z | harness/determined/common/experimental/__init__.py | winding-lines/determined | 231e1ac1df9d77cabc09b724ca2f8070eac0da73 | [
"Apache-2.0"
] | 5 | 2020-10-28T20:46:27.000Z | 2021-06-25T19:20:48.000Z | harness/determined/common/experimental/__init__.py | winding-lines/determined | 231e1ac1df9d77cabc09b724ca2f8070eac0da73 | [
"Apache-2.0"
] | null | null | null | from determined.common.experimental.checkpoint import Checkpoint
from determined.common.experimental.determined import Determined
from determined.common.experimental.experiment import ExperimentReference
from determined.common.experimental.session import Session
from determined.common.experimental.trial import TrialRef... | 64.285714 | 95 | 0.884444 | 47 | 450 | 8.468085 | 0.361702 | 0.211055 | 0.301508 | 0.482412 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.064444 | 450 | 6 | 96 | 75 | 0.945368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 7 |
eb5e2eed53c0d66b8e61c08816589b9e781ccab5 | 39,475 | py | Python | Trajectory_Optimization_Algorithm/traj_optimization.py | ut-ims-robotics/skywalker | 9aec216509fd31affa139c5d92bee0c9756000c4 | [
"BSD-3-Clause"
] | null | null | null | Trajectory_Optimization_Algorithm/traj_optimization.py | ut-ims-robotics/skywalker | 9aec216509fd31affa139c5d92bee0c9756000c4 | [
"BSD-3-Clause"
] | null | null | null | Trajectory_Optimization_Algorithm/traj_optimization.py | ut-ims-robotics/skywalker | 9aec216509fd31affa139c5d92bee0c9756000c4 | [
"BSD-3-Clause"
] | null | null | null | import time
import autograd.numpy as np # Thinly-wrapped version of Numpy
from autograd import grad
import autograd
from scipy.linalg import block_diag
import matplotlib.pyplot as plt
import bernstein_coeff_order10_arbitinterval
from scipy.optimize import minimize
from scipy.linalg import block_diag
from scipy.optimi... | 112.144886 | 9,408 | 0.666903 | 9,841 | 39,475 | 2.449751 | 0.026928 | 0.166335 | 0.196864 | 0.092044 | 0.831301 | 0.797038 | 0.760785 | 0.751037 | 0.748092 | 0.746557 | 0 | 0.225435 | 0.062597 | 39,475 | 351 | 9,409 | 112.464387 | 0.426062 | 0.026143 | 0 | 0.031963 | 0 | 0 | 0.004573 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.063927 | null | null | 0.041096 | 0 | 0 | 0 | null | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 12 |
eb7d4aed08dfd1b0449bd059255676062b1d6fb5 | 20,204 | py | Python | swamp/parsers/tests/test_phaser_parser.py | rigdenlab/SWAMP | 3e93ab27f4acf0124f7cb2d78a151cc3352b9c6e | [
"BSD-3-Clause"
] | 2 | 2020-02-15T11:06:34.000Z | 2020-04-10T08:48:49.000Z | swamp/parsers/tests/test_phaser_parser.py | rigdenlab/SWAMP | 3e93ab27f4acf0124f7cb2d78a151cc3352b9c6e | [
"BSD-3-Clause"
] | 15 | 2020-02-04T10:56:07.000Z | 2021-02-12T09:11:03.000Z | swamp/parsers/tests/test_phaser_parser.py | rigdenlab/SWAMP | 3e93ab27f4acf0124f7cb2d78a151cc3352b9c6e | [
"BSD-3-Clause"
] | 4 | 2020-02-04T13:25:09.000Z | 2022-03-23T13:44:17.000Z | import os
import unittest
from swamp.utils import create_tempfile
from swamp.parsers.phaserparser import PhaserParser
class PhaserParserTestCase(unittest.TestCase):
def test_1(self):
file_contents = """REMARK TITLE [no title set]
REMARK ENSEMBLE PDB_1 EULER 49.90 83.52 180.06 FRAC -0.288 -0.526 -0.158
... | 46.127854 | 147 | 0.610127 | 3,883 | 20,204 | 3.139068 | 0.106361 | 0.025843 | 0.055132 | 0.056608 | 0.815571 | 0.786529 | 0.775781 | 0.774715 | 0.767741 | 0.739191 | 0 | 0.213374 | 0.224312 | 20,204 | 437 | 148 | 46.23341 | 0.564382 | 0 | 0 | 0.662162 | 0 | 0.272973 | 0.917591 | 0.084389 | 0 | 0 | 0 | 0 | 0.037838 | 1 | 0.008108 | false | 0 | 0.010811 | 0 | 0.021622 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
eba9cfc69f4b711893d0b6111843b3e60d0fb233 | 47 | py | Python | pbs_util/test_email.py | Clyde-fare/pbs_util | 1c1ed93773a9a020f9216056d2ae49cc0cd589d1 | [
"BSD-3-Clause"
] | 1 | 2015-08-24T02:48:00.000Z | 2015-08-24T02:48:00.000Z | pbs_util/test_email.py | Clyde-fare/pbs_util | 1c1ed93773a9a020f9216056d2ae49cc0cd589d1 | [
"BSD-3-Clause"
] | null | null | null | pbs_util/test_email.py | Clyde-fare/pbs_util | 1c1ed93773a9a020f9216056d2ae49cc0cd589d1 | [
"BSD-3-Clause"
] | null | null | null |
import send_email
send_email.send('testing')
| 9.4 | 26 | 0.787234 | 7 | 47 | 5 | 0.571429 | 0.514286 | 0.742857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106383 | 47 | 4 | 27 | 11.75 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0.152174 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 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 | 7 |
69128431e80b12590cf8b4bdf18b0693e6555e33 | 1,490 | py | Python | venv/lib/python2.7/site-packages/pychart/afm/Helvetica_Light.py | Christian-Castro/castro_odoo8 | 8247fdb20aa39e043b6fa0c4d0af509462ab3e00 | [
"Unlicense"
] | 1 | 2019-12-19T01:53:13.000Z | 2019-12-19T01:53:13.000Z | venv/lib/python2.7/site-packages/pychart/afm/Helvetica_Light.py | Christian-Castro/castro_odoo8 | 8247fdb20aa39e043b6fa0c4d0af509462ab3e00 | [
"Unlicense"
] | null | null | null | venv/lib/python2.7/site-packages/pychart/afm/Helvetica_Light.py | Christian-Castro/castro_odoo8 | 8247fdb20aa39e043b6fa0c4d0af509462ab3e00 | [
"Unlicense"
] | null | null | null | # AFM font Helvetica-Light (path: /usr/share/fonts/afms/adobe/phvl8a.afm).
# Derived from Ghostscript distribution.
# Go to www.cs.wisc.edu/~ghost to get the Ghostcript source code.
import dir
dir.afm["Helvetica-Light"] = (500, 500, 500, 500, 500, 500, 500, 500, 500, 500, 500, 500, 500, 500, 500, 500, 500, 500, 500, 50... | 248.333333 | 1,296 | 0.62349 | 287 | 1,490 | 3.236934 | 0.167247 | 0.620022 | 0.833154 | 0.994618 | 0.397201 | 0.322928 | 0.322928 | 0.297094 | 0.297094 | 0.264801 | 0 | 0.628713 | 0.186577 | 1,490 | 5 | 1,297 | 298 | 0.137789 | 0.11745 | 0 | 0 | 0 | 0 | 0.011442 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 10 |
692a297ddb5c02b2820fd4730b0e705829df9621 | 14,516 | py | Python | common/sock_rsa_double.py | nigelliyang/ccwt_client | 4efb8f2c790145b5f547e350d24413bb8b1bd9ed | [
"Apache-2.0"
] | null | null | null | common/sock_rsa_double.py | nigelliyang/ccwt_client | 4efb8f2c790145b5f547e350d24413bb8b1bd9ed | [
"Apache-2.0"
] | null | null | null | common/sock_rsa_double.py | nigelliyang/ccwt_client | 4efb8f2c790145b5f547e350d24413bb8b1bd9ed | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# @Date : 2018/12/6 0:17 By xycfree
# @Descript:
import json
import re
import struct
import websocket
# 设置交易所及交易对,70行处需要手动修改交易所及交易对,BITFINEX:BTCUSD
exchange_symbol = "BITFINEX:BTCUSD"
def write_msg(message):
data = struct.pack('B', 129) # 写入第一个字节 10000001
# 写... | 94.25974 | 2,133 | 0.718035 | 1,426 | 14,516 | 7.145161 | 0.287518 | 0.014722 | 0.017666 | 0.015311 | 0.792914 | 0.780351 | 0.769555 | 0.743841 | 0.732947 | 0.732947 | 0 | 0.106556 | 0.091003 | 14,516 | 153 | 2,134 | 94.875817 | 0.665176 | 0.523422 | 0 | 0.02381 | 0 | 0.059524 | 0.538036 | 0.355581 | 0 | 1 | 0 | 0 | 0 | 1 | 0.059524 | false | 0.02381 | 0.047619 | 0 | 0.130952 | 0.095238 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
15c7f04c4d22c73a5d16ff18715cb6c95c5d8148 | 13,287 | py | Python | selected_cols.py | launis/areadata | 8cf0e30ec489ce9655fcd9829284d1ec70e7360d | [
"BSD-3-Clause"
] | null | null | null | selected_cols.py | launis/areadata | 8cf0e30ec489ce9655fcd9829284d1ec70e7360d | [
"BSD-3-Clause"
] | null | null | null | selected_cols.py | launis/areadata | 8cf0e30ec489ce9655fcd9829284d1ec70e7360d | [
"BSD-3-Clause"
] | null | null | null | def selected_cols(largeset = False, parties=True, pnroalue = True):
if largeset==True:
numeric_features = ['Miehet, 2018 (HE) osuudesta asukkaat',
'Naiset, 2018 (HE) osuudesta asukkaat',
'Asuntojen keskipinta-ala, 2018 (RA) osuus total',
... | 83.566038 | 261 | 0.540905 | 1,098 | 13,287 | 6.529144 | 0.229508 | 0.151765 | 0.058586 | 0.089831 | 0.816571 | 0.805691 | 0.799275 | 0.790208 | 0.790208 | 0.790208 | 0 | 0.057833 | 0.392263 | 13,287 | 159 | 262 | 83.566038 | 0.829474 | 0 | 0 | 0.736842 | 0 | 0.019737 | 0.615765 | 0.00655 | 0 | 0 | 0 | 0 | 0 | 1 | 0.006579 | false | 0 | 0 | 0 | 0.006579 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
c60a2cc1c22fe56343cd87594edf7ff1c366f8f2 | 16,161 | py | Python | src/nti/recipes/zodb/tests/test_relstorage.py | NextThought/nti.recipes.zodb | 6cf9c4faeacc59083c200dd6cdba813dfdfd9390 | [
"Apache-2.0"
] | null | null | null | src/nti/recipes/zodb/tests/test_relstorage.py | NextThought/nti.recipes.zodb | 6cf9c4faeacc59083c200dd6cdba813dfdfd9390 | [
"Apache-2.0"
] | 8 | 2019-11-05T17:05:49.000Z | 2020-10-06T15:26:06.000Z | src/nti/recipes/zodb/tests/test_relstorage.py | NextThought/nti.recipes.zodb | 6cf9c4faeacc59083c200dd6cdba813dfdfd9390 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from __future__ import print_function, absolute_import, division
__docformat__ = "restructuredtext en"
import textwrap
import unittest
from hamcrest import is_not
from hamcrest import assert_that
from hamcrest import contains_string
from nti.recipes.zodb.relstorage impo... | 30.207477 | 97 | 0.58536 | 1,611 | 16,161 | 5.673495 | 0.113594 | 0.095624 | 0.052079 | 0.060284 | 0.828884 | 0.786652 | 0.745405 | 0.72779 | 0.72779 | 0.702188 | 0 | 0.013571 | 0.306974 | 16,161 | 534 | 98 | 30.264045 | 0.8025 | 0.030939 | 0 | 0.761589 | 0 | 0 | 0.537211 | 0.114636 | 0 | 0 | 0 | 0 | 0.075055 | 1 | 0.02649 | false | 0.030905 | 0.01766 | 0.002208 | 0.050773 | 0.002208 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
c6530ec3c1fa6e94107ba9d193115ef424b06e74 | 9,780 | py | Python | hopfield.py | h-mayorquin/hopfield_sequences | ca502821450589abcf195ff25b94c766becc8e6c | [
"MIT"
] | null | null | null | hopfield.py | h-mayorquin/hopfield_sequences | ca502821450589abcf195ff25b94c766becc8e6c | [
"MIT"
] | null | null | null | hopfield.py | h-mayorquin/hopfield_sequences | ca502821450589abcf195ff25b94c766becc8e6c | [
"MIT"
] | null | null | null | import numpy as np
import collections
class Hopfield():
"""
The hopfield network in the simplest case of AMIT book in attractor neural network
"""
def __init__(self, n_dim=3, T=0, prng=np.random):
self.prng = prng
self.n_dim = n_dim
self.s = np.sign(prng.normal(size=n_dim))
... | 29.546828 | 100 | 0.600204 | 1,423 | 9,780 | 3.97681 | 0.104708 | 0.027567 | 0.096483 | 0.063615 | 0.866231 | 0.858986 | 0.843082 | 0.8217 | 0.815692 | 0.805796 | 0 | 0.01205 | 0.295706 | 9,780 | 331 | 101 | 29.546828 | 0.809524 | 0.216871 | 0 | 0.720497 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.136646 | false | 0 | 0.012422 | 0 | 0.223602 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
d672d935a24d0c14b46a69a864fcaddfb22f49ee | 334,406 | py | Python | skidl/libs/msp430_sklib.py | arjenroodselaar/skidl | 0bf801bd3b74e6ef94bd9aa1b68eef756b568276 | [
"MIT"
] | 700 | 2016-08-16T21:12:50.000Z | 2021-10-10T02:15:18.000Z | skidl/libs/msp430_sklib.py | 0dvictor/skidl | 458709a10b28a864d25ae2c2b44c6103d4ddb291 | [
"MIT"
] | 118 | 2016-08-16T20:51:05.000Z | 2021-10-10T08:07:18.000Z | skidl/libs/msp430_sklib.py | 0dvictor/skidl | 458709a10b28a864d25ae2c2b44c6103d4ddb291 | [
"MIT"
] | 94 | 2016-08-25T14:02:28.000Z | 2021-09-12T05:17:08.000Z | from skidl import SKIDL, TEMPLATE, Part, Pin, SchLib
SKIDL_lib_version = '0.0.1'
msp430 = SchLib(tool=SKIDL).add_parts(*[
Part(name='MSP430AFE221IPW',dest=TEMPLATE,tool=SKIDL,keywords='MSP430 MIXED SIGNAL MICROCONTROLLER',description='24pin TSSOP, 16KB Flash Memory, 512B RAM',ref_prefix='U',num_units=1,do_erc... | 78.223626 | 315 | 0.602035 | 58,980 | 334,406 | 3.332859 | 0.015022 | 0.108586 | 0.195455 | 0.245834 | 0.968836 | 0.968485 | 0.968154 | 0.967264 | 0.965392 | 0.964268 | 0 | 0.078714 | 0.16858 | 334,406 | 4,274 | 316 | 78.241928 | 0.628284 | 0 | 0 | 0.814841 | 0 | 0 | 0.218133 | 0.047957 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.007257 | 0.000234 | 0 | 0.000234 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 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 | 9 |
d68f03f56ad519c4aa6b74951dc4b7d0ef9592e5 | 13,041 | py | Python | src/genie/libs/parser/junos/tests/ShowChassisPower/cli/equal/golden_output_expected.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | 204 | 2018-06-27T00:55:27.000Z | 2022-03-06T21:12:18.000Z | src/genie/libs/parser/junos/tests/ShowChassisPower/cli/equal/golden_output_expected.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | 468 | 2018-06-19T00:33:18.000Z | 2022-03-31T23:23:35.000Z | src/genie/libs/parser/junos/tests/ShowChassisPower/cli/equal/golden_output_expected.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | 309 | 2019-01-16T20:21:07.000Z | 2022-03-30T12:56:41.000Z | expected_output = {
'power-usage-information': {
'power-usage-item': [
{
'name': 'PSM 0',
'state': 'Online',
'dc-input-detail2': {
'dc-input-status':
'OK (INP0 feed expected, INP0 feed connected)'
... | 36.838983 | 66 | 0.323902 | 1,016 | 13,041 | 4.156496 | 0.091535 | 0.085247 | 0.046886 | 0.041677 | 0.883258 | 0.883258 | 0.876865 | 0.870945 | 0.86242 | 0.86242 | 0 | 0.083896 | 0.522889 | 13,041 | 353 | 67 | 36.943343 | 0.594825 | 0 | 0 | 0.688385 | 0 | 0 | 0.370064 | 0.008818 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 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 | 7 |
d6981c0625c3487f178fcc8ada4d7286e1cdcf0d | 12,317 | py | Python | tests/integration/commands/test_transfer.py | real-digital/esque | 0b779fc308ce8bce45c1903f36c33664b2e832e7 | [
"MIT"
] | 29 | 2019-05-10T21:12:38.000Z | 2021-08-24T08:09:49.000Z | tests/integration/commands/test_transfer.py | real-digital/esque | 0b779fc308ce8bce45c1903f36c33664b2e832e7 | [
"MIT"
] | 103 | 2019-05-17T07:21:41.000Z | 2021-12-02T08:29:00.000Z | tests/integration/commands/test_transfer.py | real-digital/esque | 0b779fc308ce8bce45c1903f36c33664b2e832e7 | [
"MIT"
] | 2 | 2019-05-28T06:45:14.000Z | 2019-11-21T00:33:15.000Z | import time
from typing import Tuple
import pytest
from click.testing import CliRunner
from confluent_kafka.avro import AvroConsumer, AvroProducer
from confluent_kafka.cimpl import Consumer
from confluent_kafka.cimpl import Producer as ConfluentProducer
from confluent_kafka.cimpl import TopicPartition
from pytest_case... | 36.767164 | 119 | 0.697978 | 1,477 | 12,317 | 5.52742 | 0.085308 | 0.064674 | 0.056222 | 0.076066 | 0.942185 | 0.927242 | 0.923934 | 0.91879 | 0.915728 | 0.903479 | 0 | 0.010344 | 0.18373 | 12,317 | 334 | 120 | 36.877246 | 0.801671 | 0 | 0 | 0.735192 | 0 | 0 | 0.055695 | 0 | 0 | 0 | 0 | 0 | 0.034843 | 1 | 0.041812 | false | 0 | 0.041812 | 0 | 0.083624 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
d6dbd79fa4f2fa2158206baf21b2d85a969a955a | 911 | py | Python | Algorithms/sectorR7/1.py | sa501428/playground | 26c4145e6afed1fbf12031ef9b7404e92b48d16d | [
"MIT"
] | null | null | null | Algorithms/sectorR7/1.py | sa501428/playground | 26c4145e6afed1fbf12031ef9b7404e92b48d16d | [
"MIT"
] | null | null | null | Algorithms/sectorR7/1.py | sa501428/playground | 26c4145e6afed1fbf12031ef9b7404e92b48d16d | [
"MIT"
] | null | null | null | #
from collections import Counter
z = 'AACTGTACACCCAAGTCATTTGTCAACCTGGCCCTCACTAACTGAGGGCCAACAGCCACGTCCAACTGACACTCGTTGATGCCCTGCTCTGAACATGGTTAGGGGCCCTGAGCTGATCGGTCCTCGTTCTCGCGAACTGGAACCTAAGAATTGTCCCTTTGACCATATTGCTGGGGAGCGTGATTTCATCTTAGAAGTATAGATAAAGACTAACTTTCGTCTTGCACAGCGAGCTGTCTAACGCGCTACTCGAGACAAGATAGATAATTCCTAGAGTTC... | 130.142857 | 857 | 0.980241 | 9 | 911 | 99.222222 | 0.777778 | 0.017917 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013172 | 911 | 6 | 858 | 151.833333 | 0.993326 | 0 | 0 | 0 | 0 | 0 | 0.935165 | 0.935165 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0.333333 | null | null | 0.333333 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 9 |
d6f83f64d29f5262babe5d244d6066a8cb2100ed | 147 | py | Python | NodeDefender/mqtt/command/icpe/sys/__init__.py | CTSNE/NodeDefender | 24e19f53a27d3b53e599cba8b1448f8f16c0bd5e | [
"MIT"
] | 4 | 2016-09-23T17:51:05.000Z | 2017-03-14T02:52:26.000Z | NodeDefender/mqtt/command/icpe/sys/__init__.py | CTSNE/NodeDefender | 24e19f53a27d3b53e599cba8b1448f8f16c0bd5e | [
"MIT"
] | 1 | 2016-09-22T11:32:33.000Z | 2017-11-14T10:00:24.000Z | NodeDefender/mqtt/command/icpe/sys/__init__.py | CTSNE/NodeDefender | 24e19f53a27d3b53e599cba8b1448f8f16c0bd5e | [
"MIT"
] | 4 | 2016-10-09T19:05:16.000Z | 2020-05-14T04:00:30.000Z | import NodeDefender.mqtt.command.icpe.sys.network
import NodeDefender.mqtt.command.icpe.sys.info
import NodeDefender.mqtt.command.icpe.sys.service
| 36.75 | 49 | 0.857143 | 21 | 147 | 6 | 0.428571 | 0.428571 | 0.52381 | 0.690476 | 0.857143 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0.040816 | 147 | 3 | 50 | 49 | 0.893617 | 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 | 1 | 1 | 1 | 0 | 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 | 9 |
ba3be962d6456c3da31d8a774c7cc88bf4a0b584 | 130 | py | Python | algorithm/common/prediction.py | pitpalac36/Fraud-Detector | 463a737da9b2c11a5c7bd11f5a5ecbc5586d80e7 | [
"MIT"
] | null | null | null | algorithm/common/prediction.py | pitpalac36/Fraud-Detector | 463a737da9b2c11a5c7bd11f5a5ecbc5586d80e7 | [
"MIT"
] | null | null | null | algorithm/common/prediction.py | pitpalac36/Fraud-Detector | 463a737da9b2c11a5c7bd11f5a5ecbc5586d80e7 | [
"MIT"
] | null | null | null | def predict(lr, sample):
return lr.predict(sample.reshape(1, -1))
def predict2(lr, sample):
return lr.predict([sample])
| 18.571429 | 44 | 0.676923 | 19 | 130 | 4.631579 | 0.421053 | 0.181818 | 0.318182 | 0.363636 | 0.659091 | 0.659091 | 0 | 0 | 0 | 0 | 0 | 0.027523 | 0.161538 | 130 | 6 | 45 | 21.666667 | 0.779817 | 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 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
ba7d190dc2f433b116b955c83f53fb206725642e | 1,447 | py | Python | forms/migrations/0057_add_monitor_code.py | CodeForAfrica/gmmp | d7ffe2dac16bd57e81bb3555ddea9df1fe7e9ebf | [
"Apache-2.0"
] | 4 | 2020-01-05T09:14:19.000Z | 2022-02-17T03:22:09.000Z | forms/migrations/0057_add_monitor_code.py | CodeForAfrica/gmmp | d7ffe2dac16bd57e81bb3555ddea9df1fe7e9ebf | [
"Apache-2.0"
] | 68 | 2019-12-23T02:19:55.000Z | 2021-04-23T06:13:36.000Z | forms/migrations/0057_add_monitor_code.py | CodeForAfrica/gmmp | d7ffe2dac16bd57e81bb3555ddea9df1fe7e9ebf | [
"Apache-2.0"
] | 2 | 2020-11-07T12:23:21.000Z | 2021-11-07T18:21:31.000Z | # Generated by Django 2.2.16 on 2020-09-17 11:54
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('forms', '0056_allow_blank_and_none'),
]
operations = [
migrations.AddField(
model_name='internetnewssheet',
name='m... | 32.886364 | 92 | 0.595715 | 140 | 1,447 | 5.95 | 0.321429 | 0.132053 | 0.180072 | 0.162065 | 0.705882 | 0.705882 | 0.705882 | 0.705882 | 0.705882 | 0.705882 | 0 | 0.034047 | 0.289565 | 1,447 | 43 | 93 | 33.651163 | 0.776265 | 0.03179 | 0 | 0.675676 | 1 | 0 | 0.155826 | 0.01787 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.027027 | 0 | 0.108108 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
bae5061a3b630aec83e72f5faed365554449f01b | 16,725 | py | Python | fixture/contact.py | arseny-tsyro/python_training | 187fe19166502297484c6876de7d46a0e7c80ba2 | [
"Apache-2.0"
] | null | null | null | fixture/contact.py | arseny-tsyro/python_training | 187fe19166502297484c6876de7d46a0e7c80ba2 | [
"Apache-2.0"
] | null | null | null | fixture/contact.py | arseny-tsyro/python_training | 187fe19166502297484c6876de7d46a0e7c80ba2 | [
"Apache-2.0"
] | null | null | null | __author__ = 'Arseniy'
from model.contact import Contact
from selenium.webdriver.support.select import Select
import re
class ContactHelper:
def __init__(self, app):
self.app = app
def load_home_page(self):
wd = self.app.wd
if len(wd.find_elements_by_link_text("Last name")) > 0:
... | 46.587744 | 108 | 0.638924 | 2,331 | 16,725 | 4.240669 | 0.062205 | 0.100759 | 0.214365 | 0.239757 | 0.853617 | 0.836115 | 0.798786 | 0.738897 | 0.708245 | 0.675569 | 0 | 0.0099 | 0.220927 | 16,725 | 358 | 109 | 46.717877 | 0.748734 | 0.019312 | 0 | 0.598706 | 0 | 0 | 0.126122 | 0.058788 | 0 | 0 | 0 | 0 | 0 | 1 | 0.07767 | false | 0 | 0.009709 | 0 | 0.116505 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 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 | 8 |
242977075403643fb7167dc9e8cea6a4c6cc8ff5 | 3,910 | py | Python | Leetcode/Python/_1700.py | Xrenya/algorithms | aded82cacde2f4f2114241907861251e0e2e5638 | [
"MIT"
] | 1 | 2021-11-28T15:03:32.000Z | 2021-11-28T15:03:32.000Z | Leetcode/Python/_1700.py | Xrenya/algorithms | aded82cacde2f4f2114241907861251e0e2e5638 | [
"MIT"
] | null | null | null | Leetcode/Python/_1700.py | Xrenya/algorithms | aded82cacde2f4f2114241907861251e0e2e5638 | [
"MIT"
] | null | null | null | class Solution:
def countStudents(self, students: List[int], sandwiches: List[int]) -> int:
hashStudent = {0:0, 1:0}
for student in students:
hashStudent[student] += 1
for sandwich in sandwiches:
if hashStudent[sandwich] == 0:
break
... | 34.298246 | 87 | 0.488235 | 371 | 3,910 | 5.145553 | 0.09434 | 0.015715 | 0.050288 | 0.014667 | 0.915663 | 0.915663 | 0.915663 | 0.915663 | 0.915663 | 0.915663 | 0 | 0.04183 | 0.413043 | 3,910 | 113 | 88 | 34.60177 | 0.789978 | 0 | 0 | 0.94898 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.05102 | false | 0 | 0 | 0 | 0.153061 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
2449a2db0f98cca476cc614c1796ef1e9e116549 | 100 | py | Python | neighbors/__init__.py | DanielCastriani/machine-learning-algorithms | 5a1f361b283a751af0cb0157e28bfda2fb38d656 | [
"MIT"
] | 3 | 2020-12-31T04:53:05.000Z | 2021-12-20T14:43:34.000Z | neighbors/__init__.py | DanielCastriani/machine-learning-algorithms | 5a1f361b283a751af0cb0157e28bfda2fb38d656 | [
"MIT"
] | null | null | null | neighbors/__init__.py | DanielCastriani/machine-learning-algorithms | 5a1f361b283a751af0cb0157e28bfda2fb38d656 | [
"MIT"
] | null | null | null | from neighbors.knn_classifier import KNNClassifier
from neighbors.knn_regressor import KNNRegressor
| 33.333333 | 50 | 0.9 | 12 | 100 | 7.333333 | 0.666667 | 0.295455 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08 | 100 | 2 | 51 | 50 | 0.956522 | 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 | 1 | 0 | 0 | 7 |
79f9da13f93de264ecce9c02d00bc3ef8830e5dd | 31,023 | py | Python | tensorflow_model_analysis/slicer/auto_slicing_util_test.py | Mikehem/tfx | e803ea6778d8550ec77dcc92bc8172f1a3a90f38 | [
"Apache-2.0"
] | null | null | null | tensorflow_model_analysis/slicer/auto_slicing_util_test.py | Mikehem/tfx | e803ea6778d8550ec77dcc92bc8172f1a3a90f38 | [
"Apache-2.0"
] | null | null | null | tensorflow_model_analysis/slicer/auto_slicing_util_test.py | Mikehem/tfx | e803ea6778d8550ec77dcc92bc8172f1a3a90f38 | [
"Apache-2.0"
] | null | null | null | # Lint as: python3
# Copyright 2020 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
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agr... | 36.454759 | 80 | 0.496793 | 3,082 | 31,023 | 4.695003 | 0.095717 | 0.029026 | 0.044575 | 0.067173 | 0.818037 | 0.808086 | 0.762059 | 0.741811 | 0.70387 | 0.680926 | 0 | 0.083388 | 0.406634 | 31,023 | 850 | 81 | 36.497647 | 0.702684 | 0.022403 | 0 | 0.723684 | 0 | 0 | 0.066478 | 0 | 0 | 0 | 0 | 0 | 0.055263 | 1 | 0.021053 | false | 0 | 0.031579 | 0.002632 | 0.057895 | 0.002632 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
035bbbcac13f11224ec90a3411b8f76e396690cd | 52 | py | Python | RhyAn/component_filter/__init__.py | kaveenr/rhyan | 5d603023e0fafa11079f3bbd3a48c9cbe8babb8f | [
"Apache-2.0"
] | null | null | null | RhyAn/component_filter/__init__.py | kaveenr/rhyan | 5d603023e0fafa11079f3bbd3a48c9cbe8babb8f | [
"Apache-2.0"
] | null | null | null | RhyAn/component_filter/__init__.py | kaveenr/rhyan | 5d603023e0fafa11079f3bbd3a48c9cbe8babb8f | [
"Apache-2.0"
] | 2 | 2019-11-04T05:59:07.000Z | 2020-09-21T20:25:46.000Z | from .FundementalBandPass import FundementalBandPass | 52 | 52 | 0.923077 | 4 | 52 | 12 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.057692 | 52 | 1 | 52 | 52 | 0.979592 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 1 | 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 | 1 | 1 | 0 | 1 | 0 | 0 | 7 |
cefa1b3d3fad012ee64c295f5f4bffbc78f33546 | 15,742 | py | Python | tests/functional/test_tables.py | davidesner/sapi-python-client | 0f16fa30cb93e6dc99b16e983c139f9c3abee67e | [
"MIT"
] | 3 | 2017-07-13T13:17:37.000Z | 2017-11-08T19:01:29.000Z | tests/functional/test_tables.py | davidesner/sapi-python-client | 0f16fa30cb93e6dc99b16e983c139f9c3abee67e | [
"MIT"
] | 45 | 2017-07-13T07:49:51.000Z | 2021-08-19T15:43:39.000Z | tests/functional/test_tables.py | davidesner/sapi-python-client | 0f16fa30cb93e6dc99b16e983c139f9c3abee67e | [
"MIT"
] | 5 | 2017-07-14T05:50:49.000Z | 2021-12-28T17:01:29.000Z | import os
import unittest
import tempfile
import csv
import warnings
from requests import exceptions
from kbcstorage.tables import Tables
from kbcstorage.buckets import Buckets
class TestTables(unittest.TestCase):
def setUp(self):
self.tables = Tables(os.getenv('KBC_TEST_API_URL'),
... | 47.70303 | 105 | 0.523695 | 1,653 | 15,742 | 4.84876 | 0.08046 | 0.042795 | 0.05053 | 0.064005 | 0.8801 | 0.863755 | 0.85577 | 0.851653 | 0.821709 | 0.809981 | 0 | 0.010803 | 0.335536 | 15,742 | 329 | 106 | 47.848024 | 0.755449 | 0.002541 | 0 | 0.805195 | 0 | 0 | 0.107707 | 0.00586 | 0 | 0 | 0 | 0 | 0.11039 | 1 | 0.048701 | false | 0 | 0.035714 | 0 | 0.087662 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
30326caa783e4d732322132751dcd968674908dd | 69,081 | py | Python | tests/test_merge.py | airbus/decomon | f3668fbd8edd0def4e23aa0634eebfec58349c35 | [
"MIT"
] | 11 | 2021-11-03T12:09:50.000Z | 2022-02-20T21:42:13.000Z | tests/test_merge.py | airbus/decomon | f3668fbd8edd0def4e23aa0634eebfec58349c35 | [
"MIT"
] | 1 | 2022-02-18T13:40:46.000Z | 2022-02-18T13:40:46.000Z | tests/test_merge.py | airbus/decomon | f3668fbd8edd0def4e23aa0634eebfec58349c35 | [
"MIT"
] | null | null | null | # Test unit for decomon with Dense layers
from __future__ import absolute_import
import pytest
import numpy as np
from decomon.layers.decomon_layers import to_monotonic
from decomon.layers.decomon_merge_layers import (
DecomonConcatenate,
DecomonAverage,
DecomonMaximum,
DecomonMinimum,
DecomonAdd,
... | 32.786426 | 117 | 0.558084 | 10,980 | 69,081 | 3.095264 | 0.011384 | 0.072089 | 0.061202 | 0.043253 | 0.982228 | 0.965162 | 0.964603 | 0.962955 | 0.960248 | 0.960248 | 0 | 0.099218 | 0.259275 | 69,081 | 2,106 | 118 | 32.801994 | 0.56496 | 0.053995 | 0 | 0.92303 | 0 | 0 | 0.083226 | 0 | 0 | 0 | 0 | 0 | 0.018788 | 1 | 0.01697 | false | 0 | 0.006061 | 0 | 0.02303 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
306d18afcc2fc0a52260aff5a384c869c2927b14 | 36 | py | Python | oanda_bot/__init__.py | ibaris/oanda-bot-python | cedafb259b899fd0b096dabb50b7cb6420f096cc | [
"MIT"
] | 27 | 2020-07-17T09:41:50.000Z | 2022-03-19T01:35:35.000Z | oanda_bot/__init__.py | ibaris/oanda-bot-python | cedafb259b899fd0b096dabb50b7cb6420f096cc | [
"MIT"
] | 9 | 2020-09-03T08:42:01.000Z | 2022-01-13T03:02:03.000Z | oanda_bot/__init__.py | ibaris/oanda-bot-python | cedafb259b899fd0b096dabb50b7cb6420f096cc | [
"MIT"
] | 12 | 2020-10-25T03:09:08.000Z | 2021-10-13T08:27:01.000Z | from oanda_bot.oanda_bot import Bot
| 18 | 35 | 0.861111 | 7 | 36 | 4.142857 | 0.571429 | 0.551724 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 36 | 1 | 36 | 36 | 0.90625 | 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 | 1 | 0 | 0 | 7 |
307a66e72c99191625379c1af397fda39a4d39a3 | 4,344 | py | Python | cases/migrations/0004_auto_20190523_1053.py | johngriebel/APDIncidentReports | 491b91bcc7eef9a32bda05ad3236b14748ba3b50 | [
"MIT"
] | null | null | null | cases/migrations/0004_auto_20190523_1053.py | johngriebel/APDIncidentReports | 491b91bcc7eef9a32bda05ad3236b14748ba3b50 | [
"MIT"
] | 16 | 2019-05-23T03:25:01.000Z | 2022-02-10T08:54:24.000Z | cases/migrations/0004_auto_20190523_1053.py | johngriebel/APDIncidentReports | 491b91bcc7eef9a32bda05ad3236b14748ba3b50 | [
"MIT"
] | null | null | null | # Generated by Django 2.2.1 on 2019-05-23 14:53
import datetime
from django.db import migrations, models
import django.utils.timezone
class Migration(migrations.Migration):
dependencies = [
('cases', '0003_auto_20180406_1304'),
]
operations = [
migrations.RemoveField(
model_... | 34.204724 | 93 | 0.587247 | 390 | 4,344 | 6.338462 | 0.151282 | 0.076456 | 0.165049 | 0.174757 | 0.89199 | 0.89199 | 0.722896 | 0.692152 | 0.692152 | 0.692152 | 0 | 0.010323 | 0.308702 | 4,344 | 126 | 94 | 34.47619 | 0.812854 | 0.010359 | 0 | 0.875 | 1 | 0 | 0.132418 | 0.025599 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.025 | 0 | 0.05 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.