MCPcopy Create free account

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

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

Functiontest_gbm_is_reproducible_under_a_fixed_seed
()
agent/tests/quantlib/test_risk.py:333
Functiontest_gbm_mean_terminal_price_drifts_as_expected_over_many_paths
()
agent/tests/quantlib/test_risk.py:359
Functiontest_gbm_median_terminal_price_follows_the_log_drift
()
agent/tests/quantlib/test_risk.py:371
Functiontest_gbm_rejects_impossible_parameters
(kwargs, match)
agent/tests/quantlib/test_risk.py:388
Functiontest_gbm_shape_starts_at_s0
()
agent/tests/quantlib/test_risk.py:345
Functiontest_gbm_with_zero_volatility_is_the_deterministic_drift_path
()
agent/tests/quantlib/test_risk.py:352
Methodtest_gbp_pence_meta_scales_ohlc_to_gbp
(self)
agent/tests/test_yahoo_loader.py:296
Methodtest_gbp_quoted_lse_line_passes_unscaled
(self)
agent/tests/test_yahoo_loader.py:321
Methodtest_gbpjpy
(self)
agent/tests/test_forex_engine.py:83
Methodtest_gc_archive_removes_relations_sidecar
A GC'd entry's .relations.json sidecar must not survive it.
agent/tests/memory/test_lifecycle_index_cleanup.py:129
Methodtest_gc_archive_removes_stale_fts_row
A GC'd entry's FTS row must not keep ranking (and displacing a real match) after the entry itself is unreachable via _scan_entries().
agent/tests/memory/test_lifecycle_index_cleanup.py:99
Methodtest_gc_archived_entry_is_not_also_compressed
An entry archived by Tier 1 must not be handed to Tier 2 compression. Old + low quality makes Tier 1 archive it; also stale-since-access
agent/tests/test_memory_gc.py:230
Methodtest_gc_archives_low_importance
Entries below ARCHIVE_THRESHOLD should be moved to archive/.
agent/tests/test_memory_gc.py:94
Methodtest_gc_compresses_a_healthy_entry_that_shares_an_archived_entrys_id
The Tier 2 skip is keyed on the file, not on the entry id (#1450). Ids are a six-hex hash (``sha256(...)[:6]`` when the frontmatter has
agent/tests/test_memory_gc.py:263
Methodtest_gc_delete_disabled_in_tier1
ENABLE_DELETE=False should force archive even for very low scores.
agent/tests/test_memory_gc.py:158
Methodtest_gc_disabled_when_flag_off
run_gc() returns [] when VT_MEMORY_GC=0.
agent/tests/test_memory_gc.py:128
Methodtest_gc_dry_run_no_file_changes
dry_run=True should not modify or move any files.
agent/tests/test_memory_gc.py:76
Methodtest_gc_dry_run_skips_compression
dry_run=True must not rewrite entries via the compression pipeline.
agent/tests/test_memory_gc.py:175
Methodtest_gc_execute_applies_compression
dry_run=False still applies Tier-2 compression to eligible entries.
agent/tests/test_memory_gc.py:203
Methodtest_gc_f_keeps_correct_futures_hit
(self)
agent/tests/test_symbol_search_tool.py:1187
Methodtest_gc_log_created
GC actions should be logged to gc.log.
agent/tests/test_memory_gc.py:139
Methodtest_gc_no_limit
(self)
agent/tests/test_global_futures_engine.py:157
Methodtest_gc_respects_min_age
Entries younger than MIN_AGE_DAYS should not be gc'd.
agent/tests/test_memory_gc.py:111
Methodtest_gemini_is_not_on_the_allowlist
Gemini's OpenAI-compatible endpoint has not been verified for this field. ``top_level_reasoning_effort`` is a positive allowlist: a provider
agent/tests/test_llm_reasoning_effort.py:244
Functiontest_gemma_role_tokens_are_defanged
()
agent/tests/test_special_token_neutralization.py:82
Functiontest_generate_backtest_config_falls_back_on_unknown_source
A free-text data_source that is not a real loader degrades to 'auto'.
agent/tests/test_autopilot_tool.py:150
Functiontest_generate_backtest_config_rejects_invalid_date_before_write
Invalid date ranges must fail before run artifacts are created.
agent/tests/test_autopilot_tool.py:64
Functiontest_generate_backtest_config_run_dir_passes_safe_run_dir
The returned run_dir must be accepted by safe_run_dir. Regression for the high-severity defect: the tool wrote run_dir under ~/.vibe-trading/
agent/tests/test_autopilot_tool.py:123
Functiontest_generate_backtest_config_writes_safe_config
The tool should write a config with mapped codes under the run root.
agent/tests/test_autopilot_tool.py:38
Functiontest_generated_child_code_records_current_model_without_touching_active_run
(context, tmp_path)
agent/tests/test_strategy_adaptation_workflow.py:176
Functiontest_generated_engine_keeps_unmatched_markets_flat
()
agent/tests/test_shadow_account.py:2074
Functiontest_generated_engine_other_market_rule_is_not_a_wildcard
A rule whose own market is "other" must only fire for codes that themselves resolve to "other" -- it must not shadow a more specific rule for
agent/tests/test_shadow_account.py:2120
Functiontest_generated_engine_runs_on_mock_data_map
The rendered engine must execute cleanly against a minimal data_map.
agent/tests/test_shadow_account.py:264
Functiontest_generated_report_links_persist_and_stream_identically
A model omission must not hide a successfully generated report.
agent/tests/test_session_service_lifecycle.py:214
Functiontest_generic_adapter_acknowledgement_is_persisted_as_accepted
( tmp_path: Path, )
agent/tests/test_scheduled_research_confirmation.py:144
Functiontest_generic_commission_is_the_brokerage_rate_unless_declared
()
agent/tests/test_argentina_equity_engine.py:113
Functiontest_generic_corporate_action_rows_are_skipped
(raw: str)
agent/tests/test_trade_journal.py:151
Functiontest_generic_header_table_metric_rows_are_gated
#1336 must not be dodgeable by formatting the claim as a table. The generic-header machinery that used to read a row LABEL for a metric kind
agent/tests/test_agent_grounding.py:3457
Functiontest_generic_journal_row_for_a_currency_cross_gets_other_market
()
agent/tests/test_trade_journal_fiat_pairs_not_crypto.py:28
Functiontest_generic_journal_rows_with_us_suffix_are_us_market
()
agent/tests/test_trade_journal_suffixed_us_market.py:29
Functiontest_generic_latest_date_beats_as_of_but_local_date_wins
(tmp_path: Path)
agent/tests/test_grounding_generic_timestamps.py:131
Functiontest_generic_normalizer_accepts_builtin_connector_aliases
(connector, raw, expected)
agent/tests/test_portfolio_compatibility.py:191
Functiontest_generic_off_allows_the_shared_bash_path_unchanged
( monkeypatch, tmp_path )
agent/tests/test_provider_agnostic_tool_policy.py:182
Functiontest_generic_operations_map_to_read_tools
()
agent/tests/test_scalable_connector.py:236
Functiontest_generic_quote_inherits_parent_as_of
(tmp_path: Path)
agent/tests/test_grounding_generic_timestamps.py:25
Functiontest_generic_quote_without_timestamp_stays_undated
(tmp_path: Path)
agent/tests/test_grounding_generic_timestamps.py:64
Functiontest_generic_readonly_profile_uses_common_account_and_position_fields
(tmp_path)
agent/tests/test_portfolio_service.py:692
Functiontest_generic_rows_keep_their_own_trade_dates
(tmp_path: Path)
agent/tests/test_grounding_generic_timestamps.py:42
Functiontest_generic_snapshot_inherits_latest_date
(tmp_path: Path)
agent/tests/test_grounding_generic_timestamps.py:78
Functiontest_generic_value_error_still_raises_provider_error
A ValueError that is NOT the empty-stream signal still surfaces as error.
agent/tests/test_chat_llm_streaming.py:323
Functiontest_generic_values_override_legacy_aliases
(monkeypatch)
agent/tests/test_provider_agnostic_tool_policy.py:196
Functiontest_genuine_completion_still_succeeds
Guard: a real deliverable must still complete and become final_report.
agent/tests/test_swarm_output_contract.py:221
Methodtest_genuine_empty_news_does_not_invoke_browser_transport
(self)
agent/tests/test_stock_news_tool.py:292
Functiontest_genuine_execution_requests_are_still_rejected
(objective: str)
agent/tests/test_goal_policy.py:65
Functiontest_genuine_metrics_still_extract
(abstract, metric, value)
agent/tests/test_research_papers_tool.py:812
Functiontest_genuine_pass_from_the_matching_trusted_header_is_honoured
()
agent/tests/test_email_authentication_results.py:69
Functiontest_genuine_read_tool_is_plain_readonly
()
agent/tests/test_default_deny_unknown_robinhood_tool.py:188
Functiontest_genuine_tusd_pairs_still_fold
()
agent/tests/test_agent_grounding.py:651
Functiontest_genuine_write_tool_is_gate_wrapped
()
agent/tests/test_default_deny_unknown_robinhood_tool.py:183
Functiontest_german_separators_are_not_read_as_us_numbers
``1.386,608`` is 1386.608, not 1.386 and not 1386608.
agent/tests/test_extraetf_reader.py:170
Functiontest_get_acc_cash_flow_routes_to_trade_context
(base_futu_cfg, patched_futu, monkeypatch)
agent/tests/test_futu_extended_reads.py:220
Functiontest_get_account_snapshot_maps_kite_margins
(monkeypatch)
agent/tests/test_zerodha_sdk.py:223
Functiontest_get_account_snapshot_routes_through_tap
(monkeypatch)
agent/tests/test_alpaca_tap_routing.py:169
Functiontest_get_account_snapshot_uses_aggregate_portfolio_for_pnl
(monkeypatch)
agent/tests/test_etoro_connector.py:217
Functiontest_get_backfills_adapter_defaults_for_unconfigured_channel
An empty on-disk section still yields the adapter's default values. Regression (found by live QQ E2E): a never-configured channel returned em
agent/tests/test_channels_config_api.py:311
Methodtest_get_bench_history
(self)
agent/tests/test_strategy_store.py:251
Functiontest_get_capital_distribution_returns_single_row_snapshot
(base_futu_cfg, patched_futu, monkeypatch)
agent/tests/test_futu_extended_reads.py:161
Functiontest_get_capital_flow_defaults_to_intraday
(base_futu_cfg, patched_futu, monkeypatch)
agent/tests/test_futu_extended_reads.py:146
Functiontest_get_capital_flow_passes_period_type_through
Period token (INTRADAY/DAY/WEEK/MONTH) is forwarded to the SDK verbatim.
agent/tests/test_futu_extended_reads.py:135
Methodtest_get_company_facts_builds_padded_url
(self)
agent/tests/test_sec_edgar_client.py:138
Methodtest_get_content_existing
(self, skills_dir: Path, empty_user_dir: Path)
agent/tests/test_skills.py:170
Methodtest_get_content_fallback_does_not_duplicate_entries
A mid-session skill whose frontmatter name differs from its directory slug must not grow loader.skills on every repeated lookup.
agent/tests/test_skills.py:182
Methodtest_get_content_missing
(self, skills_dir: Path, empty_user_dir: Path)
agent/tests/test_skills.py:176
Functiontest_get_data_dir_uses_explicit_config_parent
(tmp_path: Path)
agent/tests/test_agent_config.py:352
Functiontest_get_data_source_settings_lists_default_source_orders
( client: TestClient, _reset_source_order_env, )
agent/tests/test_settings_api.py:678
Functiontest_get_data_source_settings_treats_placeholder_as_unconfigured
( client: TestClient, tmp_path: Path, )
agent/tests/test_settings_api.py:396
Methodtest_get_decay_history
(self)
agent/tests/test_strategy_store.py:273
Functiontest_get_default_source_order_returns_copy
()
agent/tests/test_source_order_overrides.py:87
Methodtest_get_descriptions_contains_all
(self, skills_dir: Path, empty_user_dir: Path)
agent/tests/test_skills.py:163
Methodtest_get_descriptions_grouped
(self, skills_dir: Path, empty_user_dir: Path)
agent/tests/test_skills.py:155
Functiontest_get_earnings_calendar_passes_market_and_dates
(base_futu_cfg, patched_futu, monkeypatch)
agent/tests/test_futu_extended_reads.py:267
Functiontest_get_email_and_websocket_entries_have_help_keys_and_masked_secrets
( tmp_path: Path, monkeypatch )
agent/tests/test_channels_config_api.py:1369
Functiontest_get_exchange_omits_proxy_config_when_env_absent
(monkeypatch)
agent/tests/test_ccxt_loader_proxy.py:57
Functiontest_get_exchange_passes_all_proxy_to_ccxt
(monkeypatch)
agent/tests/test_ccxt_loader_proxy.py:27
Functiontest_get_exchange_prefers_explicit_http_and_https_proxy_over_all_proxy
(monkeypatch)
agent/tests/test_ccxt_loader_proxy.py:41
Functiontest_get_exchange_sets_explicit_timeout
()
agent/tests/test_ccxt_loader_bounded.py:112
Functiontest_get_excludes_non_channel_helper_modules
(tmp_path: Path, monkeypatch)
agent/tests/test_channels_config_api.py:270
Functiontest_get_feishu_masks_secrets_and_reports_test_support
( tmp_path: Path, monkeypatch )
agent/tests/test_channels_config_api.py:246
Functiontest_get_financial_statements_wrapper_matches_tool_contract
()
agent/tests/test_mcp_sec_financial_offset_paging.py:37
Functiontest_get_financials_maps_statement_type_tokens_to_int_codes
INCOME / BALANCE / CASH_FLOW map to 1 / 2 / 3 on the SDK wire.
agent/tests/test_futu_extended_reads.py:240
Functiontest_get_financials_unknown_statement_type_defaults_to_income
(base_futu_cfg, patched_futu, monkeypatch)
agent/tests/test_futu_extended_reads.py:252
Functiontest_get_fundamentals_tool_loader_error_envelope
( monkeypatch: pytest.MonkeyPatch, )
agent/tests/test_get_fundamentals_tool.py:63
Functiontest_get_fundamentals_tool_success_envelope
(monkeypatch: pytest.MonkeyPatch)
agent/tests/test_get_fundamentals_tool.py:22
Functiontest_get_historical_bars_requests_candles_path
(monkeypatch)
agent/tests/test_etoro_connector.py:639
Functiontest_get_historical_bars_routes_through_tap_and_normalizes_keys
(monkeypatch)
agent/tests/test_alpaca_tap_routing.py:266
Functiontest_get_historical_bars_tolerates_empty_string_numerics
Shoonya returns ``""`` for unset OHLCV fields — must not crash.
agent/tests/test_shoonya_empty_string_numeric.py:121
Functiontest_get_history_deals_resolves_account_and_passes_dates
(base_futu_cfg, patched_futu, monkeypatch)
agent/tests/test_futu_extended_reads.py:179
Functiontest_get_history_deals_scopes_by_code_when_provided
(base_futu_cfg, patched_futu, monkeypatch)
agent/tests/test_futu_extended_reads.py:200
Functiontest_get_instrument_types_reads_catalog
(monkeypatch)
agent/tests/test_etoro_connector.py:492
Functiontest_get_llm_settings_is_side_effect_free_and_hides_placeholders
( client: TestClient, tmp_path: Path, )
agent/tests/test_settings_api.py:46
← previousnext →18,801–18,900 of 26,887, ranked by callers