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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
7e8043c93402109216fe51849d85a9d9b4f5d5c6 | 38 | py | Python | src/__init__.py | shousper/pancake-hipchat-bot | a4aaaa6ff0d33daad1cae356a0f26fcbc64cce71 | [
"MIT"
] | null | null | null | src/__init__.py | shousper/pancake-hipchat-bot | a4aaaa6ff0d33daad1cae356a0f26fcbc64cce71 | [
"MIT"
] | null | null | null | src/__init__.py | shousper/pancake-hipchat-bot | a4aaaa6ff0d33daad1cae356a0f26fcbc64cce71 | [
"MIT"
] | null | null | null | from config import *
from bot import * | 19 | 20 | 0.763158 | 6 | 38 | 4.833333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.184211 | 38 | 2 | 21 | 19 | 0.935484 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7e83dc0d05e20128b12e3312812672fd11dc8593 | 139 | py | Python | thualign/tokenizers/__init__.py | bryant1410/Mask-Align | 329690919d6885a8fcdf13beef6cf98ff6a2d51a | [
"BSD-3-Clause"
] | 27 | 2021-05-11T07:24:59.000Z | 2022-03-25T05:23:45.000Z | thualign/tokenizers/__init__.py | bryant1410/Mask-Align | 329690919d6885a8fcdf13beef6cf98ff6a2d51a | [
"BSD-3-Clause"
] | 11 | 2021-10-02T05:56:01.000Z | 2022-03-30T02:32:36.000Z | thualign/tokenizers/__init__.py | bryant1410/Mask-Align | 329690919d6885a8fcdf13beef6cf98ff6a2d51a | [
"BSD-3-Clause"
] | 11 | 2021-06-04T05:23:39.000Z | 2022-03-19T19:40:55.000Z | from thualign.tokenizers.tokenizer import Tokenizer, WhiteSpaceTokenizer
from thualign.tokenizers.unicode_tokenizer import UnicodeTokenizer | 69.5 | 72 | 0.906475 | 14 | 139 | 8.928571 | 0.571429 | 0.192 | 0.352 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.057554 | 139 | 2 | 73 | 69.5 | 0.954198 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0e440f42c2ea3dfe07a635417f945f486399e88e | 30 | py | Python | src/amulet/__init__.py | Amulet-Team/Amulet-cli | 3d4e5d05ff3fc4869baedcfebab9aa8e62dfb3db | [
"MIT"
] | 1 | 2019-09-28T23:35:01.000Z | 2019-09-28T23:35:01.000Z | src/amulet/__init__.py | Amulet-Team/Amulet-cli | 3d4e5d05ff3fc4869baedcfebab9aa8e62dfb3db | [
"MIT"
] | null | null | null | src/amulet/__init__.py | Amulet-Team/Amulet-cli | 3d4e5d05ff3fc4869baedcfebab9aa8e62dfb3db | [
"MIT"
] | null | null | null | from .api import world_loader
| 15 | 29 | 0.833333 | 5 | 30 | 4.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 30 | 1 | 30 | 30 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0e49d531cad47055e11d809144b24c4407db414c | 141 | py | Python | hanibal/fiscaloriginal/report/__init__.py | Christian-Castro/castro_odoo8 | 8247fdb20aa39e043b6fa0c4d0af509462ab3e00 | [
"Unlicense"
] | null | null | null | hanibal/fiscaloriginal/report/__init__.py | Christian-Castro/castro_odoo8 | 8247fdb20aa39e043b6fa0c4d0af509462ab3e00 | [
"Unlicense"
] | null | null | null | hanibal/fiscaloriginal/report/__init__.py | Christian-Castro/castro_odoo8 | 8247fdb20aa39e043b6fa0c4d0af509462ab3e00 | [
"Unlicense"
] | null | null | null | # import factura_reporte
import retencion_reporte
# import compra_reporte
# import requisicioncompra_reporte
import ride_factura_electronica
| 23.5 | 34 | 0.886525 | 16 | 141 | 7.4375 | 0.5 | 0.436975 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.092199 | 141 | 5 | 35 | 28.2 | 0.929688 | 0.546099 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0e74f7d15a4bc418e11e69d5d224deece5c8f557 | 36 | py | Python | lgw/__init__.py | ebridges/lgw | c5a0b51bb6d3e5e9d6c1fa10ba186ba7f56c8de4 | [
"Apache-2.0"
] | 1 | 2020-05-25T19:01:26.000Z | 2020-05-25T19:01:26.000Z | lgw/__init__.py | ebridges/lgw | c5a0b51bb6d3e5e9d6c1fa10ba186ba7f56c8de4 | [
"Apache-2.0"
] | 5 | 2019-12-05T10:55:56.000Z | 2020-06-05T17:48:12.000Z | lgw/__init__.py | ebridges/lgw | c5a0b51bb6d3e5e9d6c1fa10ba186ba7f56c8de4 | [
"Apache-2.0"
] | null | null | null | from lgw.version import __version__
| 18 | 35 | 0.861111 | 5 | 36 | 5.4 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 36 | 1 | 36 | 36 | 0.84375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7ed10ce9a9fc41722382c81c7c7caad7e58c60de | 7,654 | py | Python | feature_selection_viz.py | georgetown-analytics/Trade-Imbalances | 122ce10e40362d1ed94132a47aa7a69a6da46281 | [
"MIT"
] | 1 | 2020-12-17T15:19:42.000Z | 2020-12-17T15:19:42.000Z | feature_selection_viz.py | georgetown-analytics/Dinein-or-Takeout-Chicago | 122ce10e40362d1ed94132a47aa7a69a6da46281 | [
"MIT"
] | 1 | 2018-09-28T01:16:55.000Z | 2018-09-28T01:16:55.000Z | feature_selection_viz.py | georgetown-analytics/Dinein-or-Takeout-Chicago | 122ce10e40362d1ed94132a47aa7a69a6da46281 | [
"MIT"
] | 1 | 2018-09-28T01:14:37.000Z | 2018-09-28T01:14:37.000Z | #get data and setup
myConnection = psycopg2.connect( host=host, user=user, password=password, dbname=dbname )
import pandas as pd
data = pd.read_sql("Select * FROM final_data_thayn;", con=myConnection)
data_unclean = pd.read_sql("Select * FROM food_inspection_predict;", con=myConnection)
import yellowbrick
import n... | 40.930481 | 116 | 0.673112 | 1,017 | 7,654 | 4.821042 | 0.167158 | 0.032837 | 0.031205 | 0.024475 | 0.821334 | 0.775444 | 0.746482 | 0.704059 | 0.675505 | 0.664083 | 0 | 0.00958 | 0.181735 | 7,654 | 186 | 117 | 41.150538 | 0.773272 | 0.13248 | 0 | 0.62406 | 0 | 0 | 0.395486 | 0.018782 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.090226 | 0.082707 | 0 | 0.082707 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
7d07923cd15aaa96b7df997c3b77f4a9adf66a21 | 2,243 | py | Python | search/__init__.py | Neurs1/search | cb75a30819080aabb875670199b5108b43f55e6b | [
"MIT"
] | 1 | 2022-01-22T02:44:11.000Z | 2022-01-22T02:44:11.000Z | search/__init__.py | Neurs1/search | cb75a30819080aabb875670199b5108b43f55e6b | [
"MIT"
] | null | null | null | search/__init__.py | Neurs1/search | cb75a30819080aabb875670199b5108b43f55e6b | [
"MIT"
] | null | null | null | from bs4 import BeautifulSoup
from requests import get
from urllib.parse import quote
def google(query, max_results = 10, lang = "en", proxies = {}):
page = get(f"https://www.google.com/search?q={quote(query, safe='')}&num={max_results}&hl={lang}", headers = {'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) ... | 64.085714 | 266 | 0.645118 | 346 | 2,243 | 4.16185 | 0.234104 | 0.027778 | 0.055556 | 0.041667 | 0.864583 | 0.864583 | 0.810417 | 0.767361 | 0.767361 | 0.767361 | 0 | 0.062468 | 0.122158 | 2,243 | 35 | 267 | 64.085714 | 0.668867 | 0 | 0 | 0.548387 | 0 | 0.16129 | 0.401515 | 0.016488 | 0 | 0 | 0 | 0 | 0 | 1 | 0.129032 | false | 0 | 0.096774 | 0 | 0.354839 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7d2e89c156f3e79643527490e9e5fe835cbcb486 | 15,920 | py | Python | lib/datasets_rel/dataset_catalog_rel.py | champon1020/TRACE | 8ed0aed87e153af66f02502887a4de0d39867209 | [
"MIT"
] | 34 | 2021-08-19T05:59:58.000Z | 2022-03-26T09:26:54.000Z | lib/datasets_rel/dataset_catalog_rel.py | champon1020/TRACE | 8ed0aed87e153af66f02502887a4de0d39867209 | [
"MIT"
] | 8 | 2021-09-15T05:27:23.000Z | 2022-02-27T12:38:03.000Z | lib/datasets_rel/dataset_catalog_rel.py | champon1020/TRACE | 8ed0aed87e153af66f02502887a4de0d39867209 | [
"MIT"
] | 6 | 2021-09-16T10:51:38.000Z | 2022-03-05T22:48:54.000Z | # Adapted from Detectron.pytorch/lib/datasets/dataset_catalog.py
# for this project by Ji Zhang,2019
#-----------------------------------------------------------------------------
# Copyright (c) 2017-present, Facebook, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file... | 32.824742 | 99 | 0.57657 | 1,948 | 15,920 | 4.178645 | 0.083162 | 0.150491 | 0.137592 | 0.060442 | 0.839803 | 0.827641 | 0.822604 | 0.813022 | 0.751597 | 0.692752 | 0 | 0.019438 | 0.305214 | 15,920 | 484 | 100 | 32.892562 | 0.716481 | 0.068467 | 0 | 0.677928 | 0 | 0 | 0.403099 | 0.319244 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.013514 | 0 | 0.013514 | 0.002252 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
adb102558303d9efcf2ba7f37ec17651fbf38bfd | 93 | py | Python | src/tests/test_dataset.py | danipab12/Lab3 | 7b9f43fe169e4c8f745fa946dc0355c8ac739f16 | [
"MIT"
] | 13 | 2016-08-01T22:48:17.000Z | 2021-06-22T21:06:18.000Z | src/tests/test_dataset.py | danipab12/Lab3 | 7b9f43fe169e4c8f745fa946dc0355c8ac739f16 | [
"MIT"
] | null | null | null | src/tests/test_dataset.py | danipab12/Lab3 | 7b9f43fe169e4c8f745fa946dc0355c8ac739f16 | [
"MIT"
] | 11 | 2016-08-01T22:48:20.000Z | 2019-09-04T21:14:40.000Z | from unittest import TestCase
class TestDataset(TestCase):
pass
# TODO: write tests | 15.5 | 29 | 0.731183 | 11 | 93 | 6.181818 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.215054 | 93 | 6 | 30 | 15.5 | 0.931507 | 0.182796 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 6 |
adb9735c8dada4cc128f28da2bc8591beb9396b7 | 9,493 | py | Python | src/Factory.py | zillwa/BrokerBot | 3b11dc7b3845c55f860d971014fc078058047abe | [
"MIT"
] | 7 | 2021-03-19T21:16:41.000Z | 2022-03-05T21:10:45.000Z | src/Factory.py | zillwa/BrokerBot | 3b11dc7b3845c55f860d971014fc078058047abe | [
"MIT"
] | null | null | null | src/Factory.py | zillwa/BrokerBot | 3b11dc7b3845c55f860d971014fc078058047abe | [
"MIT"
] | 6 | 2021-03-05T12:39:04.000Z | 2021-08-16T17:45:34.000Z | from DataHandler import DataHandler
from ExecutionHandler import ExecutionHandler
from Strategy import Strategy
class DH_factory:
# Overview: Class that creates and returns any DH object
"""
Overview: Constructs and returns proper DH based on passed in enum
Params: ENUM for DH_api
params... | 27.75731 | 81 | 0.643737 | 1,232 | 9,493 | 4.87987 | 0.061688 | 0.053892 | 0.073353 | 0.097804 | 0.934631 | 0.892382 | 0.787092 | 0.705755 | 0.631404 | 0.593979 | 0 | 0.01035 | 0.28758 | 9,493 | 342 | 82 | 27.75731 | 0.878604 | 0.103655 | 0 | 0.387755 | 0 | 0 | 0.009828 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.214286 | false | 0.071429 | 0.030612 | 0 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
add9e4db2ebbc9fee0b303d364194eb73bd493f4 | 25,188 | py | Python | rapid7vmconsole/__init__.py | kiblik/vm-console-client-python | 038f6d33e8b2654a558326c6eb87f09ee23e0e22 | [
"MIT"
] | 61 | 2018-05-17T05:57:09.000Z | 2022-03-08T13:59:21.000Z | rapid7vmconsole/__init__.py | kiblik/vm-console-client-python | 038f6d33e8b2654a558326c6eb87f09ee23e0e22 | [
"MIT"
] | 33 | 2018-06-26T16:21:14.000Z | 2022-03-03T20:55:47.000Z | rapid7vmconsole/__init__.py | kiblik/vm-console-client-python | 038f6d33e8b2654a558326c6eb87f09ee23e0e22 | [
"MIT"
] | 43 | 2018-02-24T05:45:53.000Z | 2022-03-31T22:15:16.000Z | # coding: utf-8
# flake8: noqa
"""
Python InsightVM API Client
OpenAPI spec version: 3
Contact: support@rapid7.com
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from __future__ import absolute_import
# import apis into sdk package
from rapid7vmconsole.api.administration_api ... | 70.554622 | 148 | 0.91619 | 2,680 | 25,188 | 8.379104 | 0.195896 | 0.285135 | 0.350686 | 0.051478 | 0.24617 | 0.095609 | 0.041682 | 0 | 0 | 0 | 0 | 0.01451 | 0.056019 | 25,188 | 356 | 149 | 70.752809 | 0.929932 | 0.009925 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.002959 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
bc09192212e4add6fceb993f5dbcdf44c6eae4b1 | 142 | py | Python | paths.py | kamperh/bucktsong_eskmeans | fe1e19aa77bb47e0c71f22f75edff87a25edca94 | [
"MIT"
] | 1 | 2021-02-18T14:44:17.000Z | 2021-02-18T14:44:17.000Z | paths.py | kamperh/bucktsong_eskmeans | fe1e19aa77bb47e0c71f22f75edff87a25edca94 | [
"MIT"
] | null | null | null | paths.py | kamperh/bucktsong_eskmeans | fe1e19aa77bb47e0c71f22f75edff87a25edca94 | [
"MIT"
] | null | null | null | buckeye_datadir = "/home/kamperh/endgame/datasets/buckeye/"
xitsonga_datadir = "/home/kamperh/endgame/datasets/zerospeech2015/xitsonga_wavs/"
| 47.333333 | 81 | 0.823944 | 16 | 142 | 7.125 | 0.5625 | 0.192982 | 0.315789 | 0.438596 | 0.578947 | 0 | 0 | 0 | 0 | 0 | 0 | 0.029412 | 0.042254 | 142 | 2 | 82 | 71 | 0.808824 | 0 | 0 | 0 | 0 | 0 | 0.697183 | 0.697183 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
bc1af643a466dc8b2c62050cfd879b2eb8d7bad8 | 71 | py | Python | pytype/tools/merge_pyi/test_data/decoration.py | ashwinprasadme/pytype | fed209c73aacfcab15efc33deef3b4016a67cfe5 | [
"Apache-2.0"
] | 3,882 | 2015-03-22T12:17:15.000Z | 2022-03-31T17:13:20.000Z | pytype/tools/merge_pyi/test_data/decoration.py | ashwinprasadme/pytype | fed209c73aacfcab15efc33deef3b4016a67cfe5 | [
"Apache-2.0"
] | 638 | 2015-11-03T06:34:44.000Z | 2022-03-31T23:41:48.000Z | pytype/tools/merge_pyi/test_data/decoration.py | ashwinprasadme/pytype | fed209c73aacfcab15efc33deef3b4016a67cfe5 | [
"Apache-2.0"
] | 301 | 2015-08-14T10:21:17.000Z | 2022-03-08T11:03:40.000Z | def decoration(func):
return func
@decoration
def f1(a):
pass
| 10.142857 | 21 | 0.661972 | 10 | 71 | 4.7 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018519 | 0.239437 | 71 | 6 | 22 | 11.833333 | 0.851852 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0.2 | 0 | 0.2 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 6 |
70fd9acf7683a8cb841a282e4e7771cd748dbd7a | 27 | py | Python | babycenter/settings/__init__.py | praekeltfoundation/molo-babycenter | 9649fc78d9af8c7640b6da97c483156cff6a5e05 | [
"BSD-2-Clause"
] | 1,011 | 2015-07-23T00:39:13.000Z | 2022-03-25T11:05:08.000Z | example/settings/__init__.py | CZZLEGEND/django-rest-framework-json-api | 5f19ef0b642ae5d525396dc89fb5cfd9251f02af | [
"BSD-2-Clause"
] | 819 | 2015-07-21T13:43:30.000Z | 2022-03-20T22:01:51.000Z | example/settings/__init__.py | CZZLEGEND/django-rest-framework-json-api | 5f19ef0b642ae5d525396dc89fb5cfd9251f02af | [
"BSD-2-Clause"
] | 345 | 2015-07-21T14:29:26.000Z | 2022-03-22T03:25:04.000Z | from .dev import * # noqa
| 13.5 | 26 | 0.62963 | 4 | 27 | 4.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.259259 | 27 | 1 | 27 | 27 | 0.85 | 0.148148 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
cb536ff3e8361c6208719e0782ccb79165282557 | 202 | py | Python | tests/034.py | fangyuchen86/mini-pysonar | 541e55ebadee35afb22e17b19eed5c19ad31e21e | [
"BSD-3-Clause"
] | 22 | 2015-04-03T12:44:24.000Z | 2021-12-22T17:55:00.000Z | tests/034.py | GaoGersy/mini-pysonar | 541e55ebadee35afb22e17b19eed5c19ad31e21e | [
"BSD-3-Clause"
] | null | null | null | tests/034.py | GaoGersy/mini-pysonar | 541e55ebadee35afb22e17b19eed5c19ad31e21e | [
"BSD-3-Clause"
] | 43 | 2015-04-03T12:46:28.000Z | 2022-01-20T17:27:45.000Z | class A:
a = 1
class B:
a = A()
class C:
a = B()
o = C()
def f(x):
return x.a
f(o)
def g(x):
return x.a
g(g(o))
def h(x):
return x.a
h(h(h(o)))
| 7.769231 | 15 | 0.366337 | 41 | 202 | 1.804878 | 0.292683 | 0.283784 | 0.324324 | 0.364865 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009009 | 0.450495 | 202 | 25 | 16 | 8.08 | 0.657658 | 0 | 0 | 0.1875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1875 | false | 0 | 0 | 0.1875 | 0.75 | 0 | 0 | 0 | 1 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
cb7930a3157e46dedede75c9417e7d41f8097079 | 27 | py | Python | tests/unittests/test_config.py | movermeyer/SeqFindR | 6ae8debadfb5ab9db95a3f3d558211d94940aad7 | [
"ECL-2.0"
] | 12 | 2015-01-08T23:19:29.000Z | 2021-02-23T09:58:22.000Z | tests/unittests/test_config.py | movermeyer/SeqFindR | 6ae8debadfb5ab9db95a3f3d558211d94940aad7 | [
"ECL-2.0"
] | 8 | 2015-01-08T01:32:37.000Z | 2015-09-22T09:34:14.000Z | tests/unittests/test_config.py | movermeyer/SeqFindR | 6ae8debadfb5ab9db95a3f3d558211d94940aad7 | [
"ECL-2.0"
] | 7 | 2015-01-21T14:20:15.000Z | 2021-08-09T16:11:29.000Z | from context import config
| 13.5 | 26 | 0.851852 | 4 | 27 | 5.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 27 | 1 | 27 | 27 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1dd5b65ca87e6cf2fb4148f0ba61264d8b1a5f14 | 31 | py | Python | server/lib/drivers/BLERemote/__init__.py | frdfsnlght/RemoteControl | 843d73372b36880d2381ca68fb075a2f0750028c | [
"MIT"
] | null | null | null | server/lib/drivers/BLERemote/__init__.py | frdfsnlght/RemoteControl | 843d73372b36880d2381ca68fb075a2f0750028c | [
"MIT"
] | 1 | 2022-01-04T23:39:26.000Z | 2022-01-04T23:39:26.000Z | server/lib/drivers/BLERemote/__init__.py | frdfsnlght/RemoteControl | 843d73372b36880d2381ca68fb075a2f0750028c | [
"MIT"
] | null | null | null |
from .BLERemote import Device
| 10.333333 | 29 | 0.806452 | 4 | 31 | 6.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16129 | 31 | 2 | 30 | 15.5 | 0.961538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1dd72c6955315098aceb117945ad921d0d15b527 | 156 | py | Python | madry_files/__init__.py | anguyen8/sam | 6f9525adacb65b4f5e00bbea23a1e37c9008db27 | [
"MIT"
] | 41 | 2020-03-06T05:42:28.000Z | 2022-03-23T08:23:40.000Z | madry_files/__init__.py | anguyen8/sam | 6f9525adacb65b4f5e00bbea23a1e37c9008db27 | [
"MIT"
] | 11 | 2020-03-09T14:04:27.000Z | 2022-03-12T00:17:41.000Z | madry_files/__init__.py | anguyen8/sam | 6f9525adacb65b4f5e00bbea23a1e37c9008db27 | [
"MIT"
] | 4 | 2020-03-06T06:07:12.000Z | 2020-07-30T02:48:11.000Z | from .resnet import *
from .vgg import *
from .wide_resnet import wide_resnet50
from .leaky_resnet import *
from .alexnet import *
from .googlenet import *
| 22.285714 | 38 | 0.775641 | 22 | 156 | 5.363636 | 0.409091 | 0.338983 | 0.271186 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015152 | 0.153846 | 156 | 6 | 39 | 26 | 0.878788 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
69c0d704a6b42fc6ebc2ac508e31e90765da0250 | 23,744 | py | Python | tests/integration/routes/test_confirmation_email.py | ONSdigital/eq-questionnaire-runner | cac38e81714b03e3e85c56f9098adc01e7ccc703 | [
"MIT"
] | 3 | 2020-09-28T13:21:21.000Z | 2021-05-05T14:14:51.000Z | tests/integration/routes/test_confirmation_email.py | ONSdigital/eq-questionnaire-runner | cac38e81714b03e3e85c56f9098adc01e7ccc703 | [
"MIT"
] | 402 | 2019-11-06T17:23:03.000Z | 2022-03-31T16:03:35.000Z | tests/integration/routes/test_confirmation_email.py | ONSdigital/eq-questionnaire-runner | cac38e81714b03e3e85c56f9098adc01e7ccc703 | [
"MIT"
] | 10 | 2020-03-03T14:23:27.000Z | 2022-01-31T12:21:21.000Z | from unittest.mock import MagicMock
from app import settings
from app.cloud_tasks.exceptions import CloudTaskCreationFailed
from tests.integration.integration_test_case import IntegrationTestCase
class TestEmailConfirmation(
IntegrationTestCase
): # pylint: disable=too-few-public-methods
def setUp(self):
... | 44.884688 | 133 | 0.691164 | 3,050 | 23,744 | 5.221967 | 0.073115 | 0.149432 | 0.061907 | 0.060275 | 0.875934 | 0.853394 | 0.835751 | 0.815219 | 0.796697 | 0.771708 | 0 | 0.000924 | 0.22532 | 23,744 | 528 | 134 | 44.969697 | 0.864956 | 0.289126 | 0 | 0.681388 | 0 | 0.003155 | 0.321967 | 0.100209 | 0 | 0 | 0 | 0 | 0.249211 | 1 | 0.119874 | false | 0 | 0.012618 | 0 | 0.135647 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
69f30faf97c8da7af2a7590917ae80a04f422948 | 23 | py | Python | src/__init__.py | hcji/ssw | 2aa6d28bedcf8e0b29401d32ca498defd2c1d3a6 | [
"BSD-2-Clause"
] | 34 | 2016-01-29T19:10:56.000Z | 2021-05-18T07:35:17.000Z | src/__init__.py | hcji/ssw | 2aa6d28bedcf8e0b29401d32ca498defd2c1d3a6 | [
"BSD-2-Clause"
] | 10 | 2016-01-29T17:27:34.000Z | 2021-12-17T14:10:51.000Z | src/__init__.py | hcji/ssw | 2aa6d28bedcf8e0b29401d32ca498defd2c1d3a6 | [
"BSD-2-Clause"
] | 11 | 2016-09-16T18:12:28.000Z | 2022-03-29T20:25:02.000Z | from . sswobj import *
| 11.5 | 22 | 0.695652 | 3 | 23 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.217391 | 23 | 1 | 23 | 23 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0e10c130d10e4ae29bc8f89bf3d5f88ca244a61e | 47 | py | Python | rlalgorithms_tf2/trpo/__init__.py | unsignedrant/rlalgorithms-tf2 | 9bbd4ba62873044cf7bda5ac01d2d625f1e32e67 | [
"MIT"
] | 4 | 2022-02-04T23:24:43.000Z | 2022-02-25T10:09:24.000Z | rlalgorithms_tf2/trpo/__init__.py | unsignedrant/rlalgorithms-tf2 | 9bbd4ba62873044cf7bda5ac01d2d625f1e32e67 | [
"MIT"
] | 1 | 2022-02-02T22:52:23.000Z | 2022-02-02T22:52:23.000Z | rlalgorithms_tf2/trpo/__init__.py | unsignedrant/rlalgorithms-tf2 | 9bbd4ba62873044cf7bda5ac01d2d625f1e32e67 | [
"MIT"
] | 2 | 2022-02-05T15:28:11.000Z | 2022-02-16T01:20:16.000Z | from rlalgorithms_tf2.trpo.cli import cli_args
| 23.5 | 46 | 0.87234 | 8 | 47 | 4.875 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023256 | 0.085106 | 47 | 1 | 47 | 47 | 0.883721 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
385ecf50c60b9d6cda369d7a47373f8d0199ff41 | 8,069 | py | Python | TADV/models/resnet.py | jfc43/eval-transductive-robustness | 91aea64cc69be1e3f4d14f94de9ff976c8c307df | [
"Apache-2.0"
] | null | null | null | TADV/models/resnet.py | jfc43/eval-transductive-robustness | 91aea64cc69be1e3f4d14f94de9ff976c8c307df | [
"Apache-2.0"
] | null | null | null | TADV/models/resnet.py | jfc43/eval-transductive-robustness | 91aea64cc69be1e3f4d14f94de9ff976c8c307df | [
"Apache-2.0"
] | null | null | null | """
ResNet.
Take from https://github.com/pytorch/vision/blob/master/torchvision/models/resnet.py.
"""
import torch
import utils.torch
from .classifier import Classifier
from .resnet_block import ResNetBlock
import torch.nn as nn
class ResNet(Classifier):
"""
Simple classifier.
"""
def __init__(self, ... | 38.061321 | 135 | 0.609865 | 942 | 8,069 | 5.087049 | 0.132696 | 0.061352 | 0.041319 | 0.039649 | 0.835559 | 0.793406 | 0.782137 | 0.782137 | 0.782137 | 0.762104 | 0 | 0.019538 | 0.270542 | 8,069 | 211 | 136 | 38.241706 | 0.794597 | 0.106457 | 0 | 0.663934 | 0 | 0 | 0.020411 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.02459 | false | 0 | 0.040984 | 0 | 0.098361 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
38bd0a5d32939e3c99f54a68239a8f8a70fa3cae | 7,066 | py | Python | data/dataset.py | xuhangc/shadow | befdcb17ca01136b93cf67b94dbd3f55dc2300bc | [
"MIT"
] | null | null | null | data/dataset.py | xuhangc/shadow | befdcb17ca01136b93cf67b94dbd3f55dc2300bc | [
"MIT"
] | null | null | null | data/dataset.py | xuhangc/shadow | befdcb17ca01136b93cf67b94dbd3f55dc2300bc | [
"MIT"
] | null | null | null | import os
from torch.utils.data import Dataset
import torch
from PIL import Image
import torchvision.transforms.functional as TF
import random
def is_image_file(filename):
return any(filename.endswith(extension) for extension in ['jpeg', 'JPEG', 'jpg', 'png', 'JPG', 'PNG', 'gif', 'tif'])
class DataLoaderTrain(D... | 37.786096 | 120 | 0.610105 | 1,088 | 7,066 | 3.69761 | 0.088235 | 0.053691 | 0.044743 | 0.058166 | 0.856078 | 0.82774 | 0.822272 | 0.809346 | 0.800895 | 0.758141 | 0 | 0.018596 | 0.254175 | 7,066 | 186 | 121 | 37.989247 | 0.744782 | 0.037504 | 0 | 0.583942 | 0 | 0 | 0.022674 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.072993 | false | 0 | 0.043796 | 0.029197 | 0.189781 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
aa747543a6ca4777233b869374a5cc057457e02c | 85 | py | Python | mikaponics/ecommerce/signals.py | mikaponics/mikaponics-back | 98e1ff8bab7dda3492e5ff637bf5aafd111c840c | [
"BSD-3-Clause"
] | 2 | 2019-04-30T23:51:41.000Z | 2019-05-04T00:35:52.000Z | mikaponics/ecommerce/signals.py | mikaponics/mikaponics-back | 98e1ff8bab7dda3492e5ff637bf5aafd111c840c | [
"BSD-3-Clause"
] | 27 | 2019-04-30T20:22:28.000Z | 2022-02-10T08:10:32.000Z | mikaponics/ecommerce/signals.py | mikaponics/mikaponics-back | 98e1ff8bab7dda3492e5ff637bf5aafd111c840c | [
"BSD-3-Clause"
] | null | null | null | from django.core.management import call_command
from django.dispatch import receiver
| 28.333333 | 47 | 0.870588 | 12 | 85 | 6.083333 | 0.75 | 0.273973 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.094118 | 85 | 2 | 48 | 42.5 | 0.948052 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
aa79dd99b9bb8491b2c4c9c0f0cda1df9229bad8 | 329 | py | Python | lib/geojson/factory.py | davasqueza/eriskco_conector_CloudSQL | 99304b5eed06e9bba3646535a82d7fc98b0838b7 | [
"Apache-2.0"
] | 1 | 2015-09-05T14:02:10.000Z | 2015-09-05T14:02:10.000Z | lib/geojson/factory.py | davasqueza/eriskco_conector_CloudSQL | 99304b5eed06e9bba3646535a82d7fc98b0838b7 | [
"Apache-2.0"
] | null | null | null | lib/geojson/factory.py | davasqueza/eriskco_conector_CloudSQL | 99304b5eed06e9bba3646535a82d7fc98b0838b7 | [
"Apache-2.0"
] | 1 | 2018-10-21T20:02:48.000Z | 2018-10-21T20:02:48.000Z | from geojson.geometry import Point, LineString, Polygon
from geojson.geometry import MultiLineString, MultiPoint, MultiPolygon
from geojson.geometry import GeometryCollection
from geojson.feature import Feature, FeatureCollection
from geojson.base import GeoJSON
from geojson.crs import Named, Linked
name = Named
link ... | 32.9 | 70 | 0.844985 | 40 | 329 | 6.95 | 0.475 | 0.23741 | 0.205036 | 0.269784 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.112462 | 329 | 9 | 71 | 36.555556 | 0.952055 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
aaa0aeb7347b104c099048f7a0422fb63659d0e0 | 276 | py | Python | pybamm/models/submodels/particle/size_distribution/__init__.py | manjunathnilugal/PyBaMM | 65d5cba534b4f163670e753714964aaa75d6a2d2 | [
"BSD-3-Clause"
] | 330 | 2019-04-17T11:36:57.000Z | 2022-03-28T16:49:55.000Z | pybamm/models/submodels/particle/size_distribution/__init__.py | manjunathnilugal/PyBaMM | 65d5cba534b4f163670e753714964aaa75d6a2d2 | [
"BSD-3-Clause"
] | 1,530 | 2019-03-26T18:13:03.000Z | 2022-03-31T16:12:53.000Z | pybamm/models/submodels/particle/size_distribution/__init__.py | manjunathnilugal/PyBaMM | 65d5cba534b4f163670e753714964aaa75d6a2d2 | [
"BSD-3-Clause"
] | 178 | 2019-03-27T13:48:04.000Z | 2022-03-31T09:30:11.000Z | from .base_distribution import BaseSizeDistribution
from .fickian_diffusion import FickianDiffusion
from .x_averaged_fickian_diffusion import XAveragedFickianDiffusion
from .uniform_profile import UniformProfile
from .x_averaged_uniform_profile import XAveragedUniformProfile
| 46 | 67 | 0.90942 | 29 | 276 | 8.344828 | 0.517241 | 0.132231 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.072464 | 276 | 5 | 68 | 55.2 | 0.945313 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
aacc56cabe9d6ea6a46a8f304dcef6916f64ee12 | 195 | py | Python | tests/error/missing_required_arg01.py | ktok07b6/polyphony | 657c5c7440520db6b4985970bd50547407693ac4 | [
"MIT"
] | 83 | 2015-11-30T09:59:13.000Z | 2021-08-03T09:12:28.000Z | tests/error/missing_required_arg01.py | jesseclin/polyphony | 657c5c7440520db6b4985970bd50547407693ac4 | [
"MIT"
] | 4 | 2017-02-10T01:43:11.000Z | 2020-07-14T03:52:25.000Z | tests/error/missing_required_arg01.py | jesseclin/polyphony | 657c5c7440520db6b4985970bd50547407693ac4 | [
"MIT"
] | 11 | 2016-11-18T14:39:15.000Z | 2021-02-23T10:05:20.000Z | #missing_required_arg01() missing required argument x
from polyphony import testbench
def missing_required_arg01(x):
return x
@testbench
def test():
missing_required_arg01()
test()
| 13 | 53 | 0.764103 | 25 | 195 | 5.72 | 0.48 | 0.41958 | 0.41958 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.03681 | 0.164103 | 195 | 14 | 54 | 13.928571 | 0.840491 | 0.266667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.142857 | 0.142857 | 0.571429 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
6328c35d4d3e5b28879df6dc9de69dfda7b155e4 | 1,301 | py | Python | backend/utils/elements.py | LuisFernandoBenatto/scrape-fundamentus | dbae1b17699588b21a530eb80048347aab6c9dd7 | [
"MIT"
] | 1 | 2021-06-08T00:52:05.000Z | 2021-06-08T00:52:05.000Z | backend/utils/elements.py | LuisFernandoBenatto/scrape-fundamentus | dbae1b17699588b21a530eb80048347aab6c9dd7 | [
"MIT"
] | null | null | null | backend/utils/elements.py | LuisFernandoBenatto/scrape-fundamentus | dbae1b17699588b21a530eb80048347aab6c9dd7 | [
"MIT"
] | null | null | null | class Header:
SEARCH_INPUT = '/html/body/div[1]/div[1]/form/fieldset/input[1]'
class AssetsPage:
TICKET = '/html/body/div[1]/div[2]/table[1]/tbody/tr[1]/td[2]/span'
SUBSECTOR = '/html/body/div[1]/div[2]/table[1]/tbody/tr[5]/td[2]/span/a'
STOCK_DIV_YIELD = (
'/html/body/div[1]/div[2]/table[3]/t... | 48.185185 | 78 | 0.601076 | 263 | 1,301 | 2.91635 | 0.178707 | 0.088657 | 0.229465 | 0.250326 | 0.710561 | 0.691004 | 0.663625 | 0.663625 | 0.663625 | 0.663625 | 0 | 0.070175 | 0.123751 | 1,301 | 26 | 79 | 50.038462 | 0.602632 | 0.01691 | 0 | 0 | 0 | 0.727273 | 0.701411 | 0.701411 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0.818182 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
632a70085723149bcf8323ea4907a26b174f36dd | 23 | py | Python | templator/__init__.py | dongrama/templator | ae0ecf5ddf6e17cffe5228bc70f00f6ee3c44c56 | [
"MIT"
] | null | null | null | templator/__init__.py | dongrama/templator | ae0ecf5ddf6e17cffe5228bc70f00f6ee3c44c56 | [
"MIT"
] | null | null | null | templator/__init__.py | dongrama/templator | ae0ecf5ddf6e17cffe5228bc70f00f6ee3c44c56 | [
"MIT"
] | null | null | null | from . import __main__
| 11.5 | 22 | 0.782609 | 3 | 23 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 23 | 1 | 23 | 23 | 0.736842 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2d6adeb840bed3a47536715d326f05d672b90bc1 | 7,845 | py | Python | python/oneflow/test/modules/test_optim_adagrad.py | zzk0/oneflow | ab15f5986ee0081da5493ee63d3f2acf063ae229 | [
"Apache-2.0"
] | 3,285 | 2020-07-31T05:51:22.000Z | 2022-03-31T15:20:16.000Z | python/oneflow/test/modules/test_optim_adagrad.py | zzk0/oneflow | ab15f5986ee0081da5493ee63d3f2acf063ae229 | [
"Apache-2.0"
] | 2,417 | 2020-07-31T06:28:58.000Z | 2022-03-31T23:04:14.000Z | python/oneflow/test/modules/test_optim_adagrad.py | zzk0/oneflow | ab15f5986ee0081da5493ee63d3f2acf063ae229 | [
"Apache-2.0"
] | 520 | 2020-07-31T05:52:42.000Z | 2022-03-29T02:38:11.000Z | """
Copyright 2020 The OneFlow Authors. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agr... | 32.551867 | 85 | 0.580497 | 1,009 | 7,845 | 4.222993 | 0.17443 | 0.042713 | 0.053978 | 0.02253 | 0.789721 | 0.787139 | 0.774701 | 0.774701 | 0.74161 | 0.74161 | 0 | 0.019184 | 0.315615 | 7,845 | 240 | 86 | 32.6875 | 0.774446 | 0.080816 | 0 | 0.789474 | 0 | 0 | 0.055401 | 0.006943 | 0 | 0 | 0 | 0 | 0.010526 | 1 | 0.063158 | false | 0 | 0.052632 | 0 | 0.152632 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
2d7dcec3a2cdd6cc375d04a19fc00ca6fb921b41 | 393 | py | Python | test/test_utils.py | e1mo/mediawiki-dump | eefc3668b01f105b8740d370f012c14c19084f89 | [
"MIT"
] | null | null | null | test/test_utils.py | e1mo/mediawiki-dump | eefc3668b01f105b8740d370f012c14c19084f89 | [
"MIT"
] | null | null | null | test/test_utils.py | e1mo/mediawiki-dump | eefc3668b01f105b8740d370f012c14c19084f89 | [
"MIT"
] | null | null | null | from mediawiki_dump.utils import parse_date_string
def test_parse_date_string():
# new Date(1085451568000).toGMTString()
# "Tue, 25 May 2004 02:19:28 GMT"
assert parse_date_string('1970-01-01T00:00:00Z').timestamp() == 0
assert parse_date_string('2004-05-25T02:19:28Z').timestamp() == 1085451568
as... | 39.3 | 78 | 0.732824 | 58 | 393 | 4.758621 | 0.655172 | 0.163043 | 0.271739 | 0.228261 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25656 | 0.127226 | 393 | 9 | 79 | 43.666667 | 0.548105 | 0.175573 | 0 | 0 | 0 | 0 | 0.186916 | 0 | 0 | 0 | 0 | 0 | 0.6 | 1 | 0.2 | true | 0 | 0.2 | 0 | 0.4 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
2d9adce39bdb58a80d24395c8235ecbf82e2c96a | 4,582 | py | Python | attendees/whereabouts/serializers/place_serializer.py | xjlin0/attendees32 | 25913c75ea8d916dcb065a23f2fa68bea558f77c | [
"MIT"
] | null | null | null | attendees/whereabouts/serializers/place_serializer.py | xjlin0/attendees32 | 25913c75ea8d916dcb065a23f2fa68bea558f77c | [
"MIT"
] | 5 | 2022-01-21T03:26:40.000Z | 2022-02-04T17:32:16.000Z | attendees/whereabouts/serializers/place_serializer.py | xjlin0/attendees32 | 25913c75ea8d916dcb065a23f2fa68bea558f77c | [
"MIT"
] | null | null | null | from address.models import Address, Locality, State
from rest_framework import serializers
from attendees.whereabouts.models import Place
from attendees.whereabouts.serializers import AddressSerializer
class PlaceSerializer(serializers.ModelSerializer):
"""
Generic relation: https://www.django-rest-framework... | 35.796875 | 102 | 0.559799 | 468 | 4,582 | 5.230769 | 0.183761 | 0.089869 | 0.05719 | 0.068627 | 0.737745 | 0.737745 | 0.737745 | 0.737745 | 0.737745 | 0.737745 | 0 | 0.001006 | 0.349192 | 4,582 | 127 | 103 | 36.07874 | 0.81992 | 0.093845 | 0 | 0.701031 | 0 | 0 | 0.069506 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.020619 | false | 0 | 0.041237 | 0 | 0.123711 | 0.010309 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
2de241b49eed99c0d4161c752cbffe143b4fe566 | 96 | py | Python | venv/lib/python3.8/site-packages/tomlkit/_utils.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/tomlkit/_utils.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/tomlkit/_utils.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/75/7e/79/1fb67803e5d41160c00edc2f8fd7a0a0f06ada87cafd03390913b64a5e | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.40625 | 0 | 96 | 1 | 96 | 96 | 0.489583 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
93138b1ff18785b9786633a55ba463df6b674bb4 | 3,054 | py | Python | project/apps/adjudication/tests/test_api_as_admin.py | dbinetti/barberscore | 13c3d8193834bd2bb79922e28d3f5ab1675bdffd | [
"BSD-2-Clause"
] | 13 | 2017-08-07T15:45:49.000Z | 2019-07-03T13:58:50.000Z | project/apps/adjudication/tests/test_api_as_admin.py | barberscore/barberscore-api | 2aa9f8598c18c28ba1d4a294f76fd055619f803e | [
"BSD-2-Clause"
] | 309 | 2017-07-14T02:34:12.000Z | 2022-01-14T21:37:02.000Z | project/apps/adjudication/tests/test_api_as_admin.py | dbinetti/barberscore-django | 16fbd9945becda0a765bbdf52ad459a63655128f | [
"BSD-2-Clause"
] | 5 | 2017-08-07T14:01:07.000Z | 2019-06-24T19:44:55.000Z |
# Third-Party
import pytest
from rest_framework import status
# Django
from django.urls import reverse
pytestmark = pytest.mark.django_db
def test_appearance_endpoint(admin_api_client, appearance, django_assert_max_num_queries):
with django_assert_max_num_queries(10):
path = reverse('appearance-list')
... | 40.184211 | 90 | 0.727898 | 422 | 3,054 | 4.893365 | 0.104265 | 0.069734 | 0.122034 | 0.156901 | 0.784019 | 0.784019 | 0.784019 | 0.784019 | 0.784019 | 0.784019 | 0 | 0.023885 | 0.177472 | 3,054 | 75 | 91 | 40.72 | 0.798169 | 0.005894 | 0 | 0.62069 | 0 | 0 | 0.049472 | 0 | 0 | 0 | 0 | 0 | 0.517241 | 1 | 0.103448 | false | 0 | 0.051724 | 0 | 0.155172 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
9344257529fb195f910ee818a261d67f006879a2 | 26 | py | Python | k_selenium_cookies/models/__init__.py | kkristof200/selenium_cookies | 399232ca159a4c7b665d6f43e442ef451528e49f | [
"MIT"
] | null | null | null | k_selenium_cookies/models/__init__.py | kkristof200/selenium_cookies | 399232ca159a4c7b665d6f43e442ef451528e49f | [
"MIT"
] | null | null | null | k_selenium_cookies/models/__init__.py | kkristof200/selenium_cookies | 399232ca159a4c7b665d6f43e442ef451528e49f | [
"MIT"
] | null | null | null | from .cookie import Cookie | 26 | 26 | 0.846154 | 4 | 26 | 5.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 26 | 1 | 26 | 26 | 0.956522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
936b06c4890fe65b84f1602c54ef12c76127afc4 | 41 | py | Python | chainer_graphics/image/__init__.py | Idein/chainer-graphics | 3646fd961003297ff7e3f5efb71360c16d5eb9f5 | [
"MIT"
] | 3 | 2019-07-01T04:38:50.000Z | 2021-12-03T06:22:58.000Z | chainer_graphics/image/__init__.py | Idein/chainer-graphics | 3646fd961003297ff7e3f5efb71360c16d5eb9f5 | [
"MIT"
] | null | null | null | chainer_graphics/image/__init__.py | Idein/chainer-graphics | 3646fd961003297ff7e3f5efb71360c16d5eb9f5 | [
"MIT"
] | 1 | 2021-12-03T06:22:59.000Z | 2021-12-03T06:22:59.000Z | from .basic import *
from .warp import *
| 13.666667 | 20 | 0.707317 | 6 | 41 | 4.833333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.195122 | 41 | 2 | 21 | 20.5 | 0.878788 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
fa8ec02a229d569378266eb2da22ed5241f93773 | 47 | py | Python | visigoth/containers/grid/__init__.py | visigoths/visigoth | c5297148209d630f6668f0e5ba3039a8856d8320 | [
"MIT"
] | null | null | null | visigoth/containers/grid/__init__.py | visigoths/visigoth | c5297148209d630f6668f0e5ba3039a8856d8320 | [
"MIT"
] | 1 | 2021-01-26T16:55:48.000Z | 2021-09-03T15:29:14.000Z | visigoth/containers/grid/__init__.py | visigoths/visigoth | c5297148209d630f6668f0e5ba3039a8856d8320 | [
"MIT"
] | null | null | null | from visigoth.containers.grid.grid import Grid
| 23.5 | 46 | 0.851064 | 7 | 47 | 5.714286 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085106 | 47 | 1 | 47 | 47 | 0.930233 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
fad3a43b591796c2a1bd488d579a02a9074e5f1c | 96 | py | Python | venv/lib/python3.8/site-packages/numpy/core/tests/test_simd_module.py | GiulianaPola/select_repeats | 17a0d053d4f874e42cf654dd142168c2ec8fbd11 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/numpy/core/tests/test_simd_module.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/numpy/core/tests/test_simd_module.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/10/12/5b/1e6f46721543fe1910bd541f0be034199ac8517fb3644c7c8e265441ef | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.46875 | 0 | 96 | 1 | 96 | 96 | 0.427083 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
87859c0f671fef1b5328775f5417dcacc3e59f73 | 104 | py | Python | test/data/dir_test/recursive/bare_plugins.py | darricktheprogrammer/blocks | 2f6b4e04a833371eee3bbc3d846c180d3b09d8a1 | [
"MIT"
] | null | null | null | test/data/dir_test/recursive/bare_plugins.py | darricktheprogrammer/blocks | 2f6b4e04a833371eee3bbc3d846c180d3b09d8a1 | [
"MIT"
] | null | null | null | test/data/dir_test/recursive/bare_plugins.py | darricktheprogrammer/blocks | 2f6b4e04a833371eee3bbc3d846c180d3b09d8a1 | [
"MIT"
] | null | null | null | from blocks.base import IPlugin
class BarePlugin1(IPlugin):
pass
class BarePlugin2(IPlugin):
pass
| 10.4 | 31 | 0.778846 | 13 | 104 | 6.230769 | 0.692308 | 0.271605 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022727 | 0.153846 | 104 | 9 | 32 | 11.555556 | 0.897727 | 0 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.4 | 0.2 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
87e1584920473dd78c1f71153131d123c286837c | 28 | py | Python | vnpy/api/sec/__init__.py | xiumingxu/vnpy-xx | 8b2d9ecdabcb7931d46fd92fad2d3701b7e66975 | [
"MIT"
] | null | null | null | vnpy/api/sec/__init__.py | xiumingxu/vnpy-xx | 8b2d9ecdabcb7931d46fd92fad2d3701b7e66975 | [
"MIT"
] | null | null | null | vnpy/api/sec/__init__.py | xiumingxu/vnpy-xx | 8b2d9ecdabcb7931d46fd92fad2d3701b7e66975 | [
"MIT"
] | null | null | null | from .sec_constant import *
| 14 | 27 | 0.785714 | 4 | 28 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 28 | 1 | 28 | 28 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e200fad02fb48df60cd8aa1d785826232ec922ec | 138 | py | Python | photographer/homepage/views.py | MehmetUzel/photographer-appoinment | 6a6580d0da5c22aeb34699db0d9ee61ad19ea931 | [
"MIT"
] | null | null | null | photographer/homepage/views.py | MehmetUzel/photographer-appoinment | 6a6580d0da5c22aeb34699db0d9ee61ad19ea931 | [
"MIT"
] | null | null | null | photographer/homepage/views.py | MehmetUzel/photographer-appoinment | 6a6580d0da5c22aeb34699db0d9ee61ad19ea931 | [
"MIT"
] | null | null | null | from django.shortcuts import render
# Create your views here.
def home(response):
return render(response, "homepage/home.html", {})
| 19.714286 | 53 | 0.731884 | 18 | 138 | 5.611111 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152174 | 138 | 6 | 54 | 23 | 0.863248 | 0.166667 | 0 | 0 | 0 | 0 | 0.159292 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
3578b7255a53f99dcdf4a00f0feb771403106e60 | 116 | py | Python | dynamo/prediction/__init__.py | davisidarta/dynamo-release | 0dbd769f52ea07f3cdaa8fb31022ceb89938c382 | [
"BSD-3-Clause"
] | null | null | null | dynamo/prediction/__init__.py | davisidarta/dynamo-release | 0dbd769f52ea07f3cdaa8fb31022ceb89938c382 | [
"BSD-3-Clause"
] | null | null | null | dynamo/prediction/__init__.py | davisidarta/dynamo-release | 0dbd769f52ea07f3cdaa8fb31022ceb89938c382 | [
"BSD-3-Clause"
] | null | null | null | """Mapping Vector Field of Single Cells
"""
from .fate import fate, fate_bias
from .state_graph import state_graph
| 19.333333 | 39 | 0.775862 | 18 | 116 | 4.833333 | 0.666667 | 0.229885 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146552 | 116 | 5 | 40 | 23.2 | 0.878788 | 0.310345 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
35ae74723315a8ce0b7df3115efb0e8fa6e70ffd | 5,059 | py | Python | grano/test/views/test_filters.py | ANCIR/grano | cee2ec1974df5df2bc6ed5e214f6bd5d201397a4 | [
"MIT"
] | 30 | 2018-08-23T15:42:17.000Z | 2021-11-16T13:11:36.000Z | grano/test/views/test_filters.py | ANCIR/grano | cee2ec1974df5df2bc6ed5e214f6bd5d201397a4 | [
"MIT"
] | null | null | null | grano/test/views/test_filters.py | ANCIR/grano | cee2ec1974df5df2bc6ed5e214f6bd5d201397a4 | [
"MIT"
] | 5 | 2019-05-30T11:36:53.000Z | 2021-08-11T16:17:14.000Z | import unittest
import flask
from grano import authz
from grano.lib.args import single_arg
from grano.views import filters
from grano.core import db
from grano.model import Entity
from grano.test.test_authz import make_test_app, BaseAuthTestCase
from grano.test.test_authz import _project_and_permission
from werkzeug.da... | 38.618321 | 78 | 0.663768 | 607 | 5,059 | 5.298188 | 0.136738 | 0.061567 | 0.034204 | 0.046642 | 0.82556 | 0.817786 | 0.776741 | 0.752799 | 0.752799 | 0.713308 | 0 | 0.004377 | 0.232259 | 5,059 | 130 | 79 | 38.915385 | 0.823635 | 0.019371 | 0 | 0.694444 | 0 | 0 | 0.009883 | 0 | 0 | 0 | 0 | 0 | 0.092593 | 1 | 0.111111 | false | 0 | 0.101852 | 0 | 0.231481 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
35ba4b1068b75d2b05913c704960d35ab02b073e | 60 | py | Python | hlib/python/hlib/__init__.py | zzzDavid/heterocl | 977aae575d54a30c5bf6d869e8f71bdc815cf7e9 | [
"Apache-2.0"
] | 236 | 2019-05-19T01:48:11.000Z | 2022-03-31T09:03:54.000Z | hlib/python/hlib/__init__.py | zzzDavid/heterocl | 977aae575d54a30c5bf6d869e8f71bdc815cf7e9 | [
"Apache-2.0"
] | 248 | 2019-05-17T19:18:36.000Z | 2022-03-30T21:25:47.000Z | hlib/python/hlib/__init__.py | AlgaPeng/heterocl-2 | b5197907d1fe07485466a63671a2a906a861c939 | [
"Apache-2.0"
] | 85 | 2019-05-17T20:09:27.000Z | 2022-02-28T20:19:00.000Z | from . import op
from . import frontend
from . import utils
| 15 | 22 | 0.75 | 9 | 60 | 5 | 0.555556 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 60 | 3 | 23 | 20 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
35bfd2949da03317bb8097e927a06b2d668c619f | 40 | py | Python | amaranth_soc/csr/__init__.py | jfng/amaranth-soc | 217d4ea76ad3b3bbf146980d168bc7b3b9d95a18 | [
"BSD-2-Clause"
] | 28 | 2020-01-28T18:22:04.000Z | 2021-11-10T12:50:14.000Z | amaranth_soc/csr/__init__.py | jfng/amaranth-soc | 217d4ea76ad3b3bbf146980d168bc7b3b9d95a18 | [
"BSD-2-Clause"
] | 24 | 2020-02-05T15:37:38.000Z | 2021-09-16T11:54:36.000Z | amaranth_soc/csr/__init__.py | jfng/amaranth-soc | 217d4ea76ad3b3bbf146980d168bc7b3b9d95a18 | [
"BSD-2-Clause"
] | 14 | 2020-02-07T15:25:27.000Z | 2021-10-11T05:33:17.000Z | from .bus import *
from .event import *
| 13.333333 | 20 | 0.7 | 6 | 40 | 4.666667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 40 | 2 | 21 | 20 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ea6a0b16219f54534ec27e08409670ce1d4d7d4f | 3,358 | py | Python | test/test_algos/test_noise_handling/test_ssracos.py | HowardHu97/ZOOpt | 01568e8e6b0e65ac310d362af2da5245ac375e53 | [
"MIT"
] | 1 | 2018-11-03T12:05:00.000Z | 2018-11-03T12:05:00.000Z | test/test_algos/test_noise_handling/test_ssracos.py | HowardHu97/ZOOpt | 01568e8e6b0e65ac310d362af2da5245ac375e53 | [
"MIT"
] | null | null | null | test/test_algos/test_noise_handling/test_ssracos.py | HowardHu97/ZOOpt | 01568e8e6b0e65ac310d362af2da5245ac375e53 | [
"MIT"
] | null | null | null | import numpy as np
from zoopt import Dimension, Objective, Parameter, Opt
def ackley(solution):
"""
Ackley function for continuous optimization
"""
x = solution.get_x()
bias = 0.2
ave_seq = sum([(i - bias) * (i - bias) for i in x]) / len(x)
ave_cos = sum([np.cos(2.0*np.pi*(i-bias)) for i i... | 50.878788 | 114 | 0.68642 | 468 | 3,358 | 4.788462 | 0.260684 | 0.031236 | 0.026774 | 0.037483 | 0.800089 | 0.800089 | 0.800089 | 0.800089 | 0.78581 | 0.78581 | 0 | 0.032171 | 0.231686 | 3,358 | 66 | 115 | 50.878788 | 0.836434 | 0.444908 | 0 | 0.540541 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.054054 | 1 | 0.108108 | false | 0 | 0.054054 | 0 | 0.243243 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ea81845170d7e5523c3c3fb9e0f2c3c3d6259836 | 195 | py | Python | bin/frequency.py | mikiec84/linkshop | 72959ceca0003be226edeca6496f915502831596 | [
"Apache-2.0"
] | 6 | 2017-07-18T15:28:33.000Z | 2020-03-03T14:45:45.000Z | bin/frequency.py | mikiec84/linkshop | 72959ceca0003be226edeca6496f915502831596 | [
"Apache-2.0"
] | null | null | null | bin/frequency.py | mikiec84/linkshop | 72959ceca0003be226edeca6496f915502831596 | [
"Apache-2.0"
] | 3 | 2017-09-09T00:36:48.000Z | 2020-03-03T14:45:49.000Z | #!/usr/bin/env python3
"""Command-line wrapper for enumeration.cli_frequency."""
import loadPath # Adds the project path.
import linkograph.enumeration
linkograph.enumeration.cli_frequency()
| 21.666667 | 57 | 0.789744 | 24 | 195 | 6.333333 | 0.75 | 0.184211 | 0.302632 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005714 | 0.102564 | 195 | 8 | 58 | 24.375 | 0.862857 | 0.492308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ea84873d804c6f8751171cd8d4318c9ce2ddcca5 | 12,089 | py | Python | tests/integration/test_acctload.py | kcburge/awsrun | b348bff36381dd08063bc6494ca79426d294f744 | [
"MIT"
] | 48 | 2019-11-16T15:22:05.000Z | 2020-08-30T20:56:34.000Z | tests/integration/test_acctload.py | kcburge/awsrun | b348bff36381dd08063bc6494ca79426d294f744 | [
"MIT"
] | 5 | 2021-01-16T15:50:31.000Z | 2022-03-30T01:32:42.000Z | tests/integration/test_acctload.py | kcburge/awsrun | b348bff36381dd08063bc6494ca79426d294f744 | [
"MIT"
] | 7 | 2020-10-27T09:36:57.000Z | 2021-08-30T16:10:26.000Z | #
# Copyright 2019 FMR LLC <opensource@fidelity.com>
#
# SPDX-License-Identifier: MIT
#
import json
from datetime import datetime, timedelta
from pathlib import Path
import pytest
import yaml
from freezegun import freeze_time
from awsrun import acctload
@pytest.fixture()
def expected_from_loader():
return [
... | 31.981481 | 82 | 0.674167 | 1,610 | 12,089 | 4.86087 | 0.119255 | 0.0207 | 0.052901 | 0.031561 | 0.892921 | 0.862382 | 0.854076 | 0.847176 | 0.820215 | 0.807181 | 0 | 0.03754 | 0.219952 | 12,089 | 377 | 83 | 32.066313 | 0.792365 | 0.192075 | 0 | 0.565957 | 0 | 0 | 0.197079 | 0.03718 | 0 | 0 | 0 | 0 | 0.106383 | 1 | 0.06383 | false | 0 | 0.029787 | 0.017021 | 0.110638 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
aa2477dffa14eb1ef2bb44dcf3782d8fd79405a4 | 35 | py | Python | server-src/modules.py | Artingl/Fluffy | e51ca77651a67ea6206dcbfa0a3436c032f3a3ed | [
"Apache-2.0"
] | null | null | null | server-src/modules.py | Artingl/Fluffy | e51ca77651a67ea6206dcbfa0a3436c032f3a3ed | [
"Apache-2.0"
] | null | null | null | server-src/modules.py | Artingl/Fluffy | e51ca77651a67ea6206dcbfa0a3436c032f3a3ed | [
"Apache-2.0"
] | null | null | null | import users
import directMessages
| 11.666667 | 21 | 0.885714 | 4 | 35 | 7.75 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 35 | 2 | 22 | 17.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a4bf4c088466c4ab3f55e1dbc80581a1586a9c10 | 4,636 | py | Python | social/tests/test_send_comment.py | Mangeneh/akkaskhooneh-backend | 2a81e73fbe0d55d5821ba1670a997bd8851c4af6 | [
"MIT"
] | 7 | 2018-09-17T18:34:49.000Z | 2019-09-15T11:39:15.000Z | social/tests/test_send_comment.py | Mangeneh/akkaskhooneh-backend | 2a81e73fbe0d55d5821ba1670a997bd8851c4af6 | [
"MIT"
] | 9 | 2019-10-21T17:12:21.000Z | 2022-03-11T23:28:14.000Z | social/tests/test_send_comment.py | Mangeneh/akkaskhooneh-backend | 2a81e73fbe0d55d5821ba1670a997bd8851c4af6 | [
"MIT"
] | 1 | 2019-11-29T16:12:12.000Z | 2019-11-29T16:12:12.000Z | from random import choice
from string import ascii_letters
from django.test import TestCase
from authentication.models import User
from social.models import Posts, Followers, Request, Comment
from rest_framework import status
class FollowRequestTest(TestCase):
def create(self, email, username, password):
... | 43.327103 | 79 | 0.659836 | 583 | 4,636 | 5.070326 | 0.135506 | 0.073072 | 0.052097 | 0.081867 | 0.727673 | 0.727673 | 0.727673 | 0.727673 | 0.727673 | 0.725304 | 0 | 0.018498 | 0.207075 | 4,636 | 106 | 80 | 43.735849 | 0.785637 | 0 | 0 | 0.582418 | 0 | 0 | 0.081752 | 0 | 0 | 0 | 0 | 0 | 0.186813 | 1 | 0.153846 | false | 0.076923 | 0.065934 | 0 | 0.252747 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
a4c5ca325881ea6465d0973d7eafa9c24b39727d | 1,228 | py | Python | backend/api/tests/utils.py | Leryud/doccano-lilo | b67c17431bedd76624346a0dbc41dd226cb1a0b5 | [
"MIT"
] | null | null | null | backend/api/tests/utils.py | Leryud/doccano-lilo | b67c17431bedd76624346a0dbc41dd226cb1a0b5 | [
"MIT"
] | null | null | null | backend/api/tests/utils.py | Leryud/doccano-lilo | b67c17431bedd76624346a0dbc41dd226cb1a0b5 | [
"MIT"
] | null | null | null | from rest_framework import status
from rest_framework.test import APITestCase
class CRUDMixin(APITestCase):
url = ''
data = {}
def assert_fetch(self, user=None, expected=status.HTTP_403_FORBIDDEN):
if user:
self.client.force_login(user)
response = self.client.get(self.url)
... | 35.085714 | 77 | 0.680782 | 152 | 1,228 | 5.355263 | 0.243421 | 0.09828 | 0.058968 | 0.09828 | 0.816953 | 0.816953 | 0.816953 | 0.816953 | 0.749386 | 0.749386 | 0 | 0.012552 | 0.221498 | 1,228 | 34 | 78 | 36.117647 | 0.838912 | 0 | 0 | 0.535714 | 0 | 0 | 0.006515 | 0 | 0 | 0 | 0 | 0 | 0.285714 | 1 | 0.142857 | false | 0 | 0.071429 | 0 | 0.428571 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a4d5f4aaf8d8d3b0d3cb2372eaa66ad648ddbed2 | 64 | py | Python | package_test1.py | lwinthida/python-exercises | 47a75422bf97c7694db99517ea93cb236662db79 | [
"MIT"
] | null | null | null | package_test1.py | lwinthida/python-exercises | 47a75422bf97c7694db99517ea93cb236662db79 | [
"MIT"
] | null | null | null | package_test1.py | lwinthida/python-exercises | 47a75422bf97c7694db99517ea93cb236662db79 | [
"MIT"
] | null | null | null | import package_python.ex41py3
package_python.ex41py3.convert()
| 16 | 32 | 0.859375 | 8 | 64 | 6.625 | 0.625 | 0.490566 | 0.754717 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 0.0625 | 64 | 3 | 33 | 21.333333 | 0.783333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
35260403c0f8b26cbac6e913538193cf941589d9 | 139 | py | Python | src/django_website/blog/admin.py | jdheinz/project-ordo_ab_chao | 4063f93b297bab43cff6ca64fa5ba103f0c75158 | [
"MIT"
] | 2 | 2019-09-23T18:42:32.000Z | 2019-09-27T00:33:38.000Z | src/django_website/blog/admin.py | jdheinz/project-ordo_ab_chao | 4063f93b297bab43cff6ca64fa5ba103f0c75158 | [
"MIT"
] | 6 | 2021-03-19T03:25:33.000Z | 2022-02-10T08:48:14.000Z | src/django_website/blog/admin.py | jdheinz/project-ordo_ab_chao | 4063f93b297bab43cff6ca64fa5ba103f0c75158 | [
"MIT"
] | 6 | 2019-09-23T18:53:41.000Z | 2020-02-06T00:20:06.000Z | from django.contrib import admin
from .models import BlogPost
# register BlogPost instance with django admin
admin.site.register(BlogPost) | 27.8 | 46 | 0.834532 | 19 | 139 | 6.105263 | 0.578947 | 0.275862 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115108 | 139 | 5 | 47 | 27.8 | 0.943089 | 0.316547 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3546825b281f49189f3035dceb7f10879fb10604 | 10,138 | py | Python | cheetah/plot.py | BiocomputeLab/cheetah | cf5b32e6de7af5c4bddc715817b5a9b3b3f5e658 | [
"MIT"
] | null | null | null | cheetah/plot.py | BiocomputeLab/cheetah | cf5b32e6de7af5c4bddc715817b5a9b3b3f5e658 | [
"MIT"
] | null | null | null | cheetah/plot.py | BiocomputeLab/cheetah | cf5b32e6de7af5c4bddc715817b5a9b3b3f5e658 | [
"MIT"
] | 1 | 2021-06-25T01:01:31.000Z | 2021-06-25T01:01:31.000Z |
import numpy as np
import matplotlib.pyplot as plt
plt.ioff()
from mpl_toolkits.axes_grid1 import ImageGrid
def plot_acc_loss(acc, val_acc, loss, val_loss, filename, save_as='pdf'):
'''Function to plot training / validation accuracy and loss'''
epochs = range(1, len(acc) + 1)
# Over... | 41.892562 | 82 | 0.555731 | 1,483 | 10,138 | 3.578557 | 0.111935 | 0.031091 | 0.039382 | 0.02638 | 0.834181 | 0.775203 | 0.74788 | 0.731675 | 0.705672 | 0.703976 | 0 | 0.034483 | 0.304892 | 10,138 | 241 | 83 | 42.06639 | 0.718604 | 0.094003 | 0 | 0.677083 | 0 | 0 | 0.077018 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.026042 | false | 0 | 0.015625 | 0 | 0.041667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
103dbb89d24bb05ab9ca5fe84b0294a4ba5e4684 | 34 | py | Python | pandoc_chem_struct/__init__.py | scotthartley/pandoc-chem-struct | f89c2cd5230710b6efc94e3f9a8dbf228033ba3f | [
"MIT"
] | 11 | 2016-03-24T10:21:42.000Z | 2021-09-10T07:23:18.000Z | pandoc_chem_struct/__init__.py | scotthartley/pandoc-chem-struct | f89c2cd5230710b6efc94e3f9a8dbf228033ba3f | [
"MIT"
] | 1 | 2021-11-22T15:18:35.000Z | 2021-11-23T13:59:03.000Z | pandoc_chem_struct/__init__.py | scotthartley/pandoc-chem-struct | f89c2cd5230710b6efc94e3f9a8dbf228033ba3f | [
"MIT"
] | 2 | 2016-01-29T20:54:23.000Z | 2020-10-10T16:43:44.000Z | from .pandoc_chem_struct import *
| 17 | 33 | 0.823529 | 5 | 34 | 5.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 34 | 1 | 34 | 34 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
105a6400a7ac93414961dd2e11198fd2537cdf3b | 130 | py | Python | src/iOS/toga_iOS/libs/__init__.py | luizoti/toga | 3c49e685f325f1aba2ce048b253402d7e4519f97 | [
"BSD-3-Clause"
] | 1,261 | 2019-03-31T16:28:47.000Z | 2022-03-31T09:01:23.000Z | src/iOS/toga_iOS/libs/__init__.py | luizoti/toga | 3c49e685f325f1aba2ce048b253402d7e4519f97 | [
"BSD-3-Clause"
] | 597 | 2019-04-02T20:02:42.000Z | 2022-03-30T10:28:47.000Z | src/iOS/toga_iOS/libs/__init__.py | luizoti/toga | 3c49e685f325f1aba2ce048b253402d7e4519f97 | [
"BSD-3-Clause"
] | 318 | 2019-03-31T18:32:00.000Z | 2022-03-30T18:07:13.000Z | from .core_graphics import * # NOQA
from .foundation import * # NOQA
from .uikit import * # NOQA
from .webkit import * # NOQA
| 26 | 36 | 0.692308 | 17 | 130 | 5.235294 | 0.470588 | 0.449438 | 0.47191 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.215385 | 130 | 4 | 37 | 32.5 | 0.872549 | 0.146154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
529c51ab18219dd27a56c82e3a04878fce4762b8 | 129 | py | Python | src/waldur_vmware/signals.py | opennode/nodeconductor-assembly-waldur | cad9966389dc9b52b13d2301940c99cf4b243900 | [
"MIT"
] | 2 | 2017-01-20T15:26:25.000Z | 2017-08-03T04:38:08.000Z | src/waldur_vmware/signals.py | opennode/nodeconductor-assembly-waldur | cad9966389dc9b52b13d2301940c99cf4b243900 | [
"MIT"
] | null | null | null | src/waldur_vmware/signals.py | opennode/nodeconductor-assembly-waldur | cad9966389dc9b52b13d2301940c99cf4b243900 | [
"MIT"
] | null | null | null | from django.dispatch import Signal
# providing_args=['vm']
vm_created = Signal()
# providing_args=['vm']
vm_updated = Signal()
| 16.125 | 34 | 0.728682 | 17 | 129 | 5.294118 | 0.588235 | 0.333333 | 0.422222 | 0.466667 | 0.511111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.124031 | 129 | 7 | 35 | 18.428571 | 0.79646 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
52b9d27d1a22c9fbf359da3734d404fd79e60d96 | 6,036 | py | Python | ECommerce/populate.py | suhasbs/EcommerceWebsite | 54a3204851b360345dc850ac22594832f2449097 | [
"MIT"
] | 1 | 2019-04-01T10:47:09.000Z | 2019-04-01T10:47:09.000Z | ECommerce/populate.py | suhasbs/EcommerceWebsite | 54a3204851b360345dc850ac22594832f2449097 | [
"MIT"
] | null | null | null | ECommerce/populate.py | suhasbs/EcommerceWebsite | 54a3204851b360345dc850ac22594832f2449097 | [
"MIT"
] | null | null | null | import csv
from ecom_webapp.models import Product, Books, Laptop, Furniture, ProductImages
import pandas as pd
# with open('csv_files/book_data_educ.csv') as f:
# reader = csv.reader(f)
# header = next(reader)
# print reader
# ctr=0
# for row in reader:
# ctr+=1
# if ctr==1:
# continue
# # if is_ascii(r... | 35.093023 | 187 | 0.64049 | 939 | 6,036 | 4.005325 | 0.120341 | 0.026589 | 0.044669 | 0.061154 | 0.795799 | 0.769742 | 0.76469 | 0.728796 | 0.699548 | 0.67163 | 0 | 0.029181 | 0.154076 | 6,036 | 171 | 188 | 35.298246 | 0.707403 | 0.823393 | 0 | 0 | 0 | 0 | 0.081229 | 0.023052 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.1875 | null | null | 0.125 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
52c87a9e691e32953216ba1241539ec221660683 | 125 | py | Python | wouso/games/quiz/admin.py | AlexandruGhergut/wouso | f26244ff58ae626808ae8c58ccc93d21f9f2666f | [
"Apache-2.0"
] | 117 | 2015-01-02T18:07:33.000Z | 2021-01-06T22:36:25.000Z | wouso/games/quiz/admin.py | AlexandruGhergut/wouso | f26244ff58ae626808ae8c58ccc93d21f9f2666f | [
"Apache-2.0"
] | 229 | 2015-01-12T07:07:58.000Z | 2019-10-12T08:27:01.000Z | wouso/games/quiz/admin.py | AlexandruGhergut/wouso | f26244ff58ae626808ae8c58ccc93d21f9f2666f | [
"Apache-2.0"
] | 96 | 2015-01-07T05:26:09.000Z | 2020-06-25T07:28:51.000Z | from django.contrib import admin
from models import QuizUser, Quiz
admin.site.register(Quiz)
admin.site.register(QuizUser)
| 17.857143 | 33 | 0.816 | 18 | 125 | 5.666667 | 0.555556 | 0.176471 | 0.254902 | 0.411765 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104 | 125 | 6 | 34 | 20.833333 | 0.910714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
52caa2a45c1afcfb1df5fe846fd4b752732ae2bd | 7,885 | py | Python | gslib/tests/test_rm.py | jterrace/gsutil | 7e83582952faae36d85986ad6c024b06787feaf3 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | gslib/tests/test_rm.py | jterrace/gsutil | 7e83582952faae36d85986ad6c024b06787feaf3 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | gslib/tests/test_rm.py | jterrace/gsutil | 7e83582952faae36d85986ad6c024b06787feaf3 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | # Copyright 2013 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or a... | 45.057143 | 75 | 0.657451 | 1,041 | 7,885 | 4.774256 | 0.167147 | 0.054326 | 0.04829 | 0.067606 | 0.789738 | 0.782093 | 0.77002 | 0.738229 | 0.72495 | 0.702616 | 0 | 0.019518 | 0.200761 | 7,885 | 174 | 76 | 45.316092 | 0.769121 | 0.173494 | 0 | 0.761194 | 0 | 0 | 0.08563 | 0 | 0 | 0 | 0 | 0 | 0.261194 | 1 | 0.104478 | false | 0 | 0.022388 | 0 | 0.134328 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
52ff99a5d12fa28c606cf668535176710c574a8c | 1,564 | py | Python | src/main/python/sql_smith/builder/criteria_builder.py | fbraem/sql-smith | b4dbf3ffec02fd11c6f3c074e48325e3fdad46fb | [
"MIT"
] | null | null | null | src/main/python/sql_smith/builder/criteria_builder.py | fbraem/sql-smith | b4dbf3ffec02fd11c6f3c074e48325e3fdad46fb | [
"MIT"
] | null | null | null | src/main/python/sql_smith/builder/criteria_builder.py | fbraem/sql-smith | b4dbf3ffec02fd11c6f3c074e48325e3fdad46fb | [
"MIT"
] | null | null | null | from sql_smith.functions import criteria, listing
class CriteriaBuilder:
def __init__(self, statement: 'StatementInterface'):
self._statement = statement
def between(self, start, end) -> 'CriteriaInterface':
return criteria('{} BETWEEN {} AND {}', self._statement, start, end)
def not_bet... | 36.372093 | 80 | 0.627877 | 158 | 1,564 | 6.056962 | 0.196203 | 0.190178 | 0.388715 | 0.200627 | 0.794148 | 0.794148 | 0.562173 | 0.386625 | 0.386625 | 0.131661 | 0 | 0 | 0.206522 | 1,564 | 42 | 81 | 37.238095 | 0.771152 | 0 | 0 | 0 | 0 | 0 | 0.22954 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.464286 | false | 0 | 0.035714 | 0.428571 | 0.964286 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
5e1481f6e69654b13616e69234780c23a3c8b8e0 | 22,092 | py | Python | disentanglement_lib/methods/shared/layers.py | homaralex/disentanglement_lib | cb9bf7c8498f220b1f1fd1cf560fc6030ede49f0 | [
"Apache-2.0"
] | 1 | 2021-03-08T17:37:10.000Z | 2021-03-08T17:37:10.000Z | disentanglement_lib/methods/shared/layers.py | homaralex/disentanglement_lib | cb9bf7c8498f220b1f1fd1cf560fc6030ede49f0 | [
"Apache-2.0"
] | null | null | null | disentanglement_lib/methods/shared/layers.py | homaralex/disentanglement_lib | cb9bf7c8498f220b1f1fd1cf560fc6030ede49f0 | [
"Apache-2.0"
] | null | null | null | import gin
import numpy as np
import tensorflow as tf
from tensorflow.python.layers.core import Dense
from tensorflow.python.ops import init_ops
from tensorflow.python.eager import context
from tensorflow.python.framework import common_shapes
from tensorflow.python.framework import ops
from tensorflow.python.ops import... | 31.115493 | 114 | 0.604155 | 2,392 | 22,092 | 5.332776 | 0.091555 | 0.016463 | 0.035121 | 0.018031 | 0.790608 | 0.749922 | 0.744904 | 0.729539 | 0.715036 | 0.701003 | 0 | 0.00619 | 0.312557 | 22,092 | 709 | 115 | 31.159379 | 0.833739 | 0.059705 | 0 | 0.754561 | 0 | 0 | 0.011088 | 0 | 0 | 0 | 0 | 0.00141 | 0 | 1 | 0.05141 | false | 0 | 0.021559 | 0.006633 | 0.137645 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5e36807d7323009a5486a48f0b5526fad29a58ce | 198 | py | Python | lejian/rcmd/__init__.py | PuZheng/LEJAIN-backend | 1647b63cb409842566f3d2cd9771f8b8856c1a03 | [
"MIT"
] | null | null | null | lejian/rcmd/__init__.py | PuZheng/LEJAIN-backend | 1647b63cb409842566f3d2cd9771f8b8856c1a03 | [
"MIT"
] | 13 | 2015-10-23T04:43:51.000Z | 2015-12-19T14:30:33.000Z | lejian/rcmd/__init__.py | PuZheng/lejian-backend | 1647b63cb409842566f3d2cd9771f8b8856c1a03 | [
"MIT"
] | null | null | null | # -*- coding: UTF-8 -*-
from flask import Blueprint
rcmd_ws = Blueprint("rcmd_ws", __name__, static_folder="static",
template_folder="templates")
import genuine_ap.rcmd.views
| 24.75 | 64 | 0.671717 | 24 | 198 | 5.166667 | 0.708333 | 0.209677 | 0.241935 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006329 | 0.20202 | 198 | 7 | 65 | 28.285714 | 0.778481 | 0.106061 | 0 | 0 | 0 | 0 | 0.125714 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
eadbd08b3a29df03d2cb4f2a2df9c024b9db4537 | 127 | py | Python | tamilnlp/__init__.py | AshokR/TamilNLP | ef8c81ba90a466732401b24790fd6e07b88f2adb | [
"Apache-2.0"
] | 64 | 2016-06-29T05:55:20.000Z | 2022-02-13T08:48:29.000Z | tamilnlp/__init__.py | Ezhil-Language-Foundation/TamilNLP | 3d898a6ce7daf7a740b945219c9b2bbbee44a37f | [
"Apache-2.0"
] | 8 | 2016-08-06T17:12:48.000Z | 2021-01-18T14:00:04.000Z | tamilnlp/__init__.py | AshokR/TamilNLP | ef8c81ba90a466732401b24790fd6e07b88f2adb | [
"Apache-2.0"
] | 18 | 2016-08-06T17:00:35.000Z | 2021-02-16T10:55:44.000Z | from .ConvertAmritaToRDR import *
from .TextSummaryExtractor import *
from .WikiByCategory import *
from .WikiByPage import *
| 25.4 | 35 | 0.80315 | 12 | 127 | 8.5 | 0.5 | 0.294118 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133858 | 127 | 4 | 36 | 31.75 | 0.927273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
eaf9df229486be4757460be23dc826560ae351e7 | 36 | py | Python | testing.py | brownliuinnz/cython | 7fc9dd1369f43239b3e4b5f362fd1a9e1feddf64 | [
"CNRI-Python"
] | null | null | null | testing.py | brownliuinnz/cython | 7fc9dd1369f43239b3e4b5f362fd1a9e1feddf64 | [
"CNRI-Python"
] | null | null | null | testing.py | brownliuinnz/cython | 7fc9dd1369f43239b3e4b5f362fd1a9e1feddf64 | [
"CNRI-Python"
] | null | null | null | import cpp_python
cpp_python.test(5) | 18 | 18 | 0.861111 | 7 | 36 | 4.142857 | 0.714286 | 0.62069 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.029412 | 0.055556 | 36 | 2 | 18 | 18 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
d8120e64af85453d967c001f92dde96175ae06d6 | 59 | py | Python | poetry_template/__main__.py | sitch/common_poetry_template | 478769db0819d8f603f2f379eb6d0a94203d23d9 | [
"MIT"
] | 4 | 2021-07-30T08:52:35.000Z | 2022-03-31T07:57:31.000Z | poetry_template/__main__.py | ImperialCollegeLondon/poetry_template | f9f93efc4b054b99f401ecbca1f48bdac6c0419e | [
"MIT"
] | null | null | null | poetry_template/__main__.py | ImperialCollegeLondon/poetry_template | f9f93efc4b054b99f401ecbca1f48bdac6c0419e | [
"MIT"
] | null | null | null | import poetry_template
print(poetry_template.__version__)
| 14.75 | 34 | 0.881356 | 7 | 59 | 6.571429 | 0.714286 | 0.608696 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.067797 | 59 | 3 | 35 | 19.666667 | 0.836364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
dc3e47e6315cdeaafcbbc3c091409278d9a7ae14 | 55 | py | Python | library/chainer_evaluation/__init__.py | AmirHosseinAmeli/Triple-GAN | 127948d9e22767d315a4b3ca58fc4a56d92ff9d3 | [
"MIT"
] | 29 | 2020-09-03T08:35:47.000Z | 2022-02-10T18:39:29.000Z | library/chainer_evaluation/__init__.py | AmirHosseinAmeli/Triple-GAN | 127948d9e22767d315a4b3ca58fc4a56d92ff9d3 | [
"MIT"
] | 6 | 2020-12-22T14:43:14.000Z | 2022-03-12T00:55:24.000Z | library/chainer_evaluation/__init__.py | AmirHosseinAmeli/Triple-GAN | 127948d9e22767d315a4b3ca58fc4a56d92ff9d3 | [
"MIT"
] | 8 | 2020-10-01T04:03:40.000Z | 2022-03-21T10:23:40.000Z | from . import evaluation
from . import inception_score
| 18.333333 | 29 | 0.818182 | 7 | 55 | 6.285714 | 0.714286 | 0.454545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145455 | 55 | 2 | 30 | 27.5 | 0.93617 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
dc9cbdadec0a8be5683d267638e2c6d43dc44de7 | 5,886 | py | Python | nsrl/policies/exploration_policies.py | taodav/novelty-search-repr-space | 461691104dc3a72b9b4f7ec040b71d95eec434b1 | [
"MIT"
] | 11 | 2020-12-03T13:24:00.000Z | 2022-01-26T21:40:14.000Z | nsrl/policies/exploration_policies.py | taodav/novelty-search-repr-space | 461691104dc3a72b9b4f7ec040b71d95eec434b1 | [
"MIT"
] | null | null | null | nsrl/policies/exploration_policies.py | taodav/novelty-search-repr-space | 461691104dc3a72b9b4f7ec040b71d95eec434b1 | [
"MIT"
] | 2 | 2020-12-17T00:42:34.000Z | 2020-12-19T12:59:11.000Z | import torch
import copy
import numpy as np
from .EpsilonGreedyPolicy import EpsilonGreedyPolicy
from nsrl.helper.pytorch import device
class RewardArgmaxPolicy(EpsilonGreedyPolicy):
def __init__(self, learning_algo, n_actions, random_state, epsilon_start=0):
super(RewardArgmaxPolicy, self).__init__(learn... | 47.853659 | 166 | 0.674482 | 774 | 5,886 | 4.869509 | 0.142119 | 0.120987 | 0.14009 | 0.053064 | 0.816928 | 0.816928 | 0.807907 | 0.807907 | 0.796232 | 0.785354 | 0 | 0.006758 | 0.220693 | 5,886 | 122 | 167 | 48.245902 | 0.814912 | 0.045702 | 0 | 0.674157 | 0 | 0 | 0.003745 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.134831 | false | 0 | 0.05618 | 0.011236 | 0.325843 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
dcbbc14dd6503d11cbba1f9e8d27a340328bf876 | 3,345 | py | Python | tests/test_pg_usage_msg.py | jyrgenn/jpylib | a4711d11c012ad72f60d7591e7ac2c9e53d3ddd6 | [
"BSD-3-Clause"
] | null | null | null | tests/test_pg_usage_msg.py | jyrgenn/jpylib | a4711d11c012ad72f60d7591e7ac2c9e53d3ddd6 | [
"BSD-3-Clause"
] | null | null | null | tests/test_pg_usage_msg.py | jyrgenn/jpylib | a4711d11c012ad72f60d7591e7ac2c9e53d3ddd6 | [
"BSD-3-Clause"
] | null | null | null | #!/usr/bin/env python3
from jpylib.pgetopt import parse
import unittest
# test replacing the default usage message
class UsageTestcase(unittest.TestCase):
def test_usage0(self):
"""-h/--hounds option"""
ovc, args = parse({
"v": ("verbose", bool, 1, "increase verbosity"),
... | 35.967742 | 72 | 0.495067 | 341 | 3,345 | 4.671554 | 0.184751 | 0.035154 | 0.060264 | 0.065286 | 0.865035 | 0.799749 | 0.799749 | 0.77715 | 0.77715 | 0.77715 | 0 | 0.011295 | 0.311809 | 3,345 | 92 | 73 | 36.358696 | 0.680712 | 0.06577 | 0 | 0.602941 | 0 | 0 | 0.262082 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 1 | 0.117647 | false | 0 | 0.029412 | 0 | 0.161765 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
521b5db27388b4644004b2a74c23a6c05fb14c0d | 32,580 | py | Python | tests/test_memocell_data.py | hoefer-lab/memocell | 5dc08d121e64fbde1ccdce86f0f1390e6918d255 | [
"MIT"
] | null | null | null | tests/test_memocell_data.py | hoefer-lab/memocell | 5dc08d121e64fbde1ccdce86f0f1390e6918d255 | [
"MIT"
] | null | null | null | tests/test_memocell_data.py | hoefer-lab/memocell | 5dc08d121e64fbde1ccdce86f0f1390e6918d255 | [
"MIT"
] | 1 | 2021-05-25T12:54:51.000Z | 2021-05-25T12:54:51.000Z |
# for package testing with pytest call
# in upper directory "$ python setup.py pytest"
# or in this directory "$ py.test test_memocell_[...].py"
# or after pip installation $py.test --pyargs memocell$
import memocell as me
import numpy as np
class TestDataClass(object):
### tests for create_data_variable_order()... | 63.882353 | 145 | 0.484223 | 4,417 | 32,580 | 3.344351 | 0.058184 | 0.049553 | 0.054427 | 0.058489 | 0.885527 | 0.875575 | 0.861427 | 0.849377 | 0.822231 | 0.782155 | 0 | 0.167373 | 0.355586 | 32,580 | 509 | 146 | 64.007859 | 0.536223 | 0.019552 | 0 | 0.604966 | 0 | 0 | 0.059307 | 0 | 0 | 0 | 0 | 0 | 0.216704 | 1 | 0.097065 | false | 0 | 0.004515 | 0 | 0.103837 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5239dd41a8997d0345cf38eed6726c06fa769784 | 6,855 | py | Python | bpyCruft/nextLayer.py | feurig/mysorrybot | 020ac244b8fcd9bf7a45500691f356c5c057b8bc | [
"BSD-3-Clause"
] | null | null | null | bpyCruft/nextLayer.py | feurig/mysorrybot | 020ac244b8fcd9bf7a45500691f356c5c057b8bc | [
"BSD-3-Clause"
] | null | null | null | bpyCruft/nextLayer.py | feurig/mysorrybot | 020ac244b8fcd9bf7a45500691f356c5c057b8bc | [
"BSD-3-Clause"
] | null | null | null | import bpy
import math
import mathutils
standLocationRadius=56.0
standRadius=3.5
bpy.ops.mesh.primitive_cylinder_add(vertices=64, radius=59, depth=5.0, location=(0,0, 1.25))
bigHole = bpy.context.selected_objects[0]
bigHole.name="BigHole"
bpy.ops.mesh.primitive_cylinder_add(vertices=64, radius=61, depth=3.0, locatio... | 38.728814 | 125 | 0.774034 | 995 | 6,855 | 5.228141 | 0.069347 | 0.062284 | 0.101499 | 0.069204 | 0.92253 | 0.887159 | 0.88293 | 0.856978 | 0.845636 | 0.827951 | 0 | 0.022857 | 0.055434 | 6,855 | 177 | 126 | 38.728814 | 0.780541 | 0.010357 | 0 | 0.69403 | 0 | 0 | 0.118237 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.022388 | 0 | 0.022388 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
870408453920a54fb69c665e523d146a16e6b822 | 13,811 | py | Python | scripts/ssc/COREL/config_library.py | MrBellamonte/MT-VAEs-TDA | 8881b5db607c673fb558f7b74ece27f244b16b77 | [
"MIT"
] | null | null | null | scripts/ssc/COREL/config_library.py | MrBellamonte/MT-VAEs-TDA | 8881b5db607c673fb558f7b74ece27f244b16b77 | [
"MIT"
] | 1 | 2020-09-22T13:04:58.000Z | 2020-09-22T13:05:23.000Z | scripts/ssc/COREL/config_library.py | MrBellamonte/AEs-VAEs-TDA | 8881b5db607c673fb558f7b74ece27f244b16b77 | [
"MIT"
] | null | null | null | from fractions import Fraction
import numpy as np
from src.datasets.datasets import Spheres
from src.evaluation.config import ConfigEval
from src.models.COREL.config import ConfigGrid_COREL, ConfigCOREL
from src.models.autoencoder.autoencoders import Autoencoder_MLP
from src.models.loss_collection import L1Loss, TwoS... | 27.457256 | 162 | 0.5513 | 1,719 | 13,811 | 4.153578 | 0.084351 | 0.033333 | 0.036975 | 0.042857 | 0.901401 | 0.901401 | 0.891597 | 0.869328 | 0.869328 | 0.848179 | 0 | 0.089956 | 0.274781 | 13,811 | 503 | 163 | 27.457256 | 0.622903 | 0.428354 | 0 | 0.698529 | 0 | 0.014706 | 0.139471 | 0.051569 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.025735 | 0 | 0.025735 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
875b92aa09b4e34ff864bbfdcff4af6ad9327a8e | 48 | py | Python | PP4E-Examples-1.4/Examples/PP4E/System/helloshell.py | AngelLiang/PP4E | 3a7f63b366e1e4700b4d2524884696999a87ba9d | [
"MIT"
] | null | null | null | PP4E-Examples-1.4/Examples/PP4E/System/helloshell.py | AngelLiang/PP4E | 3a7f63b366e1e4700b4d2524884696999a87ba9d | [
"MIT"
] | null | null | null | PP4E-Examples-1.4/Examples/PP4E/System/helloshell.py | AngelLiang/PP4E | 3a7f63b366e1e4700b4d2524884696999a87ba9d | [
"MIT"
] | null | null | null | # a Python program
print('The Meaning of Life')
| 16 | 28 | 0.729167 | 8 | 48 | 4.375 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 48 | 2 | 29 | 24 | 0.875 | 0.333333 | 0 | 0 | 0 | 0 | 0.633333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
875ddee7d5ce85cc9b40dd132c3ddf57364dfd5a | 81 | py | Python | xyz/icexmoon/java_notes/ch1/foreach_python/main.py | icexmoon/java-notebook | a9f20eee069c8d3e8cfc145f7c6ddb4d1192568b | [
"Apache-2.0"
] | null | null | null | xyz/icexmoon/java_notes/ch1/foreach_python/main.py | icexmoon/java-notebook | a9f20eee069c8d3e8cfc145f7c6ddb4d1192568b | [
"Apache-2.0"
] | null | null | null | xyz/icexmoon/java_notes/ch1/foreach_python/main.py | icexmoon/java-notebook | a9f20eee069c8d3e8cfc145f7c6ddb4d1192568b | [
"Apache-2.0"
] | null | null | null | for i in range(1, 11):
print(i, sep="", end=" ")
# 1 2 3 4 5 6 7 8 9 10
| 20.25 | 29 | 0.45679 | 20 | 81 | 1.85 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.269231 | 0.358025 | 81 | 3 | 30 | 27 | 0.442308 | 0.246914 | 0 | 0 | 0 | 0 | 0.017241 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
5e81fc5a30a6256702136432f49fcd5817a61112 | 30 | py | Python | TAO/Linux_new/bin/pyside/modules.py | dendisuhubdy/grokmachine | 120a21a25c2730ed356739231ec8b99fc0575c8b | [
"BSD-3-Clause"
] | 46 | 2017-05-15T11:15:08.000Z | 2018-07-02T03:32:52.000Z | TAO/Linux_new/bin/pyside/modules.py | dendisuhubdy/grokmachine | 120a21a25c2730ed356739231ec8b99fc0575c8b | [
"BSD-3-Clause"
] | null | null | null | TAO/Linux_new/bin/pyside/modules.py | dendisuhubdy/grokmachine | 120a21a25c2730ed356739231ec8b99fc0575c8b | [
"BSD-3-Clause"
] | 24 | 2017-05-17T03:26:17.000Z | 2018-07-09T07:00:50.000Z | import sidetrack
import sttun
| 10 | 16 | 0.866667 | 4 | 30 | 6.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 30 | 2 | 17 | 15 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5e94c8153a2725cbc2f664523e3d355b504f131c | 44 | py | Python | pysend/__init__.py | growdaisy/pysend | 0befa01078700ba7a3d68aab37ccc051286e4c1d | [
"MIT"
] | 1 | 2018-11-07T19:50:43.000Z | 2018-11-07T19:50:43.000Z | pysend/__init__.py | growdaisy/pysend | 0befa01078700ba7a3d68aab37ccc051286e4c1d | [
"MIT"
] | null | null | null | pysend/__init__.py | growdaisy/pysend | 0befa01078700ba7a3d68aab37ccc051286e4c1d | [
"MIT"
] | null | null | null | from .classes import Contact, Server, Email
| 22 | 43 | 0.795455 | 6 | 44 | 5.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 44 | 1 | 44 | 44 | 0.921053 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5ea879d547b1368d7a1653358d82277a9d0896d1 | 229 | py | Python | pyecs/__init__.py | en0/pyecs | 500e241b4cd647c520faff85225238c8c3875b4a | [
"MIT"
] | null | null | null | pyecs/__init__.py | en0/pyecs | 500e241b4cd647c520faff85225238c8c3875b4a | [
"MIT"
] | null | null | null | pyecs/__init__.py | en0/pyecs | 500e241b4cd647c520faff85225238c8c3875b4a | [
"MIT"
] | null | null | null | from .entity_manager import EntityManager, EntityManagerOpts
from .game import Game
from .game_builder import GameBuilder
from .game_builder import GameBuilder
from .system_manager import SystemManager
from .entity import Entity
| 32.714286 | 60 | 0.860262 | 29 | 229 | 6.655172 | 0.37931 | 0.124352 | 0.15544 | 0.217617 | 0.352332 | 0.352332 | 0 | 0 | 0 | 0 | 0 | 0 | 0.10917 | 229 | 6 | 61 | 38.166667 | 0.946078 | 0 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5eaa9ebf8c8c1b8c8912acbab8df1e936b8bbcaf | 21 | py | Python | example_project/some_modules/third_modules/a102.py | Yuriy-Leonov/cython_imports_limit_issue | 2f9e7c02798fb52185dabfe6ce3811c439ca2839 | [
"MIT"
] | null | null | null | example_project/some_modules/third_modules/a102.py | Yuriy-Leonov/cython_imports_limit_issue | 2f9e7c02798fb52185dabfe6ce3811c439ca2839 | [
"MIT"
] | null | null | null | example_project/some_modules/third_modules/a102.py | Yuriy-Leonov/cython_imports_limit_issue | 2f9e7c02798fb52185dabfe6ce3811c439ca2839 | [
"MIT"
] | null | null | null | class A102:
pass
| 7 | 11 | 0.619048 | 3 | 21 | 4.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.214286 | 0.333333 | 21 | 2 | 12 | 10.5 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
5ed522e4c16067384e8f9fe6714380bd54d6cd9b | 124 | py | Python | kbase_report_state/__main__.py | kbaseIncubator/kbase_report_state | 9f63c6db7c9a080f372dcf6bccd1f5427341563d | [
"MIT"
] | null | null | null | kbase_report_state/__main__.py | kbaseIncubator/kbase_report_state | 9f63c6db7c9a080f372dcf6bccd1f5427341563d | [
"MIT"
] | null | null | null | kbase_report_state/__main__.py | kbaseIncubator/kbase_report_state | 9f63c6db7c9a080f372dcf6bccd1f5427341563d | [
"MIT"
] | null | null | null | """Main server CLI for kbase report state."""
from kbase_report_state import serve
if __name__ == "__main__":
serve()
| 17.714286 | 45 | 0.709677 | 17 | 124 | 4.588235 | 0.705882 | 0.282051 | 0.410256 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177419 | 124 | 6 | 46 | 20.666667 | 0.764706 | 0.314516 | 0 | 0 | 0 | 0 | 0.101266 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
0dbdb5ca88b401335af1208f4c93d8961f705d07 | 96 | py | Python | textanonymize/__init__.py | pierrerochet/textanonymize | 62d36b957349ade7359c768cbe3537961df922f3 | [
"Apache-2.0"
] | null | null | null | textanonymize/__init__.py | pierrerochet/textanonymize | 62d36b957349ade7359c768cbe3537961df922f3 | [
"Apache-2.0"
] | null | null | null | textanonymize/__init__.py | pierrerochet/textanonymize | 62d36b957349ade7359c768cbe3537961df922f3 | [
"Apache-2.0"
] | null | null | null | __version__ = "0.1.0"
from textanonymize.lang.all import *
from textanonymize.lang.fr import *
| 19.2 | 36 | 0.760417 | 14 | 96 | 4.928571 | 0.642857 | 0.492754 | 0.608696 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035714 | 0.125 | 96 | 4 | 37 | 24 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0.052083 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0dc22d7769a46afcc707f09923acf0de04367bcd | 96 | py | Python | venv/lib/python3.8/site-packages/numpy/tests/test__all__.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/numpy/tests/test__all__.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/numpy/tests/test__all__.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/2f/79/82/9d83d3a7302035f79d56eabd83bc4f59b7347353e8b7de24f6367d3692 | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.458333 | 0 | 96 | 1 | 96 | 96 | 0.4375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
2184f82bc4b5e92a5e06f24bd20c08bb307c9160 | 7,596 | py | Python | nVidiaModel.py | scrambleegg7/CarND-Behavioral-Cloning-P3 | 882a0ffbee1ff9d622514407aa313c93bc7df2d7 | [
"MIT"
] | null | null | null | nVidiaModel.py | scrambleegg7/CarND-Behavioral-Cloning-P3 | 882a0ffbee1ff9d622514407aa313c93bc7df2d7 | [
"MIT"
] | null | null | null | nVidiaModel.py | scrambleegg7/CarND-Behavioral-Cloning-P3 | 882a0ffbee1ff9d622514407aa313c93bc7df2d7 | [
"MIT"
] | null | null | null | #
# nVidiaModel
#
import keras
from keras.models import Sequential, Model
from keras.layers import Flatten, Dense, Lambda, Convolution2D, Cropping2D, Conv2D
from keras.layers import Dropout, Activation
from keras.regularizers import l2 # activity_l2
from keras.layers.pooling import MaxPooling2D
from keras.optimizers i... | 45.48503 | 148 | 0.595577 | 1,023 | 7,596 | 4.338221 | 0.123167 | 0.127986 | 0.048671 | 0.061289 | 0.852186 | 0.852186 | 0.846327 | 0.845201 | 0.842497 | 0.795178 | 0 | 0.084034 | 0.248025 | 7,596 | 167 | 149 | 45.48503 | 0.692927 | 0.131648 | 0 | 0.46729 | 0 | 0 | 0.067536 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.065421 | false | 0 | 0.065421 | 0 | 0.186916 | 0.009346 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
21e479de2570875b22059931122b42265d36d7f5 | 144 | py | Python | start_scheduler.py | ProgramRipper/biliob-spider | 2fe3d5fd91bb301dd0d0eb21d03153d6882f6bcf | [
"MIT"
] | 2 | 2021-02-21T05:49:17.000Z | 2021-02-28T03:01:45.000Z | start_scheduler.py | kirahan/biliob-spider | 1a7c4a2b6781775c62c9a7d1aa2f1b0e2b0ab1f8 | [
"MIT"
] | 1 | 2022-03-20T07:59:27.000Z | 2022-03-20T07:59:27.000Z | start_scheduler.py | kirahan/biliob-spider | 1a7c4a2b6781775c62c9a7d1aa2f1b0e2b0ab1f8 | [
"MIT"
] | 7 | 2021-02-13T16:58:49.000Z | 2022-02-11T03:23:56.000Z | from biliob_scheduler.scheduler import auto_crawl_task
from biliob_scheduler.scheduler import set_schedule
set_schedule()
auto_crawl_task()
| 28.8 | 55 | 0.861111 | 20 | 144 | 5.8 | 0.45 | 0.172414 | 0.327586 | 0.482759 | 0.586207 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097222 | 144 | 4 | 56 | 36 | 0.892308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
df468eb52ae8089b3e9ec10ab1f1a8e1355d2786 | 6,593 | py | Python | aaf2/model/ext/typedefs.py | shahbazk8194/pyaaf2 | 56a49b45b7aee0454629f79497e3f476ea08328e | [
"MIT"
] | 80 | 2017-10-19T20:49:39.000Z | 2022-03-14T01:32:37.000Z | aaf2/model/ext/typedefs.py | shahbazk8194/pyaaf2 | 56a49b45b7aee0454629f79497e3f476ea08328e | [
"MIT"
] | 94 | 2018-01-05T22:30:31.000Z | 2022-03-26T21:51:38.000Z | aaf2/model/ext/typedefs.py | shahbazk8194/pyaaf2 | 56a49b45b7aee0454629f79497e3f476ea08328e | [
"MIT"
] | 29 | 2018-10-25T14:01:53.000Z | 2022-03-03T15:54:04.000Z | ints = {
}
enums = {
"ColorSitingType" : ("02010105-0000-0000-060e-2b3401040101", "01010100-0000-0000-060e-2b3401040101",{
5 : "LineAlternating",
6 : "VerticalMidpoint",
}
),
"AvidPannerKindType" : ("3659b342-4f19-4316-9309-f139434a94e5", "01010300-0000-0000-060e-2b3401040101",{
1 : "AvidPann... | 44.85034 | 135 | 0.662824 | 595 | 6,593 | 7.27563 | 0.359664 | 0.099792 | 0.19404 | 0.205128 | 0.468468 | 0.189882 | 0.127512 | 0.127512 | 0.103488 | 0 | 0 | 0.442828 | 0.176248 | 6,593 | 146 | 136 | 45.157534 | 0.354263 | 0 | 0 | 0.121212 | 0 | 0 | 0.694069 | 0.60003 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
10c63bd8631602fd24797f7fa2ae5b80a1172547 | 23 | py | Python | app/stocks/services.py | Monxun/DjangoMLDocker | f34ddbc2f504054ed32ed1fb66a0a77c461350dd | [
"MIT"
] | null | null | null | app/stocks/services.py | Monxun/DjangoMLDocker | f34ddbc2f504054ed32ed1fb66a0a77c461350dd | [
"MIT"
] | null | null | null | app/stocks/services.py | Monxun/DjangoMLDocker | f34ddbc2f504054ed32ed1fb66a0a77c461350dd | [
"MIT"
] | null | null | null | from .src import finviz | 23 | 23 | 0.826087 | 4 | 23 | 4.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 23 | 1 | 23 | 23 | 0.95 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
10c705115a35344e143ae59aa1a1661cfa5e9086 | 259 | py | Python | src/wai/annotations/domain/image/object_detection/__init__.py | waikato-ufdl/wai-annotations-core | bac3429e9488efb456972c74f9d462f951c4af3d | [
"Apache-2.0"
] | null | null | null | src/wai/annotations/domain/image/object_detection/__init__.py | waikato-ufdl/wai-annotations-core | bac3429e9488efb456972c74f9d462f951c4af3d | [
"Apache-2.0"
] | 3 | 2021-06-30T23:42:47.000Z | 2022-03-01T03:45:07.000Z | src/wai/annotations/domain/image/object_detection/__init__.py | waikato-ufdl/wai-annotations-core | bac3429e9488efb456972c74f9d462f951c4af3d | [
"Apache-2.0"
] | null | null | null | """
Package specifying the domain of images annotated with objects detected
within those images.
"""
from ._ImageObjectDetectionDomainSpecifier import ImageObjectDetectionDomainSpecifier
from ._ImageObjectDetectionInstance import ImageObjectDetectionInstance
| 37 | 85 | 0.876448 | 21 | 259 | 10.714286 | 0.761905 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088803 | 259 | 6 | 86 | 43.166667 | 0.95339 | 0.355212 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
10d9cd437ef8ccb1d6072bc4c820843abe15861d | 2,208 | py | Python | forms/migrations/0002_auto_20150309_1227.py | digideskio/gmmp | d82a4be0787c3a3a9e27dc590d7974f9f884fbb6 | [
"Apache-2.0"
] | 4 | 2020-01-05T09:14:19.000Z | 2022-02-17T03:22:09.000Z | forms/migrations/0002_auto_20150309_1227.py | digideskio/gmmp | d82a4be0787c3a3a9e27dc590d7974f9f884fbb6 | [
"Apache-2.0"
] | 68 | 2019-12-23T02:19:55.000Z | 2021-04-23T06:13:36.000Z | forms/migrations/0002_auto_20150309_1227.py | CodeForAfrica/gmmp | d7ffe2dac16bd57e81bb3555ddea9df1fe7e9ebf | [
"Apache-2.0"
] | 2 | 2020-11-07T12:23:21.000Z | 2021-11-07T18:21:31.000Z | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models, migrations
class Migration(migrations.Migration):
dependencies = [
('forms', '0001_initial'),
]
operations = [
migrations.AlterField(
model_name='internetnewssheet',
nam... | 56.615385 | 338 | 0.666667 | 279 | 2,208 | 5.168459 | 0.243728 | 0.061026 | 0.069348 | 0.080444 | 0.839806 | 0.839806 | 0.839806 | 0.839806 | 0.839806 | 0.839806 | 0 | 0.005266 | 0.225996 | 2,208 | 38 | 339 | 58.105263 | 0.838502 | 0.009511 | 0 | 0.625 | 0 | 0.125 | 0.4746 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.0625 | 0 | 0.15625 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
10eacf5ba580ed20fb3df95e04d9d3bb45021dde | 3,420 | py | Python | tests/unit/parameter_tests.py | Pankrat/pika | 9f62cbe032e9b4fa0fe1842587ce0702c3926a3d | [
"BSD-3-Clause"
] | null | null | null | tests/unit/parameter_tests.py | Pankrat/pika | 9f62cbe032e9b4fa0fe1842587ce0702c3926a3d | [
"BSD-3-Clause"
] | null | null | null | tests/unit/parameter_tests.py | Pankrat/pika | 9f62cbe032e9b4fa0fe1842587ce0702c3926a3d | [
"BSD-3-Clause"
] | null | null | null | import unittest
import pika
class ParameterTests(unittest.TestCase):
def test_parameters_accepts_plain_string_virtualhost(self):
parameters = pika.ConnectionParameters(virtual_host="prtfqpeo")
self.assertEqual(parameters.virtual_host, "prtfqpeo")
def test_parameters_accepts_plain_string_virt... | 47.5 | 80 | 0.700585 | 338 | 3,420 | 6.822485 | 0.136095 | 0.1366 | 0.227667 | 0.124892 | 0.85039 | 0.79098 | 0.705984 | 0.699913 | 0.676062 | 0.676062 | 0 | 0.007375 | 0.207018 | 3,420 | 71 | 81 | 48.169014 | 0.84292 | 0 | 0 | 0.465517 | 0 | 0 | 0.122222 | 0.08538 | 0 | 0 | 0 | 0 | 0.362069 | 1 | 0.189655 | false | 0.12069 | 0.034483 | 0 | 0.241379 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
802fbcded5d43773fec02c8d33705590a0b40333 | 208 | py | Python | docs/docs/tutorials/generic-script/replacements/input.py | jorka/cartesi-contentful-test | ca1a0585db9acb453d13c68e11d05bbb96ddf173 | [
"MIT"
] | null | null | null | docs/docs/tutorials/generic-script/replacements/input.py | jorka/cartesi-contentful-test | ca1a0585db9acb453d13c68e11d05bbb96ddf173 | [
"MIT"
] | null | null | null | docs/docs/tutorials/generic-script/replacements/input.py | jorka/cartesi-contentful-test | ca1a0585db9acb453d13c68e11d05bbb96ddf173 | [
"MIT"
] | null | null | null | #!/usr/bin/python3
import jwt
payload = jwt.decode(b'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzb21lIjoicGF5bG9hZCJ9.Joh1R2dYzkRvDkqv3sygm5YyK8Gi4ShZqbhK2gxcs2U', 'secret', algorithms=['HS256'])
print(payload)
| 41.6 | 162 | 0.841346 | 17 | 208 | 10.294118 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105528 | 0.043269 | 208 | 4 | 163 | 52 | 0.773869 | 0.081731 | 0 | 0 | 0 | 0 | 0.610526 | 0.552632 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
339acc6b88ff2394cc72d6e5e2b21e7aa8f3e6f7 | 11,473 | py | Python | tests/tests/correctness/EPLAnalytics/Extensions/Prediction/p_cor_001/run.py | rpeach-sag/apama-industry-analytics-kit | a3f6039915501d41251b6f7ec41b0cb8111baf7b | [
"Apache-2.0"
] | 3 | 2019-09-02T18:21:22.000Z | 2020-04-17T16:34:57.000Z | tests/tests/correctness/EPLAnalytics/Extensions/Prediction/p_cor_001/run.py | rpeach-sag/apama-industry-analytics-kit | a3f6039915501d41251b6f7ec41b0cb8111baf7b | [
"Apache-2.0"
] | null | null | null | tests/tests/correctness/EPLAnalytics/Extensions/Prediction/p_cor_001/run.py | rpeach-sag/apama-industry-analytics-kit | a3f6039915501d41251b6f7ec41b0cb8111baf7b | [
"Apache-2.0"
] | null | null | null | # $Copyright (c) 2015 Software AG, Darmstadt, Germany and/or Software AG USA Inc., Reston, VA, USA, and/or Terracotta Inc., San Francisco, CA, USA, and/or Software AG (Canada) Inc., Cambridge, Ontario, Canada, and/or, Software AG (UK) Ltd., Derby, United Kingdom, and/or Software A.G. (Israel) Ltd., Or-Yehuda, Israel an... | 84.985185 | 361 | 0.743136 | 1,456 | 11,473 | 5.800824 | 0.157967 | 0.117689 | 0.07246 | 0.067488 | 0.789131 | 0.774213 | 0.76332 | 0.744139 | 0.729813 | 0.726735 | 0 | 0.002764 | 0.117057 | 11,473 | 134 | 362 | 85.619403 | 0.830997 | 0.125076 | 0 | 0.525253 | 0 | 0.151515 | 0.711439 | 0.254577 | 0 | 0 | 0 | 0 | 0.010101 | 1 | 0.020202 | false | 0 | 0.020202 | 0 | 0.050505 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
33aad98255a4f9215b30bf295b257a9335ef422b | 2,170 | py | Python | epytope/Data/pssms/tepitopepan/mat/DRB1_1437_9.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 7 | 2021-02-01T18:11:28.000Z | 2022-01-31T19:14:07.000Z | epytope/Data/pssms/tepitopepan/mat/DRB1_1437_9.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 22 | 2021-01-02T15:25:23.000Z | 2022-03-14T11:32:53.000Z | epytope/Data/pssms/tepitopepan/mat/DRB1_1437_9.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 4 | 2021-05-28T08:50:38.000Z | 2022-03-14T11:45:32.000Z | DRB1_1437_9 = {0: {'A': -999.0, 'E': -999.0, 'D': -999.0, 'G': -999.0, 'F': -0.98558, 'I': -0.014418, 'H': -999.0, 'K': -999.0, 'M': -0.014418, 'L': -0.014418, 'N': -999.0, 'Q': -999.0, 'P': -999.0, 'S': -999.0, 'R': -999.0, 'T': -999.0, 'W': -0.98558, 'V': -0.014418, 'Y': -0.98558}, 1: {'A': 0.0, 'E': 0.1, 'D': -1.3, ... | 2,170 | 2,170 | 0.396774 | 525 | 2,170 | 1.63619 | 0.201905 | 0.114086 | 0.027939 | 0.037253 | 0.223516 | 0.142026 | 0.142026 | 0.142026 | 0.132712 | 0.132712 | 0 | 0.376788 | 0.162212 | 2,170 | 1 | 2,170 | 2,170 | 0.09571 | 0 | 0 | 0 | 0 | 0 | 0.078766 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
33d7c36961cb44eb4af9088a66b01b561e598314 | 88 | py | Python | butter_exercise/utils/helpers.py | tadeoos/butter_exercise | 3b5a9601bc527214dfd115773ce5cbdd5899f742 | [
"MIT"
] | null | null | null | butter_exercise/utils/helpers.py | tadeoos/butter_exercise | 3b5a9601bc527214dfd115773ce5cbdd5899f742 | [
"MIT"
] | null | null | null | butter_exercise/utils/helpers.py | tadeoos/butter_exercise | 3b5a9601bc527214dfd115773ce5cbdd5899f742 | [
"MIT"
] | null | null | null | from django.utils import timezone
def aware_today():
return timezone.now().date()
| 14.666667 | 33 | 0.727273 | 12 | 88 | 5.25 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.159091 | 88 | 5 | 34 | 17.6 | 0.851351 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 6 |
1d6b1377e1cd74a7e0fa0f04f62d9bed88e5f738 | 215 | py | Python | pycgp/evaluator.py | d9w/pyCGP | 8f23bda9d653b9def91e108e7fdad61c029178e1 | [
"MIT"
] | 1 | 2019-05-29T07:38:06.000Z | 2019-05-29T07:38:06.000Z | pycgp/evaluator.py | d9w/pyCGP | 8f23bda9d653b9def91e108e7fdad61c029178e1 | [
"MIT"
] | null | null | null | pycgp/evaluator.py | d9w/pyCGP | 8f23bda9d653b9def91e108e7fdad61c029178e1 | [
"MIT"
] | 3 | 2019-09-15T20:09:17.000Z | 2020-04-10T16:37:29.000Z | from .cgp import CGP
class Evaluator:
def evaluate(self, cgp, it):
raise NotImplementedError('evaluation method not implemented')
def clone(self):
raise NotImplementedError('clone method not implemented')
| 21.5 | 65 | 0.767442 | 26 | 215 | 6.346154 | 0.615385 | 0.290909 | 0.242424 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148837 | 215 | 9 | 66 | 23.888889 | 0.901639 | 0 | 0 | 0 | 0 | 0 | 0.285047 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.166667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
1d8f6a6c3cfe199f1b1e5db3817cbf2e41115863 | 271 | py | Python | runbox/utils.py | burenotti/runbox | 73a24764750544a37738605f66bad91f8c4cb31c | [
"MIT"
] | null | null | null | runbox/utils.py | burenotti/runbox | 73a24764750544a37738605f66bad91f8c4cb31c | [
"MIT"
] | null | null | null | runbox/utils.py | burenotti/runbox | 73a24764750544a37738605f66bad91f8c4cb31c | [
"MIT"
] | null | null | null | from __future__ import annotations
class Placeholder:
def __init__(self, arg_num: int = 0):
self.arg_num = arg_num
def __getitem__(self, arg_num: int) -> Placeholder:
return Placeholder(arg_num=arg_num)
_ = Placeholder()
_1 = _[1]
_2 = _[2]
| 16.9375 | 55 | 0.667897 | 36 | 271 | 4.388889 | 0.472222 | 0.227848 | 0.189873 | 0.164557 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023923 | 0.228782 | 271 | 15 | 56 | 18.066667 | 0.732057 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.111111 | 0.111111 | 0.555556 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
d568df24b3b589b8a186c175415b73575d85d046 | 144 | py | Python | rhea/cores/misc/assign.py | meetps/rhea | f8a9a08fb5e14c5c4488ef68a2dff4d18222c2c0 | [
"MIT"
] | 1 | 2022-03-16T23:56:09.000Z | 2022-03-16T23:56:09.000Z | rhea/cores/misc/assign.py | meetps/rhea | f8a9a08fb5e14c5c4488ef68a2dff4d18222c2c0 | [
"MIT"
] | null | null | null | rhea/cores/misc/assign.py | meetps/rhea | f8a9a08fb5e14c5c4488ef68a2dff4d18222c2c0 | [
"MIT"
] | null | null | null |
from myhdl import always_comb
def assign(a, b):
""" a = b """
@always_comb
def assign():
a.next = b
return assign,
| 11.076923 | 29 | 0.534722 | 20 | 144 | 3.75 | 0.55 | 0.266667 | 0.346667 | 0.506667 | 0.533333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.340278 | 144 | 12 | 30 | 12 | 0.789474 | 0.034722 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.166667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
d5707138c2f23aa580dab3fec9612f45a76c6517 | 265 | py | Python | explainerdashboard/dashboard_components/__init__.py | yanhong-zhao-ef/explainerdashboard | b057d6458988227e7bcebb2a91ea79c771ddcf2f | [
"MIT"
] | 1,178 | 2019-12-20T10:56:17.000Z | 2022-03-30T13:05:48.000Z | explainerdashboard/dashboard_components/__init__.py | yanhong-zhao-ef/explainerdashboard | b057d6458988227e7bcebb2a91ea79c771ddcf2f | [
"MIT"
] | 172 | 2020-03-04T08:15:01.000Z | 2022-03-31T20:23:14.000Z | explainerdashboard/dashboard_components/__init__.py | yanhong-zhao-ef/explainerdashboard | b057d6458988227e7bcebb2a91ea79c771ddcf2f | [
"MIT"
] | 150 | 2020-03-04T04:43:52.000Z | 2022-03-29T06:57:00.000Z | from ..dashboard_methods import *
from .overview_components import *
from .classifier_components import *
from .regression_components import *
from .shap_components import *
from .decisiontree_components import *
from .connectors import *
from .composites import *
| 29.444444 | 38 | 0.815094 | 30 | 265 | 7 | 0.4 | 0.333333 | 0.47619 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.120755 | 265 | 8 | 39 | 33.125 | 0.901288 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d57f6afa8591c558d58e3666f120f246e571daeb | 46 | py | Python | zodo/ner/__init__.py | ZooPhy/zodo-services | b065c3967d831fae1a22a2e9c351d49437d1d02c | [
"Apache-2.0"
] | 1 | 2022-02-06T16:01:08.000Z | 2022-02-06T16:01:08.000Z | zodo/ner/__init__.py | ZooPhy/zodo-services | b065c3967d831fae1a22a2e9c351d49437d1d02c | [
"Apache-2.0"
] | 7 | 2020-09-01T19:18:29.000Z | 2022-02-10T01:45:33.000Z | zodo/ner/__init__.py | ZooPhy/zodo-services | b065c3967d831fae1a22a2e9c351d49437d1d02c | [
"Apache-2.0"
] | 1 | 2020-09-18T21:21:56.000Z | 2020-09-18T21:21:56.000Z | from .models import *
from .ner_utils import * | 23 | 24 | 0.76087 | 7 | 46 | 4.857143 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152174 | 46 | 2 | 24 | 23 | 0.871795 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d59f9b77ba24c5c2b771107e4828b4abf0d92288 | 46 | py | Python | tests/mkinit_dummy_module/submod1.py | Erotemic/ahoy | 9ec8c9a5bdbe10a1d01450660280ed4ea3b9390f | [
"Apache-2.0"
] | 36 | 2018-04-22T21:35:14.000Z | 2022-03-24T10:11:32.000Z | tests/mkinit_dummy_module/submod1.py | Erotemic/ahoy | 9ec8c9a5bdbe10a1d01450660280ed4ea3b9390f | [
"Apache-2.0"
] | 19 | 2018-05-26T02:44:53.000Z | 2022-03-04T17:46:04.000Z | tests/mkinit_dummy_module/submod1.py | Erotemic/ahoy | 9ec8c9a5bdbe10a1d01450660280ed4ea3b9390f | [
"Apache-2.0"
] | 4 | 2018-08-31T22:32:45.000Z | 2020-08-14T18:25:51.000Z | def func1():
pass
def func2():
pass
| 6.571429 | 12 | 0.521739 | 6 | 46 | 4 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 0.347826 | 46 | 6 | 13 | 7.666667 | 0.733333 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
d5a015f2bcc6cba92e7511782ed0941e8922f47c | 4,363 | py | Python | proma/clients/tests/test_views.py | erickgnavar/Proma | 159051f4247700166f063075b3819ae426f6d337 | [
"MIT"
] | 3 | 2018-01-22T08:50:38.000Z | 2021-07-16T04:08:28.000Z | proma/clients/tests/test_views.py | erickgnavar/Proma | 159051f4247700166f063075b3819ae426f6d337 | [
"MIT"
] | 13 | 2019-05-27T03:08:29.000Z | 2020-01-03T03:36:04.000Z | proma/clients/tests/test_views.py | erickgnavar/Proma | 159051f4247700166f063075b3819ae426f6d337 | [
"MIT"
] | 1 | 2019-10-03T17:52:29.000Z | 2019-10-03T17:52:29.000Z | from django.test import RequestFactory, TestCase
from django.urls import resolve, reverse
from mixer.backend.django import mixer
from .. import views
class ClientCreateViewTestCase(TestCase):
def setUp(self):
self.view = views.ClientCreateView.as_view()
self.factory = RequestFactory()
sel... | 37.612069 | 86 | 0.657346 | 512 | 4,363 | 5.433594 | 0.144531 | 0.04601 | 0.074407 | 0.054637 | 0.773904 | 0.773904 | 0.761323 | 0.713875 | 0.713875 | 0.713875 | 0 | 0.008696 | 0.20926 | 4,363 | 115 | 87 | 37.93913 | 0.797681 | 0 | 0 | 0.702128 | 0 | 0 | 0.076553 | 0.004813 | 0 | 0 | 0 | 0 | 0.234043 | 1 | 0.170213 | false | 0 | 0.042553 | 0 | 0.255319 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
634d3f7d3c7fccd56bf576ff154322622db860c6 | 41 | py | Python | app_modules/noti_builder/__init__.py | l337quez/Aplicaci-n-ANDROID-para-control-del-suministro-de-energia- | 19986f11bcf77bc380121b4ec6d073d3c470648f | [
"MIT"
] | 14 | 2016-08-02T20:36:47.000Z | 2019-12-17T07:10:26.000Z | app_modules/noti_builder/__init__.py | l337quez/Aplicaci-n-ANDROID-para-control-del-suministro-de-energia- | 19986f11bcf77bc380121b4ec6d073d3c470648f | [
"MIT"
] | 1 | 2019-03-09T09:46:02.000Z | 2019-03-09T09:46:02.000Z | app_modules/noti_builder/__init__.py | l337quez/Aplicaci-n-ANDROID-para-control-del-suministro-de-energia- | 19986f11bcf77bc380121b4ec6d073d3c470648f | [
"MIT"
] | 3 | 2016-08-02T21:27:46.000Z | 2020-05-11T03:56:05.000Z | from .builder import NotificationBuilder
| 20.5 | 40 | 0.878049 | 4 | 41 | 9 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097561 | 41 | 1 | 41 | 41 | 0.972973 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.