MCPcopy Create free account

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

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

Functiontest_toss_open_orders_calls_status_open_and_closed_separately
status is a required query param on /api/v1/orders, not something to derive by inspecting each row -- two calls, matching the spec.
agent/tests/test_sdk_connectors_toss.py:201
Functiontest_toss_order_ops_classified_write
()
agent/tests/test_sdk_connectors_toss.py:409
Functiontest_toss_place_order_always_refused
()
agent/tests/test_sdk_connectors_toss.py:49
Functiontest_toss_place_order_refused_even_when_declared_paper
No verified sandbox exists, so even a 'paper'-declared profile refuses — unlike Dhan/Upbit, there is no honest local simulation to fall back to.
agent/tests/test_sdk_connectors_toss.py:64
Functiontest_toss_positions_reads_holdings_and_unwraps_nested_items
(monkeypatch)
agent/tests/test_sdk_connectors_toss.py:134
Functiontest_toss_redacts_client_secret
()
agent/tests/test_sdk_connectors_toss.py:393
Functiontest_toss_request_sends_bearer_and_account_headers
(monkeypatch)
agent/tests/test_sdk_connectors_toss.py:361
Functiontest_toss_sdk_profile_registered
()
agent/tests/test_sdk_connectors_toss.py:29
Functiontest_toss_service_unconfigured
(monkeypatch, tmp_path)
agent/tests/test_sdk_connectors_toss.py:401
Functiontest_total_and_by_symbol_share_one_counter
#1235/#1274: the scalar count and the named map come from one counter. A card reader may only ever see `unfilled_plan_rejections`. If the named m
agent/tests/test_plan_rejected.py:315
Functiontest_total_debt_increases_enterprise_value
Debt is assumed by an acquirer of the whole enterprise -- EV rises.
agent/tests/quantlib/valuation/test_comps.py:121
Functiontest_total_debt_reduces_equity_value
()
agent/tests/quantlib/valuation/test_dcf.py:733
Methodtest_total_equals_avg_times_bars
(self)
agent/tests/test_metrics.py:593
Functiontest_total_excludes_nav_marks_by_default
()
agent/tests/test_entities_spine.py:287
Methodtest_total_recovery_rounds_are_bounded
The round cap binds once no per-action cap does. Spending the round budget with ``record_recovery("search_symbol")`` also spends the
agent/tests/test_grounding_recovery.py:223
Methodtest_total_return
(self)
agent/tests/test_metrics.py:362
Functiontest_total_sums_signed_amounts
()
agent/tests/test_entities_spine.py:280
Functiontest_total_timeout_interrupts_a_silent_stream
()
agent/tests/test_chat_stream_interruption.py:117
Functiontest_totals_match_hand_computed_returns
Portfolio, benchmark and active returns match the arithmetic above.
agent/tests/quantlib/test_attribution.py:43
Functiontest_trace_error_status_reconciles_to_failed_state
( harness_case: HarnessCase, artifact_dir: Path, )
agent/tests/harness_eval/test_runner.py:75
Functiontest_trace_loader_uses_only_latest_session_turn
(artifact_dir: Path)
agent/tests/harness_eval/test_schema_and_artifacts.py:42
Functiontest_trace_lookup_searches_runtime_root
( monkeypatch: pytest.MonkeyPatch, tmp_path: Path )
agent/tests/test_user_state_paths.py:153
Functiontest_trace_metadata_cannot_be_a_raw_payload_channel
(tmp_path)
agent/tests/test_run_card_trust_layer_v1.py:130
Functiontest_trace_reader_keeps_unicode_line_separator_inside_json_record
(tmp_path: Path)
agent/tests/test_trace_writer.py:87
Functiontest_trace_reader_refuses_offload_path_escape
A malicious trace.jsonl must not make read() open files outside trace dir.
agent/tests/test_trace_writer.py:61
Functiontest_trace_sidecar_cannot_escape_trace_directory
(artifact_dir: Path)
agent/tests/harness_eval/test_schema_and_artifacts.py:78
Functiontest_trace_writer_sink_receives_live_action_type
H5 sink 2: when a trace_writer is passed it gets the redacted record tagged ``type="live_action"``, alongside tool_call/tool_result.
agent/tests/test_audit_redact.py:195
Methodtest_tracking_error_is_annualised
(self)
agent/tests/test_metrics_tracking_error.py:48
Methodtest_trade_count
(self)
agent/tests/test_metrics.py:387
Methodtest_trade_fixture_shape_matches_engine_schema
(self, tmp_path)
agent/tests/test_strategy_discovery_harness.py:437
Functiontest_trade_profile_lists_capabilities_by_environment
()
agent/tests/test_etoro_connector.py:84
Functiontest_trade_profiles_have_place_capability
()
agent/tests/test_sdk_order_gate.py:820
Functiontest_trade_selection_compares_instants_instead_of_timestamp_strings
()
agent/tests/test_robinhood_mcp_mapping.py:514
Functiontest_trades_csv_entry_row_falls_back_to_the_trade_without_an_opening_fill
A position that carries no opening record keeps the trade's own fields.
agent/tests/test_base_engine.py:307
Functiontest_trades_csv_entry_row_is_the_opening_fill_after_a_scale_in
The entry row must be a trade that happened, not the running average cost. A scale-in moves the position's weighted entry price, but the entry ro
agent/tests/test_base_engine.py:242
Functiontest_trading212_check_connection_invalid_api_key_surfaces_clean_error
(monkeypatch)
agent/tests/test_trading212_connector.py:115
Functiontest_trading212_check_connection_missing_api_key
(monkeypatch, tmp_path)
agent/tests/test_trading212_connector.py:106
Functiontest_trading212_instrument_metadata_filter
(monkeypatch)
agent/tests/test_trading212_connector.py:225
Functiontest_trading212_nonpaper_order_attempts_refused_before_config_checks
()
agent/tests/test_trading212_connector.py:194
Functiontest_trading212_paper_order_attempts_still_readonly
()
agent/tests/test_trading212_connector.py:218
Functiontest_trading212_profiles_registered_readonly
()
agent/tests/test_trading212_connector.py:16
Functiontest_trading212_profiles_use_official_hosts
()
agent/tests/test_trading212_connector.py:35
Functiontest_trading212_public_config_redacts_api_secret
()
agent/tests/test_trading212_connector.py:187
Functiontest_trading212_read_write_classification_registered
()
agent/tests/test_trading212_connector.py:46
Functiontest_trading212_request_uses_basic_auth_when_api_secret_is_present
(monkeypatch)
agent/tests/test_trading212_connector.py:137
Functiontest_trading212_request_uses_legacy_authorization_without_api_secret
(monkeypatch)
agent/tests/test_trading212_connector.py:172
Functiontest_trading212_service_dispatches_positions
(monkeypatch)
agent/tests/test_trading212_connector.py:67
Functiontest_trading212_service_order_attempts_refuse_readonly_profile
()
agent/tests/test_trading212_connector.py:208
Functiontest_trading_days_in_range_enumerates_ascending
(cn_a_client: FakeCalendarClient)
agent/tests/test_paper_trade_calendar.py:80
Functiontest_trading_history_tool_exposes_period_and_limit
()
agent/tests/test_sdk_connectors.py:1112
Functiontest_trading_mcp_wrappers_do_not_send_implicit_local_overrides
No-arg trading_* MCP calls must not override profile defaults.
agent/tests/test_mcp_regression.py:251
Functiontest_trading_mcp_wrappers_forward_explicit_local_overrides
Explicit local override fields are still forwarded to the backend.
agent/tests/test_mcp_regression.py:270
Functiontest_trading_numeric_helpers_reject_malformed_values
Malformed order numerics raise instead of degrading to None.
agent/tests/test_tools_type_value_safety.py:104
Functiontest_trading_service_lists_accounts_through_get_accounts
(monkeypatch: pytest.MonkeyPatch)
agent/tests/test_robinhood_mcp_mapping.py:456
Functiontest_trading_tools_are_not_offered_by_default
(fake_cli)
agent/tests/test_claude_cli_tool_policy.py:22
Functiontest_trading_tools_forward_explicit_market_type_override
()
agent/tests/test_binance_usdm_readonly.py:231
Functiontest_transaction_labels_are_matched_ignoring_case_and_padding
The label is German prose rather than a canonical enum, so it is matched case-insensitively, and a padded cell is stripped at the read boundary —
agent/tests/test_extraetf_reader.py:890
Functiontest_transactions_export_yields_movements_and_never_positions
A transactions export is a movement history, not a portfolio.
agent/tests/test_extraetf_reader.py:220
Functiontest_transcript_helpers_render_prompt_recap_and_elapsed
()
agent/tests/test_cli_ui_redesign.py:104
Functiontest_transcription_event_returns_structured_error
()
agent/tests/test_channels_runtime.py:316
Functiontest_transfer_into_the_portfolio_rejects_the_wrong_holder_sign
A positive portfolio inflow is not accepted as a holder cash inflow.
agent/tests/test_cashflow_analytics_tool.py:198
Functiontest_transient_budget_is_bounded
(tmp_path, monkeypatch)
agent/tests/test_swarm_store_atomic_write.py:83
Functiontest_transient_dispatch_failure_retries_then_success_resets_state
(tmp_path: Path)
agent/tests/test_scheduled_research_executor.py:162
Functiontest_transient_forced_refresh_failure_preserves_cache_and_is_retryable
( monkeypatch: pytest.MonkeyPatch, tmp_path: Path, )
agent/tests/test_openai_codex.py:302
Functiontest_transient_http_failure_is_not_invalid_credentials
( monkeypatch: pytest.MonkeyPatch, status: int )
agent/tests/test_slack_connection_test.py:327
Functiontest_transient_networkerror_retried_then_succeeds
()
agent/tests/test_ccxt_loader_bounded.py:56
Functiontest_transient_retried_then_succeeds
()
agent/tests/test_loader_retry_helpers.py:81
Functiontest_transient_stream_failure_is_retried_and_run_succeeds
One transient ProviderStreamError then success → run completes (2 calls).
agent/tests/test_agent_loop_stream_retry.py:150
Methodtest_transient_symbol_error_is_swallowed
A network blip on one symbol logs+skips (never poisons the batch).
agent/tests/test_tickerall_loader.py:359
Functiontest_transient_then_success
Transient errors are retried; after retrying, the page succeeds.
agent/tests/test_okx_loader_bounded.py:65
Methodtest_transition_active_to_monitoring
(self)
agent/tests/test_strategy_store.py:325
Methodtest_transition_decayed_to_disabled
(self)
agent/tests/test_strategy_store.py:343
Methodtest_transition_monitoring_to_active_recovery
(self)
agent/tests/test_strategy_store.py:337
Methodtest_transition_monitoring_to_decayed
(self)
agent/tests/test_strategy_store.py:331
Functiontest_translate_cashflows_allow_stale_rates_flags_the_reused_quote
()
agent/tests/test_entities_spine.py:826
Functiontest_translate_cashflows_hand_calculated_multi_currency
Two flows, different currency and date, checked against a hand calc.
agent/tests/test_entities_spine.py:742
Functiontest_translate_cashflows_max_staleness_days_bounds_the_stale_search
()
agent/tests/test_entities_spine.py:842
Functiontest_translate_cashflows_missing_rate_raises_explicit_error
()
agent/tests/test_entities_spine.py:819
Functiontest_translate_cashflows_preserves_original_amount_currency_rate_and_date
()
agent/tests/test_entities_spine.py:872
Functiontest_translate_cashflows_reversed_rate_produces_a_grossly_wrong_number
A confused caller who uses the reciprocal (150) instead of the correct quote-per-base rate (1/150) does not get a subtly-off number -- they get
agent/tests/test_entities_spine.py:795
Functiontest_translate_cashflows_same_currency_flow_passes_through_unchanged
()
agent/tests/test_entities_spine.py:893
Functiontest_translate_cashflows_uses_each_flows_own_settlement_date_rate_not_period_end
A period-end rate would silently give 200.0 instead of the correct 100.0.
agent/tests/test_entities_spine.py:767
Functiontest_translated_overviews_match_the_registry
()
agent/tests/test_capability_matrix.py:21
Functiontest_transport_error_reports_network
(monkeypatch: pytest.MonkeyPatch)
agent/tests/test_slack_connection_test.py:219
Functiontest_transport_error_reports_network
( tmp_path: Path, monkeypatch: pytest.MonkeyPatch, )
agent/tests/test_qq_connection_test.py:252
Functiontest_transport_error_reports_network
( monkeypatch: pytest.MonkeyPatch, )
agent/tests/test_feishu_connection_test.py:270
Functiontest_transport_error_reports_network
(monkeypatch: pytest.MonkeyPatch)
agent/tests/test_discord_connection_test.py:204
Functiontest_transport_error_reports_network
(monkeypatch: pytest.MonkeyPatch)
agent/tests/test_dingtalk_connection_test.py:254
Methodtest_transport_error_returns_none
(self)
agent/tests/test_gildata_codes.py:60
Functiontest_transport_errors_never_echo_secret_response
(monkeypatch, status)
agent/tests/test_mstock_connector.py:112
Functiontest_transport_failure_and_redirect_never_leave_codex_host
(monkeypatch)
agent/tests/test_codex_model_discovery.py:129
Functiontest_transport_failure_becomes_an_error_envelope
()
agent/tests/test_research_papers_tool.py:395
Functiontest_transport_includes_topk_only_when_supplied
(vendor)
agent/tests/test_gildata_stock_selection.py:101
Functiontest_transport_preserves_status_and_rejects_rpc_errors
(monkeypatch, status)
agent/tests/test_shannon_routes.py:124
Methodtest_traversal_that_escapes_root_is_rejected
(self, tmp_path: Path)
agent/tests/test_channel_utils_is_path_within.py:38
Methodtest_traversal_that_stays_inside_root_is_accepted
(self, tmp_path: Path)
agent/tests/test_channel_utils_is_path_within.py:45
Functiontest_trend_line_slope_flat_series_is_zero
()
agent/tests/test_pattern_tool.py:86
Functiontest_trend_line_slope_linear_series
()
agent/tests/test_pattern_tool.py:78
Functiontest_trend_line_slope_rejects_nonpositive_window
()
agent/tests/test_pattern_tool.py:285
Functiontest_trend_line_slope_rejects_window_one
window=1 passes the old >=1 guard then polyfit raises LinAlgError.
agent/tests/test_pattern_tool.py:291
← previousnext →25,501–25,600 of 26,887, ranked by callers