MCPcopy Create free account

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

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

Functiontest_user_preset_overrides_bundled_stem
(user_presets_dir)
agent/tests/test_swarm_presets_packaging.py:167
Functiontest_user_token_200_without_bot_flag_reports_invalid_credentials
A pasted OAuth *user* token answers 200 without ``"bot": true``. ``token_key="bot"`` routes that through the shared "200 but token_key missin
agent/tests/test_discord_connection_test.py:135
Functiontest_user_token_is_rejected_before_opening_socket
( monkeypatch: pytest.MonkeyPatch, )
agent/tests/test_slack_connection_test.py:303
Methodtest_uses_declared_defaults
(self, tmp_path: Path)
agent/tests/test_research_playbooks.py:311
Methodtest_uses_initialized_worker_inputs
(self)
agent/tests/test_bench_parallel.py:42
Functiontest_uses_responses_api_matches_provider_route
( monkeypatch: pytest.MonkeyPatch, provider: str, adapter: str | None, native_available: bool,
agent/tests/test_llm_reasoning_effort.py:125
Functiontest_utf16_bom_not_latin1_mojibake
(tmp_path: Path)
agent/tests/test_doc_reader.py:66
Functiontest_utf16_offset_to_index_accounts_for_supplementary_plane_chars
()
agent/tests/test_signal_mention_utf16.py:9
Methodtest_utf8_bom_before_frontmatter
(self)
agent/tests/test_skills.py:51
Methodtest_utf8_bom_does_not_hide_the_frontmatter
A BOM from a Windows editor must not read as 'missing frontmatter'.
agent/tests/test_research_playbooks.py:295
Functiontest_v11_assembly_never_carries_v12_fields
()
agent/tests/test_paper_trade_v12_schema.py:430
Functiontest_v11_contract_file_is_not_edited
()
agent/tests/test_paper_trade_v12_schema.py:488
Functiontest_v11_hash_is_the_frozen_coverage_object
()
agent/tests/test_paper_trade_v12_schema.py:298
Functiontest_v11_payload_key_set_is_the_frozen_set
()
agent/tests/test_paper_trade_v12_schema.py:357
Functiontest_v11_result_stays_valid_under_the_additive_v12_document
()
agent/tests/test_paper_trade_v12_schema.py:378
Functiontest_v12_assembly_computes_a_fingerprint_before_the_engine_populates_it
()
agent/tests/test_paper_trade_v12_schema.py:421
Functiontest_v12_assembly_reads_the_engine_populated_outcome_fields
()
agent/tests/test_paper_trade_v12_schema.py:397
Functiontest_v12_contract_file_declares_the_additive_surface
()
agent/tests/test_paper_trade_v12_schema.py:465
Functiontest_v12_contract_requires_the_additive_fields_only_for_a_v12_document
()
agent/tests/test_paper_trade_v12_schema.py:478
Functiontest_v12_payload_adds_exactly_the_three_documented_keys
()
agent/tests/test_paper_trade_v12_schema.py:364
Functiontest_v12_result_does_not_validate_as_a_v11_document
()
agent/tests/test_paper_trade_v12_schema.py:391
Functiontest_v12_without_a_fingerprint_fails_closed
()
agent/tests/test_paper_trade_v12_schema.py:440
Functiontest_v1_live_record_is_migrated_when_recovered
(tmp_path)
agent/tests/test_background_store_recovery.py:395
Functiontest_v1_terminal_record_does_not_invent_a_duplicate_notification
(tmp_path)
agent/tests/test_background_store_recovery.py:358
Functiontest_vague_prompt_keeps_the_previous_defaults
()
agent/tests/test_swarm_tool_variables.py:98
Functiontest_val_whitelist_covers_exactly_the_daily_basic_fields
()
agent/tests/factors/test_fundamental_valuation_samples.py:332
Methodtest_valid_bearer_is_accepted
( self, method: str, path: str, expected: int, rest_store: ScheduledRe
agent/tests/test_playbooks_surface.py:374
Methodtest_valid_config
(self)
agent/tests/test_engine_robustness.py:335
Functiontest_valid_date_formats_keep_normal_report
( tmp_path, monkeypatch, dates, expected_range )
agent/tests/test_trade_journal_invalid_datetime.py:118
Functiontest_valid_dividend_only_journal_is_accepted
(tmp_path, monkeypatch)
agent/tests/test_trade_journal_invalid_datetime.py:128
Functiontest_valid_edited_schedule_is_preserved_beta_local_trust
(ii-c) choice (β): a syntactically VALID user-edited schedule is trusted local configuration and left alone — with its next_run_at.
agent/tests/scheduling/test_system_jobs.py:334
Functiontest_valid_final_answer_passes_and_wrong_symbol_value_fails
(tmp_path)
agent/tests/test_grounding_keyed_metric_paths.py:118
Functiontest_valid_grouping_and_explicit_ambiguity_resolution
(tmp_path, text, separator, expected)
agent/tests/test_entities_grouping_validation.py:29
Functiontest_valid_low_density_still_exits_and_unknown_density_keeps_state
()
agent/tests/test_regime_undefined_correlation_regressions.py:19
Methodtest_valid_optimizer
(self)
agent/tests/test_base_engine.py:867
Methodtest_valid_optional_int_is_coerced
(self, monkeypatch: pytest.MonkeyPatch)
agent/tests/test_env_schema.py:252
Functiontest_valid_price_does_not_launder_unsupported_analysis_metric
A valid quote must not make an invented backtest metric acceptable.
agent/tests/test_agent_grounding.py:2972
Methodtest_valid_range
(self)
agent/tests/test_engine_robustness.py:509
Methodtest_valid_rows_survive_alongside_tampered_row
(self, tmp_path, caplog)
agent/tests/test_strategy_discovery_store.py:247
Functiontest_valid_single_call_tool_field_or_observed_symbol_ref_survives
(tmp_path, ref)
agent/tests/test_grounding_unknown_single_refs.py:46
Functiontest_valid_singleton_and_ordinary_inverse_weights_are_unchanged
()
agent/tests/quantlib/test_covariance_weight_stability.py:27
Methodtest_valid_sources_covers_all_registered_loaders
Every registered loader name must be an accepted config source, so a new loader can never be silently rejected by the config schema.
agent/tests/test_engine_robustness.py:469
Functiontest_valid_specific_variances_add_their_risk
()
agent/tests/quantlib/test_factormodel_negative_specific_variance.py:31
Functiontest_valid_structured_calls_are_not_retried_after_native_metadata
(fake_cli)
agent/tests/test_claude_cli_provider.py:203
Functiontest_valid_tau_calibration_can_be_consumed_by_the_cdf
(tau, expected)
agent/tests/quantlib/test_gaussian_copula_boundary.py:15
Functiontest_valid_timeout_env_values_are_honored_on_reload
(monkeypatch)
agent/tests/test_okx_loader_bounded.py:176
Functiontest_valid_timeout_env_values_are_honored_on_reload
(monkeypatch)
agent/tests/test_ccxt_loader_bounded.py:134
Functiontest_valid_zero_runtime_source_is_missing
(monkeypatch, tmp_path, runtime_values)
agent/tests/test_longbridge_credentials.py:251
Functiontest_validate_api_auth_returns_a_loopback_principal_when_no_key
(monkeypatch)
agent/tests/test_principal.py:187
Functiontest_validate_api_auth_returns_a_shared_key_principal
(monkeypatch)
agent/tests/test_principal.py:166
Methodtest_validate_api_key_prefix
(self)
agent/tests/test_cli_init.py:59
Functiontest_validate_generated_rejects_missing_class
()
agent/tests/test_shadow_account.py:250
Functiontest_validate_generated_rejects_syntax_error
()
agent/tests/test_shadow_account.py:257
Functiontest_validate_horizon_accepts_in_range_values
()
agent/tests/test_alpha_bench_horizon.py:194
Functiontest_validate_horizon_rejects_out_of_range_or_non_int
(bad: object)
agent/tests/test_alpha_bench_horizon.py:202
Methodtest_validate_model_registration_passes_when_both_set
(self)
agent/tests/test_strategy_store.py:989
Methodtest_validate_model_registration_rejects_blank_strings
Whitespace-only intended_use/limitations count as empty.
agent/tests/test_strategy_store.py:980
Methodtest_validate_model_registration_requires_intended_use
(self)
agent/tests/test_strategy_store.py:968
Methodtest_validate_model_registration_requires_limitations
(self)
agent/tests/test_strategy_store.py:974
Functiontest_validate_ohlc_drops_invariant_violations
high<low, prices<=0, and high/low not bracketing open/close are dropped.
agent/tests/test_ohlc_validation.py:23
Functiontest_validate_ohlc_passthrough_when_no_ohlc_columns
A frame without OHLC columns (or empty) is returned unchanged.
agent/tests/test_ohlc_validation.py:59
Functiontest_validate_ohlc_raise_strategy
strategy='raise' surfaces the violation instead of silently dropping.
agent/tests/test_ohlc_validation.py:41
Functiontest_validate_ohlc_warn_strategy_keeps_rows
strategy='warn' logs but keeps the offending rows.
agent/tests/test_ohlc_validation.py:48
Functiontest_validate_path_param_accepts_known_good_values
(value: str)
agent/tests/test_security_auth_api.py:748
Functiontest_validate_path_param_empty
()
agent/tests/test_api_infrastructure.py:171
Functiontest_validate_path_param_path_traversal
()
agent/tests/test_api_infrastructure.py:161
Functiontest_validate_path_param_rejects_traversal_inputs
(value: str)
agent/tests/test_security_auth_api.py:769
Functiontest_validate_path_param_special_chars
()
agent/tests/test_api_infrastructure.py:177
Functiontest_validate_path_param_valid
()
agent/tests/test_api_infrastructure.py:157
Functiontest_validate_url_target_allows_public_ip_literal
()
agent/tests/test_url_target_security.py:69
Functiontest_validate_url_target_blocks_cgnat_ip_literal
(ip: str)
agent/tests/test_url_target_security.py:62
Functiontest_validate_url_target_loopback_only_with_opt_in
()
agent/tests/test_url_target_security.py:74
Methodtest_validated_to_approved_allowed
(self)
agent/tests/test_strategy_store.py:1020
Methodtest_validation
(self)
agent/tests/test_cross_market_annualization.py:101
Functiontest_validation_date_is_never_auto_filled
(tools)
agent/tests/test_sdm_governance_wiring.py:181
Functiontest_validation_error_names_the_directory_it_checked
The path matters: a caller whose run_dir was supplied by someone else (e.g. a swarm worker injecting the agent workspace) has no way to tell that
agent/tests/test_backtest_tool_state.py:73
Functiontest_validation_error_records_no_state
(tool_run_dir)
agent/tests/test_backtest_tool_state.py:64
Methodtest_validation_errors
(self)
agent/tests/quantlib/test_microstructure.py:65
Functiontest_validation_is_carried_once_and_not_also_in_metrics
`card["validation"] = metrics["validation"]` - the same object. So it belongs under its own key only, never a second time in the metrics or s
agent/tests/test_run_card_structured_metrics.py:95
Functiontest_validation_job_never_pushes
The job that runs on ordinary commits must build only.
agent/tests/test_docker_workflow_publish_guard.py:58
Functiontest_validation_job_uses_the_same_action_pins_as_the_publish_job
A validation that ran different versions would prove nothing. The point of this job is to exercise the pins the release build uses, so a drif
agent/tests/test_docker_workflow_publish_guard.py:69
Methodtest_validation_json_written_when_artifacts_dir_absent
Enabling validation must not crash when run_dir/artifacts is absent. The validation.json write (step 7) runs before _write_artifacts()
agent/tests/test_engine_robustness.py:626
Functiontest_validation_rejects_nonpositive_or_infinite_observed_equity
(bad)
agent/tests/test_validation.py:505
Functiontest_validation_requires_positive_finite_starting_capital
(initial)
agent/tests/test_validation.py:514
Methodtest_validation_status_enum
(self)
agent/tests/test_strategy_store.py:925
Functiontest_validation_summary_with_counts_and_line_cites_passes_end_to_end
A verdict naming counts and line citations passes with no mask at all. "1 项事实错误", "~line 206" and "16 个交易日" each had a mask written for them.
agent/tests/test_agent_grounding.py:1974
Functiontest_validator_rejects_wildcard_for_aliased_live_broker_url
()
agent/tests/test_readonly_default.py:176
Functiontest_validator_rejects_wildcard_for_live_broker
()
agent/tests/test_readonly_default.py:159
Methodtest_validator_reports_missing_wrong_and_extra
(self)
agent/tests/test_paper_trade_jcs.py:286
Functiontest_valuation_metrics_exact
()
agent/tests/test_financial_rigor_tool.py:126
Functiontest_valuation_skips_zero_and_missing_inputs
()
agent/tests/test_financial_rigor_tool.py:134
Functiontest_value_investing_committee_is_routable
value_investing_committee must be in the routing table, not just on disk.
agent/tests/test_swarm_presets_packaging.py:44
Functiontest_value_position_converts_when_rate_exists
()
agent/tests/test_portfolio_fx.py:60
Functiontest_value_position_without_rate_fails_closed
()
agent/tests/test_portfolio_fx.py:55
Methodtest_value_strings_coerced
(self)
agent/tests/test_gildata_research_tools.py:131
Methodtest_values_stay_in_unit_interval
(self)
agent/tests/test_regime.py:64
Functiontest_var_backtest_breach_dates_are_the_actual_breach_labels
()
agent/tests/quantlib/test_var_backtest.py:311
Functiontest_var_backtest_counts_only_originally_adjacent_observations
( missing_side: str, )
agent/tests/quantlib/test_var_backtest_missing_transitions.py:11
Functiontest_var_backtest_end_to_end_on_a_calibrated_model
()
agent/tests/quantlib/test_var_backtest.py:282
Functiontest_var_backtest_end_to_end_on_an_understated_model
()
agent/tests/quantlib/test_var_backtest.py:299
← previousnext →26,201–26,300 of 26,887, ranked by callers