MCPcopy Create free account

hub / github.com/HKUDS/Vibe-Trading / functions

Functions26,887 in github.com/HKUDS/Vibe-Trading

Functiontest_negative_close_change_inverts_the_rank_power
(width)
agent/tests/factors/test_gtja191_alpha017_power.py:17
Functiontest_negative_coefficients_are_rejected
A negative coefficient would pay the trader for trading.
agent/tests/quantlib/test_impact.py:199
Functiontest_negative_currency_keeps_sign_on_either_side_of_symbol
(value: str, table: bool)
agent/tests/test_report_audit_signed_values.py:14
Functiontest_negative_delay_is_rejected_as_lookahead_bias
A negative shift pulls future signal into the past; that must never be silent.
agent/tests/quantlib/test_impact.py:238
Functiontest_negative_ebitda_peer_is_excluded_from_ev_ebitda_and_reported
()
agent/tests/quantlib/valuation/test_comps.py:323
Functiontest_negative_estimation_gap_rejected
()
agent/tests/quantlib/test_eventstudy.py:470
Methodtest_negative_final_equity_does_not_crash
A leveraged/short book can end below zero equity (total_return < -1). ``(1 + total_return) ** fractional`` would raise a negative base to a
agent/tests/test_metrics.py:492
Functiontest_negative_final_equity_does_not_create_complex_annual_return
()
agent/tests/test_options_portfolio_correctness.py:41
Methodtest_negative_historical_funding_pays_longs
(self)
agent/tests/test_crypto_engine.py:533
Functiontest_negative_limit_denies_all_requests
A limiter with a negative max must deny every request.
agent/tests/test_rate_limiter_memory.py:105
Functiontest_negative_max_rows_still_caps
G3 (ii): a negative max_rows is invalid -> cap enforced, never unbounded.
agent/tests/test_get_market_data_size.py:75
Functiontest_negative_net_income_drives_retained_earnings_negative
A sustained loss must be allowed to push retained earnings below zero. Opex is set to 50% of revenue against a 10% gross margin, guaranteeing a
agent/tests/quantlib/valuation/test_threestatement.py:621
Functiontest_negative_offset_rejected
(run_dir: Path)
agent/tests/test_run_artifact_tool.py:164
Methodtest_negative_return
(self)
agent/tests/test_metrics.py:367
Methodtest_negative_rho_cheapens_out_of_the_money_calls
The price-level consequence of the skew, checked without inverting IV.
agent/tests/quantlib/test_volatility.py:128
Methodtest_negative_rho_produces_a_downward_sloping_skew
A leverage-effect correlation must make low strikes the expensive ones. This is the only property in this file that can see the sign of the
agent/tests/quantlib/test_volatility.py:103
Functiontest_negative_size_clamps_to_zero_on_one_share_boards
()
agent/tests/test_china_a_board_order_grid.py:43
Methodtest_negative_size_floors_to_zero
(self)
agent/tests/test_vietnam_equity_engine.py:79
Functiontest_negative_size_is_rejected
Side is carried by direction, so a negative size is a caller bug.
agent/tests/quantlib/test_impact.py:191
Functiontest_negative_skew_and_fat_tails_both_reduce_confidence
()
agent/tests/quantlib/test_multipletesting.py:71
Functiontest_negative_sleep_hint_is_clamped_to_zero
()
agent/tests/scheduling/test_kernel_sleep_hint.py:93
Functiontest_negative_specific_variance_raises
()
agent/tests/quantlib/test_factormodel_negative_specific_variance.py:18
Methodtest_negative_to_zero
(self)
agent/tests/test_global_futures_engine.py:181
Functiontest_negative_weight_is_part_of_the_book
()
agent/tests/test_risk_xray.py:45
Functiontest_negative_years_is_an_error_envelope
()
agent/tests/test_financial_rigor_three_scenario_undefined_upside.py:33
Functiontest_negative_zero_canonicalizes_to_positive_zero
()
agent/tests/test_paper_trade_jcs.py:105
Methodtest_neither_key_set
(self)
agent/tests/test_env_schema.py:398
Functiontest_neither_orders_nor_strategy_path_violates_the_xor_gate
()
agent/tests/test_paper_trade_tool.py:230
Methodtest_neither_parameter_is_an_error
(self)
agent/tests/test_strategy_discovery_refresh.py:191
Methodtest_neither_set_returns_default
(self, monkeypatch: pytest.MonkeyPatch)
agent/tests/test_env_schema.py:564
Functiontest_nelson_siegel_limits
()
agent/tests/quantlib/test_fixedincome.py:361
Functiontest_nelson_siegel_returns_a_float_for_scalar_input_and_an_array_otherwise
()
agent/tests/quantlib/test_fixedincome.py:372
Functiontest_nested_broker_error_cancel_is_not_a_success
(live_runtime: Path)
agent/tests/test_runtime_flatten.py:442
Functiontest_nested_broker_error_flatten_is_not_a_success
(live_runtime: Path)
agent/tests/test_runtime_flatten.py:469
Methodtest_nested_file_is_within_root
(self, tmp_path: Path)
agent/tests/test_channel_utils_is_path_within.py:14
Functiontest_nested_groups_keep_child_text_once_in_shape_order
(tmp_path, monkeypatch)
agent/tests/test_doc_reader_pptx_containers.py:45
Methodtest_nested_markets_are_capped
(self, monkeypatch)
agent/tests/test_prediction_market_tool.py:639
Methodtest_nested_relative_path_ok
(self, tmp_path: Path)
agent/tests/test_path_safety.py:21
Methodtest_nested_strong_in_value
value td 内包含 <strong> 嵌套时,不应被误当作下一行 key。
agent/tests/test_fetch_sina_penalties.py:413
Functiontest_network_app_rejects_untrusted_host
()
agent/tests/test_mcp_host_origin_guard.py:111
Functiontest_network_app_rejects_untrusted_origin
()
agent/tests/test_mcp_host_origin_guard.py:121
Functiontest_network_error_is_sanitized_and_retried
(monkeypatch)
agent/tests/test_loader_health.py:115
Methodtest_network_failure_becomes_error_envelope
(self, monkeypatch)
agent/tests/test_prediction_market_tool.py:580
Functiontest_network_failure_fast_fails_to_cn_fallback
Network-style ddgs failures skip extra retries and go straight to fallback.
agent/tests/test_web_search_tool.py:237
Functiontest_network_is_never_touched
Guard against a future edit silently reintroducing a real network path.
agent/tests/test_orderbook_depth_tool.py:390
Functiontest_network_leg_supplies_target_day_is_ready_even_though_ch_lacks_it
()
agent/tests/test_paper_trade_readiness.py:130
Functiontest_networked_run_keeps_the_snapshot_wrapper_away_from_its_loader
( tmp_path: Path, monkeypatch: pytest.MonkeyPatch )
agent/tests/test_offline_benchmark.py:143
Methodtest_neutral
(self)
agent/tests/test_sentiment_tool.py:42
Functiontest_neutral_band_moves_are_not_candidates
(before: float, after: float)
agent/tests/test_paper_trade_corporate_actions.py:188
Functiontest_neutralization_is_idempotent
()
agent/tests/test_special_token_neutralization.py:101
Methodtest_never_fused_is_empty
(self)
agent/tests/test_regime.py:123
Methodtest_never_in_any_fallback_chain
Contract 1: explicit-only. A user's broker credential is used only on a deliberate source="tickerall" request, never silently as a fallback.
agent/tests/test_tickerall_loader.py:103
Methodtest_never_raises_on_garbage_registry
(self)
agent/tests/test_strategy_discovery_guard.py:115
Methodtest_new_board_codes_enforce_both_sides_of_band
(self, symbol, limit, direction)
agent/tests/test_china_a_engine.py:125
Methodtest_new_env_var_takes_precedence_over_legacy
When both old and new env vars are set, the new one wins without warning.
agent/tests/test_ocr_engine.py:415
Functiontest_new_episode_after_restart_fires_again
(live_root: Path)
agent/tests/test_sweep_latch.py:161
Methodtest_new_file_with_all_fields
Files with extended frontmatter should parse all fields correctly.
agent/tests/test_memory_lifecycle.py:99
Methodtest_new_holdings_on_top_of_an_untouched_original
(self)
agent/tests/test_institutional_holdings_tool.py:927
Functiontest_new_install_starts_with_no_selected_sources
(tmp_path)
agent/tests/test_portfolio_config.py:68
Functiontest_new_loader_cannot_silently_disappear
(monkeypatch)
agent/tests/test_loader_health.py:52
Methodtest_new_low_is_bearish
(self)
agent/tests/test_sentiment_tool.py:83
Functiontest_new_observations_or_distinct_writes_keep_running
(tmp_path, readonly)
agent/tests/test_agent_loop_no_progress.py:110
Methodtest_new_order_activates_then_fills_fully
(self)
agent/tests/test_paper_order_lifecycle.py:71
Functiontest_new_partial_is_owner_only
(fake_home)
agent/tests/test_onboard_partial_env.py:38
Functiontest_new_readonly_observation_resets_stall_chain
()
agent/tests/test_tool_progress.py:12
Functiontest_new_schemas_append_without_reordering_the_existing_prefix
()
agent/tests/test_deferred_tool_loading.py:84
Functiontest_new_schemas_change_measured_context_size_without_double_counting
()
agent/tests/test_deferred_tool_loading.py:110
Functiontest_new_sources_are_documented
The eight newly registered sources must each appear in the Source Overview.
agent/tests/test_data_routing_sources_subset.py:75
Functiontest_new_trace_file_fsyncs_parent_directory
Creating trace.jsonl durably records the new directory entry.
agent/tests/test_trace_writer.py:174
Methodtest_new_universe_same_name_succeeds
(self)
agent/tests/test_strategy_store_adaptation.py:145
Functiontest_newer_global_halt_rearms_stale_broker_latch
(live_root: Path)
agent/tests/test_sweep_latch.py:171
Functiontest_newer_global_halt_rearms_with_tied_mtimes
(live_root: Path)
agent/tests/test_sweep_latch.py:50
Methodtest_newer_layout_alone_still_detects_pairs
(self, monkeypatch)
agent/tests/test_akshare_loader.py:108
Functiontest_newer_wheel_upgrades
The version checked on PyPI is the exact version passed to pip.
agent/tests/test_cli_update.py:206
Methodtest_newest_archive_is_discovered_from_the_foia_index
(self)
agent/tests/test_institutional_holdings_tool.py:1633
Methodtest_newest_period_wins_even_if_the_server_reorders_the_blocks
(self)
agent/tests/test_etf_holdings_tool.py:916
Methodtest_newest_period_wins_over_newest_filing_date
(self)
agent/tests/test_etf_holdings_tool.py:381
Functiontest_next_run_parses_hhmm_into_cron_fields
The repurposed parser: "HH:MM" -> (minute, hour), strict on garbage.
agent/tests/test_br_data.py:371
Functiontest_next_session_start_uses_market_timezone_and_skips_weekend
(service)
agent/tests/test_paper_accounts.py:107
Functiontest_next_sleep_ms_without_a_hint_is_the_fixed_tick
()
agent/tests/scheduling/test_kernel_sleep_hint.py:98
Methodtest_no_actions_keeps_todays_series
(self)
agent/tests/test_additive_conversion.py:86
Functiontest_no_adv_means_no_cap_and_that_is_an_assumption_of_infinite_liquidity
()
agent/tests/test_factor_costs.py:249
Functiontest_no_agent_config_produces_no_mcp_tools
build_registry() with no agent_config must not add any mcp_ tools.
agent/tests/test_registry_mcp_integration.py:48
Methodtest_no_alias_shadows_a_command_name
(self)
agent/tests/test_institutional_commands.py:116
Methodtest_no_alpha_tokens
(self)
agent/tests/test_sentiment_tool.py:75
Functiontest_no_available_source_is_a_warning_and_not_ready_never_a_crash
( monkeypatch: pytest.MonkeyPatch, )
agent/tests/test_paper_trade_readiness.py:209
Functiontest_no_backdating_future_or_incomplete_session
(service)
agent/tests/test_paper_accounts.py:82
Functiontest_no_builtin_feed_catalogue
()
agent/tests/test_rsshub_events_provider.py:160
Functiontest_no_builtin_scalable_profile_can_place_orders
()
agent/tests/test_scalable_connector.py:130
Methodtest_no_bundled_skill_breaches_the_cap_on_its_opening_call
(self)
agent/tests/test_agent_output_discipline.py:1118
Functiontest_no_cache_bypasses_repeatable_compaction_replay
()
agent/tests/test_readonly_replay_after_microcompact.py:159
Functiontest_no_cache_executes_externally_even_after_normal_read_is_protected
()
agent/tests/test_readonly_replay_after_microcompact.py:367
Functiontest_no_cache_header_opt_in_only
(captured)
agent/tests/test_web_reader_privacy.py:72
Functiontest_no_cancel_event_leaves_stream_chat_signature_untouched
Callers that never pass cancel_event (older call sites, tests with stubs whose stream_chat has no should_cancel parameter) must see no new kwarg.
agent/tests/test_swarm_worker_cancel.py:189
Methodtest_no_caps_unchanged
(self)
agent/tests/test_turnover_aware_optimizer.py:336
Functiontest_no_catch_up_tier_leaves_the_gp_below_its_nominal_carry
A hard hurdle: 20% carry applies only above the 8 of preferred. 100 returned, 8 preferred to LPs, then 92 split 20/80 -> GP 18.4, LP 73.6. GP
agent/tests/quantlib/test_fundmath.py:513
Methodtest_no_chinese_returns_default
(self, fsp)
agent/tests/test_fetch_sina_penalties.py:110
Methodtest_no_chosen_account_commits_nothing
(self, monkeypatch: pytest.MonkeyPatch)
agent/tests/test_cli_live.py:645
Functiontest_no_circular_imports
()
agent/tests/test_api_infrastructure.py:55
Functiontest_no_code_uses_existing_authorization_without_resolution
(tmp_path)
agent/tests/test_gildata_fin_query.py:254
← previousnext →21,201–21,300 of 26,887, ranked by callers