MCPcopy Create free account

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

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

Functiontest_kis_token_without_expires_in_is_cached_not_reissued
KIS limits token issuance to once a minute; a response that omits expires_in must still be reused rather than re-issued on every call.
agent/tests/test_sdk_connectors_kis.py:291
Functiontest_kltype_map_accepts_project_hour_tokens
()
agent/tests/test_futu_connector_period_hour_case.py:8
Functiontest_kmv_default_point_takes_all_short_and_half_the_long_book
()
agent/tests/quantlib/test_credit.py:308
Functiontest_kmv_default_point_validates_its_inputs
()
agent/tests/quantlib/test_credit.py:314
Functiontest_kmv_distance_to_default_goes_negative_below_the_default_point
()
agent/tests/quantlib/test_credit.py:328
Functiontest_kmv_distance_to_default_is_the_linear_gap_not_the_log_one
()
agent/tests/quantlib/test_credit.py:321
Functiontest_kmv_distance_to_default_rejects_non_positive_inputs
()
agent/tests/quantlib/test_credit.py:332
Functiontest_known_analysis_types_pass_validation
(good)
agent/tests/test_trade_journal_analysis_type.py:20
Functiontest_known_artifact_symlink_cannot_escape_run_directory
(artifact_dir: Path)
agent/tests/harness_eval/test_schema_and_artifacts.py:96
Functiontest_known_keys_cover_engine_and_loader_reads
()
agent/tests/test_backtest_unrecognized_config_keys.py:56
Methodtest_known_patterns
(self, code: str, expected: str)
agent/tests/test_market_detection.py:103
Functiontest_known_presets_load
Spot-check a few headline presets advertised in docs/UI.
agent/tests/test_swarm_presets_packaging.py:66
Methodtest_known_symbols_still_use_correct_engine
Known symbols should still route to their dedicated sub-engine.
agent/tests/test_composite_engine_fallback.py:39
Functiontest_korea_backtest_completes_and_emits_run_card
(tmp_path: Path)
agent/tests/test_korea_backtest_smoke.py:76
Functiontest_korea_costs_are_applied_vs_zero_commission_us
Identical data, signal AND slippage: only Korea's cost stack differs.
agent/tests/test_korea_backtest_smoke.py:128
Functiontest_korea_costs_are_exact
Pin commission + transaction tax to the won, not just 'costs happened'.
agent/tests/test_korea_backtest_smoke.py:86
Functiontest_korea_vwap_uses_typical_price
()
agent/tests/factors/test_korea_universe.py:67
Methodtest_kosdaq_suffix_stripped
(self)
agent/tests/test_pykrx_loader.py:33
Methodtest_kospi_suffix_stripped
(self)
agent/tests/test_pykrx_loader.py:30
Functiontest_ks_pme_double_sided_guard
Outperformance -> KS-PME > 1; underperformance -> KS-PME < 1.
agent/tests/quantlib/test_fundmath.py:776
Functiontest_ks_pme_includes_terminal_nav_via_residual_value
-1000 in, +600 realised, +700 NAV, all valued as of 2020-01-01. FV(contrib) = 1500, FV(dist) = 600, FV(NAV) = 700 (factor 1, same date). KS-P
agent/tests/quantlib/test_fundmath.py:788
Functiontest_ks_pme_of_a_fund_that_beat_the_index
-1000 in, +2000 out, one year later, index +50% over the same year. FV(contributions) = 1000 * 150/100 = 1500 FV(distributions) = 2000 * 150
agent/tests/quantlib/test_fundmath.py:755
Functiontest_ks_pme_of_a_fund_that_lagged_the_index
-1000 in, +900 out: FV(contrib)=1500, FV(dist)=900, KS-PME = 0.6.
agent/tests/quantlib/test_fundmath.py:768
Functiontest_ks_pme_only_the_latest_mark_counts_matching_residual_value
Two marks, an early stale one and the terminal one; only the terminal counts.
agent/tests/quantlib/test_fundmath.py:804
Functiontest_ks_pme_refuses_a_bare_list
()
agent/tests/quantlib/test_fundmath.py:837
Functiontest_ks_pme_refuses_a_missing_index_date
()
agent/tests/quantlib/test_fundmath.py:828
Functiontest_ks_pme_refuses_a_non_series_index
()
agent/tests/quantlib/test_fundmath.py:842
Functiontest_ks_pme_refuses_an_empty_index
()
agent/tests/quantlib/test_fundmath.py:850
Functiontest_ks_pme_refuses_no_contributions
()
agent/tests/quantlib/test_fundmath.py:822
Functiontest_kupiec_matches_the_closed_form_likelihood_ratio
()
agent/tests/quantlib/test_var_backtest.py:103
Functiontest_kupiec_perfect_calibration_gives_zero_statistic
()
agent/tests/quantlib/test_var_backtest.py:80
Functiontest_kupiec_rejects_a_model_breached_far_too_often
()
agent/tests/quantlib/test_var_backtest.py:87
Functiontest_kupiec_rejects_a_model_that_never_breaches_when_it_should
()
agent/tests/quantlib/test_var_backtest.py:95
Functiontest_kupiec_rejects_impossible_inputs
(violations, observations, confidence)
agent/tests/quantlib/test_var_backtest.py:126
Functiontest_kupiec_zero_and_full_breach_counts_are_finite
()
agent/tests/quantlib/test_var_backtest.py:117
Functiontest_kv_line_bare_paren_year_stays_dropped
()
agent/tests/test_report_audit_accounting_parens.py:75
Functiontest_kv_line_parenthesized_negative_with_unit
()
agent/tests/test_report_audit_accounting_parens.py:67
Functiontest_kv_line_positive_control_unchanged
()
agent/tests/test_report_audit_accounting_parens.py:81
Functiontest_kwargs_must_be_an_object
(tool)
agent/tests/test_quantlib_tool.py:228
Methodtest_kyles_lambda
(self)
agent/tests/quantlib/test_microstructure.py:38
Functiontest_kyles_lambda_rejects_nonfinite_inputs
(bad)
agent/tests/quantlib/test_microstructure_nonfinite.py:14
Methodtest_kyles_lambda_unbiased_when_flow_mean_is_nonzero
(self)
agent/tests/quantlib/test_microstructure.py:45
Functiontest_label_end_times_accepts_a_timestamp_series
()
agent/tests/quantlib/test_crossvalidation.py:240
Functiontest_label_ending_between_observations_maps_to_the_prior_observation
()
agent/tests/quantlib/test_crossvalidation.py:251
Functiontest_label_ending_on_an_observation_keeps_that_exact_position
()
agent/tests/quantlib/test_crossvalidation.py:267
Functiontest_labels_touching_at_a_single_instant_count_as_overlapping
()
agent/tests/quantlib/test_crossvalidation.py:87
Methodtest_ladder_precedence_stall_beats_cancel
(self)
agent/tests/test_run_outcome_module.py:153
Functiontest_lane_exit_and_report
(monkeypatch, tmp_path, status, coverage, exit_code)
agent/tests/test_loader_health.py:166
Functiontest_large_and_exponent_forms_follow_ecmascript
()
agent/tests/test_paper_trade_jcs.py:96
Functiontest_large_finite_explicit_weights_are_normalised_without_overflow
(weight_kind)
agent/tests/quantlib/test_combination.py:124
Methodtest_large_portfolio_is_paged_not_truncated
(self)
agent/tests/test_etf_holdings_tool.py:484
Methodtest_large_position
(self)
agent/tests/test_crypto_engine.py:507
Functiontest_large_result_uses_original_delivery_without_loss
(vendor, tables, tmp_path, monkeypatch)
agent/tests/test_gildata_fin_query.py:151
Functiontest_large_symbol_list_caps_network_lookups
(tmp_path: Path, monkeypatch)
agent/tests/api/test_positions_sectors.py:372
Functiontest_lark_domain_hits_larksuite_endpoint
( monkeypatch: pytest.MonkeyPatch, )
agent/tests/test_feishu_connection_test.py:148
Functiontest_last_event_id_replay_still_returns_only_later_events
()
agent/tests/test_session_events.py:27
Functiontest_last_price_usd_fail_closed_on_loader_unavailable
The loader-backed price helper denies (returns None) when no loader is available — never a network call in tests.
agent/tests/test_enforcement_l6.py:307
Functiontest_last_tick_missing_is_none
(live_runtime: Path)
agent/tests/test_runtime_liveness.py:41
Functiontest_last_warmup_bar_signal_fills_on_first_eval_bar
Equity parity: the warm-up cut applies after the signal shift, so a signal dated the last warm-up bar fills on the first evaluated bar.
agent/tests/test_options_next_bar_fill.py:134
Functiontest_latch_still_skips_second_call
Behavior preserved: still loads once per process (no log on re-entry).
agent/tests/test_dotenv_observability.py:112
Functiontest_late_limit_up_does_not_reject_an_earlier_fill
()
agent/tests/test_paper_trade_5m_engine.py:438
Methodtest_later_attempt_of_same_owner_reads_the_earlier_task
(self)
agent/tests/test_background_scope_isolation.py:143
Methodtest_later_deltas_and_repeated_end_do_not_duplicate_overflow
(self)
agent/tests/test_discord_stream_initial_chunking.py:70
Methodtest_later_page_failure_discards_symbol
(self, loader, mock_ctx, monkeypatch)
agent/tests/test_futu_loader.py:303
Functiontest_latest_catalog_and_equal_weights_are_explicit
(client, diagnosis)
agent/tests/test_shannon_routes.py:40
Functiontest_latest_close_date_matches_finite_close_row
When the final bar has NaN close, the 'Latest close' date must match the last row with a finite close, not the final bar's date.
agent/tests/test_grounding_nan_volume.py:112
Functiontest_latest_date_preserves_timestamp_priority_and_absence
(tmp_path, timestamps, expected)
agent/tests/test_grounding_generic_timestamps.py:167
Methodtest_latest_end_wins_across_ranges
(self)
agent/tests/test_strategy_discovery_decay.py:67
Functiontest_latest_enriches_legacy_snapshot_with_current_compatibility
(tmp_path)
agent/tests/test_portfolio_service.py:251
Functiontest_latest_join_failure_keeps_the_history
The avg-field enrichment is best-effort: history survives it failing.
agent/tests/test_shareholder_count_tool.py:141
Functiontest_latest_join_rejection_is_a_warning_not_silence
A retired latest-only column (the #1489 failure) must not read as null data.
agent/tests/test_shareholder_count_tool.py:158
Functiontest_latest_named_history_constraint_wins
(tmp_path: Path)
agent/tests/test_grounding_resolution_context.py:272
Functiontest_latest_only_fallback_rejection_is_an_error_not_no_disclosure
()
agent/tests/test_shareholder_count_tool.py:171
Functiontest_latest_only_fallback_when_detail_report_is_empty
A symbol absent from the per-period report still answers its latest row.
agent/tests/test_shareholder_count_tool.py:122
Methodtest_latest_period_is_parsed_with_its_own_as_of
(self)
agent/tests/test_etf_holdings_tool.py:587
Methodtest_latest_reportable_quarter_waits_out_the_filing_lag
(self)
agent/tests/test_institutional_holdings_tool.py:315
Functiontest_latest_returns_price_and_features
( tmp_path: Path, )
agent/tests/test_taiwan_stock_data_tool.py:495
Functiontest_latest_separates_price_and_feature_dates
Indicators from an older date must not be dated as today's bar.
agent/tests/test_taiwan_stock_data_tool.py:738
Functiontest_latin_word_is_not_an_accounting_unit
(text)
agent/tests/test_report_audit_accounting_parens.py:145
Methodtest_layer2_references_performance_attribution_skill
Layer 2 should reference performance-attribution for deep analysis.
agent/tests/test_context_attribution_layers.py:52
Methodtest_layer3_references_correlation_analysis_skill
Layer 3 should delegate regime classification to correlation-analysis skill.
agent/tests/test_context_attribution_layers.py:46
Functiontest_layer_one_clears_oldest_results_only_until_the_prompt_fits
()
agent/tests/test_context_budget.py:349
Methodtest_leading_bare_token_is_an_error
(self)
agent/tests/test_playbooks_surface.py:713
Functiontest_leading_nan_is_still_flat_not_forward_filled_backwards
A symbol that starts late has no prior price; ffill cannot invent one.
agent/tests/test_returns_gaps_and_infinities.py:71
Functiontest_ledger_is_append_only
(live_runtime: Path)
agent/tests/test_audit_redact.py:90
Functiontest_ledger_still_append_only_with_sinks
Trace/callback sinks do not disturb the append-only ledger semantics.
agent/tests/test_audit_redact.py:290
Methodtest_left_only
(self)
agent/tests/test_cli_interactive.py:551
Methodtest_left_right_fit
(self)
agent/tests/test_cli_interactive.py:557
Functiontest_leg_two_server_error_reports_network
( monkeypatch: pytest.MonkeyPatch, )
agent/tests/test_slack_connection_test.py:234
Functiontest_legacy_cli_constants_derive_from_runtime_root
()
agent/tests/test_user_state_paths.py:101
Functiontest_legacy_cli_provider_choices_match_registry_defaults
()
agent/tests/test_llm_provider_defaults.py:88
Functiontest_legacy_daily_bars_override_hourly_declaration
(tmp_path: Path)
agent/tests/test_validation_cli_settings.py:176
Functiontest_legacy_data_without_structured_content_drops_mirror_text
()
agent/tests/test_mcp_result_dedup.py:284
Methodtest_legacy_date_benchmark_artifacts_still_parse
(self, tmp_path)
agent/tests/test_strategy_discovery_harness.py:711
Methodtest_legacy_env_var_alias
VIBE_TRADING_OCR_QWEN_MODEL should alias to VIBE_TRADING_OCR_LLM_MODEL with deprecation warning.
agent/tests/test_ocr_engine.py:395
Functiontest_legacy_envelope_gains_no_strict_fields
A non-strict run's rows are unchanged — the fields are additive only.
agent/tests/test_alpha_bench_strict_cli.py:239
Functiontest_legacy_failure_envelope_byte_identical_without_additions
(summary_run_dir)
agent/tests/test_backtest_summary.py:267
Methodtest_legacy_flags_route_to_legacy
(self, monkeypatch: pytest.MonkeyPatch)
agent/tests/test_cli_interactive.py:107
Methodtest_legacy_layout_alone_still_detects_pairs
(self, monkeypatch)
agent/tests/test_akshare_loader.py:113
Functiontest_legacy_local_metadata_refetches_once_then_retains_cache
(tmp_path, monkeypatch)
agent/tests/test_local_loader_source_revision.py:121
← previousnext →19,901–20,000 of 26,887, ranked by callers