阿布量化交易系统(股票,期权,期货,比特币,机器学习) 基于python的开源量化交易,量化投资架构
This report summarizes scanner evidence for bbfamily/abu, a Python project with 19,097 GitHub stars. SynthScan examined 195,308 lines of code across 262 source files, recording 1299 pattern matches distributed across 16 syntactic categories. The legacy adjusted pattern signal is 7.7 (Moderate pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.
Can maintainers explain intent, assumptions, and trade-offs? 226 finding(s).
Are imports declared and package/API names verified? 965 finding(s).
Are wrappers, guards, and repeated structures necessary? 214 finding(s).
Which changes need focused human review? 1299 finding(s).
Run additional scans to build a history of the legacy pattern signal. Score changes are not a measure of AI adoption or code quality.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 1299 distinct pattern matches across 16 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | python/c4.py | 2 | CODE | |
| LOW | python/c4.py | 3 | CODE | |
| LOW | python/c4.py | 12 | CODE | |
| LOW | python/c10.py | 2 | CODE | |
| LOW | python/c10.py | 10 | CODE | |
| LOW | python/c11.py | 2 | CODE | |
| LOW | python/c11.py | 10 | CODE | |
| LOW | python/c5.py | 2 | CODE | |
| LOW | python/c5.py | 3 | CODE | |
| LOW | python/c5.py | 12 | CODE | |
| LOW | python/c5.py | 702 | CODE | |
| LOW | python/happy_life.py | 2 | CODE | |
| LOW | python/happy_life.py | 3 | CODE | |
| LOW | python/extB.py | 2 | CODE | |
| LOW | python/extB.py | 7 | CODE | |
| LOW | python/extC.py | 2 | CODE | |
| LOW | python/extC.py | 7 | CODE | |
| LOW | python/c8.py | 2 | CODE | |
| LOW | python/c8.py | 10 | CODE | |
| LOW | python/c9.py | 2 | CODE | |
| LOW | python/c9.py | 9 | CODE | |
| LOW | python/extA.py | 2 | CODE | |
| LOW | python/extA.py | 7 | CODE | |
| LOW | python/c2.py | 2 | CODE | |
| LOW | python/c2.py | 20 | CODE | |
| LOW | python/c6.py | 2 | CODE | |
| LOW | python/c6.py | 3 | CODE | |
| LOW | python/c6.py | 11 | CODE | |
| LOW | python/c7.py | 2 | CODE | |
| LOW | python/c7.py | 3 | CODE | |
| LOW | python/c7.py | 11 | CODE | |
| LOW | python/c3.py | 2 | CODE | |
| LOW | abupy_ui/widget_loop_back.py | 2 | CODE | |
| LOW | abupy_ui/widget_loop_back.py | 3 | CODE | |
| LOW | abupy_ui/widget_verify_tool.py | 2 | CODE | |
| LOW | abupy_ui/widget_verify_tool.py | 3 | CODE | |
| LOW | abupy_ui/widget_quant_tool.py | 2 | CODE | |
| LOW | abupy_ui/widget_quant_tool.py | 3 | CODE | |
| LOW | abupy_ui/widget_update_ui.py | 2 | CODE | |
| LOW | abupy_ui/widget_update_ui.py | 3 | CODE | |
| LOW | abupy_ui/widget_base.py | 2 | CODE | |
| LOW | abupy_ui/widget_base.py | 3 | CODE | |
| LOW | abupy_ui/widget_stock_info.py | 2 | CODE | |
| LOW | abupy_ui/widget_stock_info.py | 3 | CODE | |
| LOW | abupy/__init__.py | 2 | CODE | |
| LOW | abupy/__init__.py | 4 | CODE | |
| LOW | abupy/__init__.py | 5 | CODE | |
| LOW | abupy/__init__.py | 6 | CODE | |
| LOW | abupy/__init__.py | 7 | CODE | |
| LOW | abupy/__init__.py | 8 | CODE | |
| LOW | abupy/__init__.py | 9 | CODE | |
| LOW | abupy/__init__.py | 10 | CODE | |
| LOW | abupy/__init__.py | 11 | CODE | |
| LOW | abupy/__init__.py | 12 | CODE | |
| LOW | abupy/__init__.py | 13 | CODE | |
| LOW | abupy/__init__.py | 14 | CODE | |
| LOW | abupy/__init__.py | 15 | CODE | |
| LOW | abupy/__init__.py | 16 | CODE | |
| LOW | abupy/__init__.py | 17 | CODE | |
| LOW | abupy/__init__.py | 18 | CODE | |
| 894 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | abupy/UtilBu/ABuFileUtil.py | 333 | except (AttributeError, TypeError): | CODE |
| HIGH | abupy/MarketBu/ABuDataCheck.py | 35 | except: | CODE |
| HIGH | abupy/MarketBu/ABuNetWork.py | 47 | except ReadTimeoutError: | CODE |
| HIGH | abupy/ExtBu/odict.py | 19 | except ImportError: | CODE |
| HIGH | abupy/ExtBu/odict.py | 94 | except AttributeError: | CODE |
| HIGH | abupy/ExtBu/funcsigs.py | 79 | except AttributeError: | CODE |
| HIGH | abupy/ExtBu/funcsigs.py | 88 | except AttributeError: | CODE |
| HIGH | abupy/ExtBu/funcsigs.py | 419 | except KeyError: | CODE |
| HIGH | abupy/ExtBu/futures/__init__.py | 21 | except ImportError: | CODE |
| HIGH | abupy/ExtBu/joblib/format_stack.py | 132 | except IndexError: | CODE |
| HIGH | abupy/ExtBu/joblib/format_stack.py | 344 | except AttributeError: | CODE |
| HIGH | abupy/ExtBu/joblib/format_stack.py | 191 | except OSError: | CODE |
| HIGH | abupy/ExtBu/joblib/format_stack.py | 276 | except (IndexError, UnicodeDecodeError, SyntaxError): | CODE |
| HIGH | abupy/ExtBu/joblib/format_stack.py | 243 | except IndexError: | CODE |
| HIGH | abupy/ExtBu/joblib/memory.py | 114 | except KeyError: | CODE |
| HIGH | abupy/ExtBu/joblib/memory.py | 389 | except: | CODE |
| HIGH | abupy/ExtBu/joblib/memory.py | 583 | except TypeError: | CODE |
| HIGH | abupy/ExtBu/joblib/memory.py | 696 | except OSError: | CODE |
| HIGH | abupy/ExtBu/joblib/memory.py | 729 | except: | CODE |
| HIGH | abupy/ExtBu/joblib/memory.py | 193 | except: | CODE |
| HIGH | abupy/ExtBu/joblib/memory.py | 562 | except TypeError: | CODE |
| HIGH | abupy/ExtBu/joblib/logger.py | 125 | except: | CODE |
| HIGH | abupy/ExtBu/joblib/logger.py | 150 | except: | CODE |
| HIGH | abupy/ExtBu/joblib/logger.py | 119 | except: | CODE |
| HIGH | abupy/ExtBu/joblib/logger.py | 113 | except: | CODE |
| HIGH | abupy/ExtBu/joblib/numpy_pickle_utils.py | 617 | except io.BlockingIOError: | CODE |
| HIGH | abupy/ExtBu/joblib/parallel.py | 189 | except AttributeError: | CODE |
| HIGH | abupy/CoreBu/ABuEnv.py | 91 | except: | CODE |
| HIGH | abupy/WidgetBu/ABuWGBase.py | 35 | except: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | python/c10.py | 59 | def _gen_another_word_price_rule(yesterday_close, yesterday_volume, | CODE |
| LOW | python/c10.py | 104 | def change_real_to_another_word(symbol): | CODE |
| LOW | python/c10.py | 559 | def confusion_matrix_with_report(test_y, predictions): | CODE |
| LOW | python/stock_dream_ml.py | 34 | def _gen_another_word_price_rule(yesterday_close, yesterday_volume, bf_yesterday_close, bf_yesterday_volume, | CODE |
| LOW | python/stock_dream_ml.py | 69 | def change_real_to_another_word(symbol): | CODE |
| LOW | python/c6.py | 628 | def minimize_happiness_global(weights): | CODE |
| LOW | abupy/TLineBu/ABuTLine.py | 311 | def show_regress_trend_channel(self, step_x=1.0): | CODE |
| LOW | abupy/TLineBu/ABuTLine.py | 428 | def show_support_resistance_pos(self, best_poly=0, show=True): | CODE |
| LOW | abupy/TLineBu/ABuTLine.py | 461 | def show_support_resistance_select_k(self, best_poly=0, show=True): | CODE |
| LOW | abupy/TLineBu/ABuTLine.py | 488 | def show_support_resistance_trend(self, best_poly=0, only_last=False, plot_org=False, show=True, show_step=False): | CODE |
| LOW | abupy/TLineBu/ABuTLExecute.py | 390 | def select_k_support_resistance(support_resistance, thresh=0.06, label='', show=True): | CODE |
| LOW | abupy/TLineBu/ABuTLExecute.py | 461 | def support_resistance_predict(x, y, est, support_resistance, is_support, show=True): | CODE |
| LOW | abupy/TLineBu/ABuTLExecute.py | 534 | def plot_support_resistance_trend(x, y, trend_pos, label, only_last=False, plot_org=False, show=True): | CODE |
| LOW | abupy/CrawlBu/ABuXqCrawl.py | 50 | def __crawl_stock_info_parallel(market, symbols, process): | CODE |
| LOW | abupy/CrawlBu/ABuXqFile.py | 84 | def read_all_error_stock_info_symbol(): | CODE |
| LOW | abupy/CrawlBu/ABuXqFile.py | 109 | def merge_stock_info_to_stock_list(market=('US', 'HK', 'CN')): | CODE |
| LOW | abupy/UtilBu/ABuStrUtil.py | 56 | def create_random_with_num_low(salt_count): | CODE |
| LOW | abupy/UtilBu/ABuDelegateUtil.py | 20 | def first_delegate_has_method(delegate, check_params=True): | CODE |
| LOW | abupy/UtilBu/ABuDelegateUtil.py | 71 | def replace_word_delegate_has_method(delegate, key_word, replace_word, check_params=True): | CODE |
| LOW | abupy/UtilBu/ABuStatsUtil.py | 123 | def euclidean_distance_matrix(df, scale_end=True, to_similar=False): | CODE |
| LOW | abupy/UtilBu/ABuStatsUtil.py | 192 | def manhattan_distance_matrix(df, scale_end=True, to_similar=False): | CODE |
| LOW | abupy/UtilBu/ABuDTUtil.py | 205 | def empty_wrapper_with_params(*p_args, **p_kwargs): | CODE |
| LOW | abupy/MetricsBu/ABuGridHelper.py | 125 | def make_factor_param_pd_inner(p_x_pd): | CODE |
| LOW | abupy/MetricsBu/ABuGridSearch.py | 181 | def combine_same_factor_class(cls, factors): | CODE |
| LOW | abupy/MetricsBu/ABuGridSearch.py | 247 | def show_top_constraints_metrics(cls, constraints, scores, score_tuple_array, top_cnt=10): | CODE |
| LOW | abupy/MetricsBu/ABuMetricsFutures.py | 90 | def plot_sharp_volatility_cmp(self, only_info=False): | CODE |
| LOW | abupy/MetricsBu/ABuMetricsBase.py | 369 | def plot_sharp_volatility_cmp(self, only_info=False): | CODE |
| LOW | abupy/MetricsBu/ABuMetricsBase.py | 505 | def transform_to_full_rate_factor(self, read_cash=-1, kl_pd_manager=None, n_process_kl=ABuEnv.g_cpu_cnt, | CODE |
| LOW | abupy/MetricsBu/ABuCrossVal.py | 253 | def plot_all_cross_val_orders(self): | CODE |
| LOW | abupy/MarketBu/ABuIndustries.py | 142 | def match_industries_factorize(match, market=None): | CODE |
| LOW | abupy/MarketBu/ABuIndustries.py | 208 | def query_match_industries_df(match, market=None): | CODE |
| LOW | abupy/MarketBu/ABuIndustries.py | 233 | def query_factorize_industry_df(factorize_arr, market=None): | CODE |
| LOW | abupy/MarketBu/ABuIndustries.py | 298 | def query_factorize_industry_symbol(factorize, market=None): | CODE |
| LOW | abupy/MarketBu/ABuIndustries.py | 355 | def query_match_industries_symbol(match, market=None): | CODE |
| LOW | abupy/MarketBu/ABuIndustries.py | 388 | def get_industries_panel_from_target(target_symbol, show=False, n_folds=2): | CODE |
| LOW | abupy/MarketBu/ABuSymbolPd.py | 327 | def check_symbol_in_local_csv(symbol): | CODE |
| LOW | abupy/MarketBu/ABuMarket.py | 123 | def choice_symbols_with_replace(count, market_symbols=None, market=None): | CODE |
| LOW | abupy/MarketBu/ABuMarket.py | 340 | def _do_market_train_test_split(n_folds=10, market_symbols=None, shuffle=True, market=None): | CODE |
| LOW | abupy/MarketBu/ABuMarket.py | 416 | def _all_us_symbol_deprecated(index=False): | CODE |
| LOW | abupy/MarketBu/ABuMarket.py | 427 | def _all_cn_symbol_deprecated(index=False): | CODE |
| LOW | abupy/MarketBu/ABuMarket.py | 438 | def _all_hk_symbol_deprecated(index=False): | CODE |
| LOW | abupy/ExtBu/futures/_base.py | 153 | def _create_and_install_waiters(fs, return_when): | CODE |
| LOW | abupy/ExtBu/futures/_base.py | 463 | def set_running_or_notify_cancel(self): | CODE |
| LOW | abupy/ExtBu/futures/process.py | 297 | def _start_queue_management_thread(self): | CODE |
| LOW | abupy/ExtBu/joblib/format_stack.py | 98 | def fix_frame_records_filenames(records): | CODE |
| LOW | abupy/ExtBu/joblib/memory.py | 566 | def _check_previous_func_code(self, stacklevel=2): | CODE |
| LOW | abupy/ExtBu/joblib/parallel.py | 223 | def register_parallel_backend(name, factory, make_default=False): | CODE |
| LOW | abupy/MLBu/ABuML.py | 463 | def cross_val_prob_accuracy_score(self, pb_threshold, cv=10, show=True, **kwargs): | CODE |
| LOW | abupy/MLBu/ABuML.py | 696 | def cross_val_silhouette_score(self, cv=10, **kwargs): | CODE |
| LOW | abupy/MLBu/ABuML.py | 720 | def cross_val_mean_squared_score(self, cv=10, **kwargs): | CODE |
| LOW | abupy/MLBu/ABuML.py | 1200 | def search_match_neg_threshold(self, accuracy_match=0, effect_rate_match=0, neg_num=50, **kwargs): | CODE |
| LOW | abupy/MLBu/ABuML.py | 1244 | def search_match_pos_threshold(self, accuracy_match=0, effect_rate_match=0, pos_num=50, **kwargs): | CODE |
| LOW | abupy/MLBu/ABuML.py | 1538 | def random_forest_classifier_best(self, **kwargs): | CODE |
| LOW | abupy/MLBu/ABuML.py | 1565 | def random_forest_regressor_best(self, **kwargs): | CODE |
| LOW | abupy/MLBu/ABuML.py | 1647 | def decision_tree_classifier_best(self, **kwargs): | CODE |
| LOW | abupy/MLBu/ABuML.py | 1673 | def decision_tree_regressor_best(self, **kwargs): | CODE |
| LOW | abupy/MLBu/ABuML.py | 1725 | def _confusion_matrix_with_report(self, y_true, y_predict, labels=None): | CODE |
| LOW | abupy/MLBu/ABuMLExecute.py | 43 | def run_silhouette_cv_estimator(estimator, x, n_folds=10): | CODE |
| LOW | abupy/MLBu/ABuMLGrid.py | 151 | def grid_search_mul_init_kwargs(estimator, x, y, param_grid, cv=10, n_jobs=-1, scoring=None, show=True): | CODE |
| LOW | abupy/MLBu/ABuMLGrid.py | 256 | def grid_search_init_n_estimators(estimator, x, y, n_estimators_range=None, cv=10, n_jobs=-1, | CODE |
| 38 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | python/c7.py | 406 | CODE | |
| LOW | python/c7.py | 414 | CODE | |
| LOW | abupy/TLineBu/ABuTLVwap.py | 33 | CODE | |
| LOW | abupy/TLineBu/ABuTLExecute.py | 587 | CODE | |
| LOW | abupy/CrawlBu/ABuXqCrawlImp.py | 237 | CODE | |
| LOW | abupy/CrawlBu/ABuXqCrawl.py | 112 | CODE | |
| LOW | abupy/CrawlBu/ABuXqFile.py | 109 | CODE | |
| LOW | abupy/UtilBu/ABuProgress.py | 75 | CODE | |
| LOW | abupy/UtilBu/ABuProgress.py | 259 | CODE | |
| LOW | abupy/UtilBu/ABuRegUtil.py | 309 | CODE | |
| LOW | abupy/UtilBu/ABuDelegateUtil.py | 71 | CODE | |
| LOW | abupy/UtilBu/ABuDelegateUtil.py | 97 | CODE | |
| LOW | abupy/UtilBu/ABuDelegateUtil.py | 99 | CODE | |
| LOW | abupy/UtilBu/ABuStatsUtil.py | 321 | CODE | |
| LOW | abupy/UtilBu/ABuStatsUtil.py | 328 | CODE | |
| LOW | abupy/UtilBu/ABuMd5.py | 34 | CODE | |
| LOW | abupy/UtilBu/ABuFileUtil.py | 122 | CODE | |
| LOW | abupy/UtilBu/ABuDTUtil.py | 63 | CODE | |
| LOW | abupy/MetricsBu/ABuGridSearch.py | 286 | CODE | |
| LOW | abupy/MarketBu/ABuDataFeed.py | 268 | CODE | |
| LOW | abupy/MarketBu/ABuDataCheck.py | 45 | CODE | |
| LOW | abupy/MarketBu/ABuDataCheck.py | 110 | CODE | |
| LOW | abupy/MarketBu/ABuDataSource.py | 100 | CODE | |
| LOW | abupy/MarketBu/ABuDataCache.py | 64 | CODE | |
| LOW | abupy/MarketBu/ABuDataCache.py | 246 | CODE | |
| LOW | abupy/MarketBu/ABuMarketDrawing.py | 233 | CODE | |
| LOW | abupy/MarketBu/ABuSymbolStock.py | 160 | CODE | |
| LOW | abupy/MarketBu/ABuSymbol.py | 20 | CODE | |
| LOW | abupy/MarketBu/ABuSymbolPd.py | 172 | CODE | |
| LOW | abupy/MarketBu/ABuSymbolPd.py | 246 | CODE | |
| LOW | abupy/MarketBu/ABuMarket.py | 201 | CODE | |
| LOW | abupy/MarketBu/ABuMarket.py | 243 | CODE | |
| LOW | abupy/MarketBu/ABuNetWork.py | 79 | CODE | |
| LOW | abupy/MarketBu/ABuNetWork.py | 88 | CODE | |
| LOW | abupy/ExtBu/funcsigs.py | 55 | CODE | |
| LOW | abupy/ExtBu/funcsigs.py | 401 | CODE | |
| LOW | abupy/ExtBu/funcsigs.py | 474 | CODE | |
| LOW | abupy/ExtBu/funcsigs.py | 615 | CODE | |
| LOW | abupy/ExtBu/funcsigs.py | 648 | CODE | |
| LOW | abupy/ExtBu/futures/_base.py | 153 | CODE | |
| LOW | abupy/ExtBu/futures/_base.py | 174 | CODE | |
| LOW | abupy/ExtBu/futures/_base.py | 235 | CODE | |
| LOW | abupy/ExtBu/futures/process.py | 174 | CODE | |
| LOW | abupy/ExtBu/joblib/disk.py | 64 | CODE | |
| LOW | abupy/ExtBu/joblib/format_stack.py | 42 | CODE | |
| LOW | abupy/ExtBu/joblib/format_stack.py | 155 | CODE | |
| LOW | abupy/ExtBu/joblib/format_stack.py | 184 | CODE | |
| LOW | abupy/ExtBu/joblib/func_inspect.py | 207 | CODE | |
| LOW | abupy/ExtBu/joblib/logger.py | 96 | CODE | |
| LOW | abupy/ExtBu/joblib/numpy_pickle_utils.py | 68 | CODE | |
| LOW | abupy/ExtBu/joblib/numpy_pickle_utils.py | 125 | CODE | |
| LOW | abupy/ExtBu/joblib/numpy_pickle_utils.py | 214 | CODE | |
| LOW | abupy/ExtBu/joblib/numpy_pickle_utils.py | 313 | CODE | |
| LOW | abupy/ExtBu/joblib/numpy_pickle_utils.py | 512 | CODE | |
| LOW | abupy/ExtBu/joblib/numpy_pickle.py | 352 | CODE | |
| LOW | abupy/ExtBu/joblib/numpy_pickle.py | 529 | CODE | |
| LOW | abupy/ExtBu/joblib/pool.py | 513 | CODE | |
| LOW | abupy/ExtBu/joblib/hashing.py | 184 | CODE | |
| LOW | abupy/MLBu/ABuML.py | 399 | CODE | |
| LOW | abupy/CoreBu/ABuStore.py | 161 | CODE | |
| 18 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | abupy/UmpBu/ABuUmpBase.py | 0 | 具体ump类关键字唯一名称,类方法,abstractmethod子类必须实现 主要针对外部user设置自定义ump使用, 需要user自己保证class_unique_id的唯一性,内部不做检测 具体使用见abuumpmanager中ext | STRING |
| HIGH | abupy/UmpBu/ABuUmpMainBase.py | 0 | 具体ump类关键字唯一名称,类方法,abstractmethod子类必须实现 主要针对外部user设置自定义ump使用, 需要user自己保证class_unique_id的唯一性,内部不做检测 具体使用见abuumpmanager中ext | STRING |
| HIGH | abupy/UmpBu/ABuUmpEdgeBase.py | 0 | 具体ump类关键字唯一名称,类方法,abstractmethod子类必须实现 主要针对外部user设置自定义ump使用, 需要user自己保证class_unique_id的唯一性,内部不做检测 具体使用见abuumpmanager中ext | STRING |
| HIGH | abupy/UmpBu/ABuUmpEdgeFull.py | 0 | 内部类,只需要实现make_xy,且使用ump_edge_make_xy装饰 在边裁__init__中通过: self.fiter_cls = self.get_fiter_class() self.fiter = self.fiter_c | STRING |
| HIGH | abupy/UmpBu/ABuUmpEdgeMul.py | 0 | 内部类,只需要实现make_xy,且使用ump_edge_make_xy装饰 在边裁__init__中通过: self.fiter_cls = self.get_fiter_class() self.fiter = self.fiter_c | STRING |
| HIGH | abupy/UmpBu/ABuUmpEdgeWave.py | 0 | 内部类,只需要实现make_xy,且使用ump_edge_make_xy装饰 在边裁__init__中通过: self.fiter_cls = self.get_fiter_class() self.fiter = self.fiter_c | STRING |
| HIGH | abupy/UmpBu/ABuUmpEdgePrice.py | 0 | 内部类,只需要实现make_xy,且使用ump_edge_make_xy装饰 在边裁__init__中通过: self.fiter_cls = self.get_fiter_class() self.fiter = self.fiter_c | STRING |
| HIGH | abupy/UmpBu/ABuUmpMainDeg.py | 0 | 内部类,只需要实现make_xy,且使用ump_main_make_xy装饰 在__init__中通过: self.fiter_cls = self.get_fiter_class() self.fiter = self.fiter_cls | STRING |
| HIGH | abupy/UmpBu/ABuUmpMainFull.py | 0 | 内部类,只需要实现make_xy,且使用ump_main_make_xy装饰 在__init__中通过: self.fiter_cls = self.get_fiter_class() self.fiter = self.fiter_cls | STRING |
| HIGH | abupy/UmpBu/ABuUmpMainMul.py | 0 | 内部类,只需要实现make_xy,且使用ump_main_make_xy装饰 在__init__中通过: self.fiter_cls = self.get_fiter_class() self.fiter = self.fiter_cls | STRING |
| HIGH | abupy/UmpBu/ABuUmpMainPrice.py | 0 | 内部类,只需要实现make_xy,且使用ump_main_make_xy装饰 在__init__中通过: self.fiter_cls = self.get_fiter_class() self.fiter = self.fiter_cls | STRING |
| HIGH | abupy/UmpBu/ABuUmpMainJump.py | 0 | 内部类,只需要实现make_xy,且使用ump_main_make_xy装饰 在__init__中通过: self.fiter_cls = self.get_fiter_class() self.fiter = self.fiter_cls | STRING |
| HIGH | abupy/UmpBu/ABuUmpMainWave.py | 0 | 内部类,只需要实现make_xy,且使用ump_main_make_xy装饰 在__init__中通过: self.fiter_cls = self.get_fiter_class() self.fiter = self.fiter_cls | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | abupy/ExtBu/joblib/memory.py | 339 | #------------------------------------------------------------------------- | COMMENT |
| MEDIUM | abupy/ExtBu/joblib/memory.py | 341 | #------------------------------------------------------------------------- | COMMENT |
| MEDIUM | abupy/ExtBu/joblib/memory.py | 503 | #------------------------------------------------------------------------- | COMMENT |
| MEDIUM | abupy/ExtBu/joblib/memory.py | 505 | #------------------------------------------------------------------------- | COMMENT |
| MEDIUM | abupy/ExtBu/joblib/memory.py | 768 | #------------------------------------------------------------------------- | COMMENT |
| MEDIUM | abupy/ExtBu/joblib/memory.py | 770 | #------------------------------------------------------------------------- | COMMENT |
| MEDIUM | abupy/ExtBu/joblib/memory.py | 792 | #------------------------------------------------------------------------- | COMMENT |
| MEDIUM | abupy/ExtBu/joblib/memory.py | 794 | #------------------------------------------------------------------------- | COMMENT |
| MEDIUM | abupy/ExtBu/joblib/memory.py | 900 | #------------------------------------------------------------------------- | COMMENT |
| MEDIUM | abupy/ExtBu/joblib/memory.py | 902 | #------------------------------------------------------------------------- | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | python/c2.py | 904 | except Exception: | CODE |
| LOW | python/c3.py | 42 | except Exception as e: | CODE |
| LOW | abupy/CrawlBu/ABuXqCrawlImp.py | 87 | except Exception as e: | CODE |
| LOW | abupy/CrawlBu/ABuXqCrawlImp.py | 291 | except Exception as e: | CODE |
| LOW | abupy/UtilBu/ABuPlatform.py | 72 | except Exception as e: | CODE |
| LOW | abupy/UtilBu/ABuFileUtil.py | 146 | except Exception as e: | CODE |
| LOW | abupy/UtilBu/ABuDTUtil.py | 165 | except Exception as e: | CODE |
| LOW | abupy/UtilBu/ABuDTUtil.py | 231 | except Exception as e: | CODE |
| MEDIUM | abupy/UtilBu/ABuDTUtil.py | 162 | def wrapper(*args, **kwargs): | CODE |
| MEDIUM | abupy/UtilBu/ABuDTUtil.py | 228 | def wrapper(*args, **kwargs): | CODE |
| LOW | abupy/MarketBu/ABuDataSource.py | 94 | except Exception as e: | CODE |
| LOW | abupy/MarketBu/ABuDataSource.py | 200 | except Exception as e: | CODE |
| LOW | abupy/MarketBu/ABuMarketDrawing.py | 93 | except Exception as e: | CODE |
| LOW | abupy/MarketBu/ABuMarketDrawing.py | 297 | except Exception as e: | CODE |
| LOW | abupy/MarketBu/ABuDataParser.py | 56 | except Exception as e: | CODE |
| LOW | abupy/MarketBu/ABuDataParser.py | 352 | except Exception as e: | CODE |
| MEDIUM | abupy/MarketBu/ABuDataParser.py | 46 | def wrapped(*args, **kwargs): | CODE |
| LOW | abupy/MarketBu/ABuNetWork.py | 50 | except Exception as e: | CODE |
| LOW | abupy/MarketBu/ABuNetWork.py | 71 | except Exception as e: | CODE |
| LOW | abupy/ExtBu/futures/_base.py | 301 | except Exception: | CODE |
| LOW | abupy/ExtBu/joblib/memory.py | 450 | except Exception: | CODE |
| LOW | abupy/ExtBu/joblib/testing.py | 43 | except Exception as e: | CODE |
| LOW | abupy/MLBu/ABuMLBinsCs.py | 90 | except Exception: | CODE |
| LOW | abupy/CoreBu/ABuEnv.py | 377 | except Exception as e: | CODE |
| LOW | abupy/AlphaBu/ABuPickTimeExecute.py | 121 | except Exception as e: | CODE |
| LOW | abupy/TradeBu/ABuTradeDrawer.py | 165 | except Exception as e: | CODE |
| LOW | abupy/TradeBu/ABuTradeDrawer.py | 183 | except Exception as e: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | abupy/__init__.py | 24 | __all__ = ['AlphaBu', 'BetaBu', 'CheckBu', 'UmpBu', 'FactorSellBu', 'FactorSell', 'IndicatorBu', 'MarketBu', 'UtilBu', | CODE |
| LOW | abupy/TLineBu/__init__.py | 5 | __all__ = ['tl'] | CODE |
| LOW | abupy/TLineBu/ABuTL.py | 13 | __all__ = [ | CODE |
| LOW | abupy/IndicatorBu/__init__.py | 5 | __all__ = [ | CODE |
| LOW | abupy/IndicatorBu/ABuND.py | 9 | __all__ = [ | CODE |
| LOW | abupy/CheckBu/__init__.py | 6 | __all__ = [ | CODE |
| LOW | abupy/UtilBu/__init__.py | 19 | __all__ = [ | CODE |
| LOW | abupy/MetricsBu/__init__.py | 13 | __all__ = [ | CODE |
| LOW | abupy/MarketBu/__init__.py | 18 | __all__ = [ | CODE |
| LOW | abupy/ExtBu/funcsigs.py | 20 | __all__ = ['BoundArguments', 'Parameter', 'Signature', 'signature'] | CODE |
| LOW | abupy/ExtBu/joblib/__init__.py | 136 | __all__ = ['Memory', 'MemorizedResult', 'PrintTime', 'Logger', 'hash', 'dump', | CODE |
| LOW | abupy/MLBu/__init__.py | 11 | __all__ = [ | CODE |
| LOW | abupy/MLBu/ABuMLBinsCs.py | 19 | __all__ = ['show_orders_hist'] | CODE |
| LOW | abupy/MLBu/ABuMLExecute.py | 29 | __all__ = [ | CODE |
| LOW | abupy/MLBu/ABuMLGrid.py | 21 | __all__ = [ | CODE |
| LOW | abupy/CoreBu/__init__.py | 14 | __all__ = [ | CODE |
| LOW | abupy/FactorBuyBu/__init__.py | 11 | __all__ = [ | CODE |
| LOW | abupy/BetaBu/__init__.py | 10 | __all__ = [ | CODE |
| LOW | abupy/PickStockBu/__init__.py | 10 | __all__ = [ | CODE |
| LOW | abupy/SlippageBu/__init__.py | 10 | __all__ = [ | CODE |
| LOW | abupy/WidgetBu/__init__.py | 13 | __all__ = [ | CODE |
| LOW | abupy/AlphaBu/__init__.py | 16 | __all__ = [ | CODE |
| LOW | abupy/FactorSellBu/__init__.py | 14 | __all__ = [ | CODE |
| LOW | abupy/UmpBu/__init__.py | 22 | __all__ = [ | CODE |
| LOW | abupy/SimilarBu/__init__.py | 8 | __all__ = [ | CODE |
| LOW | abupy/DLBu/__init__.py | 7 | __all__ = [ | CODE |
| LOW | abupy/DLBu/ABuDLTVSplit.py | 18 | __all__ = ['train_val_split'] | CODE |
| LOW | abupy/DLBu/ABuDLImgStd.py | 22 | __all__ = ['std_img_from_root_dir', | CODE |
| LOW | abupy/TradeBu/__init__.py | 19 | __all__ = [ | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | python/c4.py | 461 | # sample_424_2() | COMMENT |
| LOW | python/c10.py | 941 | deg.cross_val_accuracy_score() | COMMENT |
| LOW | python/c10.py | 961 | # sample_1041() | COMMENT |
| LOW | python/c11.py | 361 | sample_111() | COMMENT |
| LOW | python/c5.py | 741 | # sample_533() | COMMENT |
| LOW | python/happy_life.py | 101 | # 每个类自定义这个追求的消耗生命常数,以及living_factor,比如 | COMMENT |
| LOW | python/extB.py | 221 | COMMENT | |
| LOW | python/c8.py | 401 | # sample_821_1() | COMMENT |
| LOW | python/c9.py | 481 | # sample_94_1() | COMMENT |
| LOW | python/extA.py | 101 | if __name__ == "__main__": | COMMENT |
| LOW | python/c2.py | 901 | COMMENT | |
| LOW | python/c2.py | 921 | # sample_242() | COMMENT |
| LOW | python/c6.py | 841 | # sample_621_2() | COMMENT |
| LOW | python/c7.py | 241 | # expanding_max | COMMENT |
| LOW | python/c7.py | 561 | COMMENT | |
| LOW | python/c3.py | 421 | _ = plt.hist(f1_moneys, bins=30) | COMMENT |
| LOW | abupy_ui/widget_base.py | 41 | # 这里sleep(0.3)防止有些版本clear_output把下面要展示的清除了,也不能使用clear_output的wait参数,有些浏览器卡死 | COMMENT |
| LOW | abupy/ExtBu/six.py | 1 | """Utilities for writing code that runs on Python 2 and 3""" | COMMENT |
| LOW | abupy/ExtBu/joblib/__init__.py | 101 | COMMENT | |
| LOW | abupy/ExtBu/joblib/hashing.py | 201 | # Cater for non-single-segment arrays: this creates a | COMMENT |
| LOW | abupy/ExtBu/joblib/hashing.py | 221 | else: | COMMENT |
| LOW | abupy/ExtBu/empyrical/__init__.py | 1 | # | COMMENT |
| LOW | abupy/ExtBu/empyrical/utils.py | 1 | # | COMMENT |
| LOW | abupy/ExtBu/empyrical/stats.py | 1 | # | COMMENT |
| LOW | abupy/MLBu/ABuMLCreater.py | 41 | # from xgboost.sklearn import XGBRegressor as GBR | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | abupy/ExtBu/futures/_base.py | 175 | An iterator over the given futures that yields each as it completes. Args: fs: The sequence of Futures (pos | STRING |
| HIGH | abupy/ExtBu/futures/_base.py | 380 | Return the result of the call that the future represents. Args: timeout: The number of seconds to w | STRING |
| HIGH | abupy/ExtBu/futures/_base.py | 411 | Return a tuple of (exception, traceback) raised by the call that the future represents. Args: | STRING |
| HIGH | abupy/ExtBu/futures/_base.py | 444 | Return the exception raised by the call that the future represents. Args: timeout: The number of se | STRING |
| HIGH | abupy/ExtBu/futures/_base.py | 553 | Returns a iterator equivalent to map(fn, iter). Args: fn: A callable that will take as many argumen | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | abupy/ExtBu/joblib/format_stack.py | 43 | """Hopefully pretty robust repr equivalent.""" | STRING |
| MEDIUM | abupy/ExtBu/joblib/memory.py | 543 | # file. This is bad practice, but joblib should be robust to bad | COMMENT |
| MEDIUM | abupy/ExtBu/joblib/memory.py | 573 | # also renders us robust to variations of the files when the | COMMENT |
| MEDIUM | abupy/ExtBu/joblib/memory.py | 587 | # Here, we go through some effort to be robust to dynamically | COMMENT |
| LOW | abupy/ExtBu/joblib/numpy_pickle_utils.py | 157 | # Compatibility with old pickle mode: simply return the input | COMMENT |
| LOW | abupy/ExtBu/joblib/numpy_pickle_utils.py | 184 | # objects (GzipFile, BZ2File, LzmaFile), we simply return it. | COMMENT |
| MEDIUM | abupy/ExtBu/joblib/pool.py | 283 | # to 3.2. For Python 3.3+ leverage the new dispatch_table | COMMENT |
| LOW | abupy/ExtBu/joblib/pool.py | 565 | # We cannot just use from 'joblib.pool import delete_folder' | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | abupy/UtilBu/ABuWinUtil.py | 182 | # Create the Window. | COMMENT |
| MEDIUM | abupy/ExtBu/futures/_base.py | 462 | # The following methods should only be used by Executors and in tests. | COMMENT |
| MEDIUM | abupy/ExtBu/joblib/numpy_pickle.py | 114 | # This function is faster than the memory-intensive | COMMENT |
| MEDIUM | abupy/ExtBu/joblib/my_exceptions.py | 64 | # Create an exception inheriting from both JoblibException | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | abupy/RomDataBu/stock_code_us.txt | 4968 | us|0|PAC|GRUPO AEROPORTUARIO DEL PACIFICO S.A.B. DE C.V. AMER DEP. SHARES (EACH REP. 10 SER B SHARES)|GRUPOAEROPORTUARIO | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | abupy/RomDataBu/hq_nav.txt | 6761 | sS'placeholder' | CODE |
| LOW | abupy/RomDataBu/hq_nav.txt | 6772 | S'placeholder' | CODE |
| LOW | abupy/RomDataBu/hq_nav.txt | 6884 | S'placeholder' | CODE |
| LOW | abupy/RomDataBu/hq_nav.txt | 6895 | S'placeholder' | CODE |
| LOW | abupy/RomDataBu/hq_nav.txt | 7612 | sS'placeholder' | CODE |
| LOW | abupy/RomDataBu/hq_nav.txt | 7623 | S'placeholder' | CODE |
| LOW | abupy/RomDataBu/hq_nav.txt | 13407 | S'placeholder' | CODE |
| LOW | abupy/RomDataBu/hq_nav.txt | 13418 | S'placeholder' | CODE |
| LOW | abupy/RomDataBu/hq_nav.txt | 15771 | sS'placeholder' | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | abupy/MarketBu/ABuSymbolPd.py | 172 | CODE | |
| LOW | abupy/MarketBu/ABuSymbolPd.py | 246 | CODE | |
| LOW | abupy/ExtBu/joblib/parallel.py | 469 | CODE | |
| LOW | abupy/ExtBu/joblib/pool.py | 513 | CODE | |
| LOW | abupy/CoreBu/ABuParallel.py | 60 | CODE | |
| LOW | abupy/CoreBu/ABu.py | 27 | CODE | |
| LOW | abupy/PickStockBu/ABuPickStockBase.py | 28 | CODE | |
| LOW | abupy/SimilarBu/ABuSimilar.py | 90 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | abupy/ExtBu/empyrical/_version.py | 13 | "error": null, | CODE |