MCPcopy Create free account

hub / github.com/TauricResearch/TradingAgents / functions

Functions1,834 in github.com/TauricResearch/TradingAgents

Functiontest_the_live_memory_log_is_never_written
(tmp_path)
tests/test_backtest.py:81
Functiontest_the_markdown_report_is_the_same_with_or_without_html
(tmp_path)
tests/test_report_html.py:45
Functiontest_the_memory_log_records_review_rather_than_a_tradeable_hold
(tmp_path)
tests/test_rating_integrity.py:73
Functiontest_the_memory_step_reads_lessons_as_of_the_trade_date_and_settles_once
A past-dated run reads only lessons known by its date (#1251); a resumed run that re-runs the step settles nothing twice.
tests/test_graph_end_to_end.py:369
Functiontest_the_model_follows_the_sdk_environment
(post, monkeypatch)
tests/test_post_screen.py:71
Methodtest_the_most_recent_decisions_are_the_latest_dated_not_the_latest_written
A backfill writes January after June; June is still the most recent lesson.
tests/test_memory_log.py:303
Functiontest_the_news_window_includes_the_analysis_day
time_to was midnight at the start of the end date, so everything published during the analysis day, the most decision-relevant day, was exclud
tests/test_alpha_vantage_hardening.py:193
Functiontest_the_notice_names_the_upgrade_command
()
tests/test_cli_updates.py:92
Functiontest_the_other_shapes_are_unchanged
(value, expected)
tests/test_cli_display.py:40
Methodtest_the_outcome_waits_for_the_benchmark_to_trade_through_the_window
(self, monkeypatch)
tests/test_memory_log.py:1140
Functiontest_the_output_token_cap_reaches_the_deployment
()
tests/test_azure_client.py:19
Functiontest_the_packaged_logo_stays_inert
(tmp_path)
tests/test_report_html.py:166
Functiontest_the_page_credits_its_maker_in_a_line_of_text
(tmp_path)
tests/test_report_html.py:154
Functiontest_the_page_heading_is_the_ticker_and_its_rating
(tmp_path)
tests/test_report_html.py:135
Functiontest_the_page_loads_nothing_and_runs_nothing
(tmp_path)
tests/test_report_html.py:55
Functiontest_the_plan_is_reached_with_the_sign_in_never_an_api_key
(signed_in, monkeypatch)
tests/test_chatgpt_provider.py:38
Functiontest_the_plan_s_listed_models_are_offered_in_openai_s_order
(signed_in, monkeypatch)
tests/test_chatgpt_provider.py:160
Functiontest_the_price_cache_is_replaced_whole
(monkeypatch, tmp_path)
tests/test_cache_writes.py:43
Functiontest_the_price_path_also_tells_an_outage_from_an_unknown_symbol
Prices are the most-used path, so an outage there must not read as a delisted symbol either.
tests/test_undated_tools_as_of.py:190
Methodtest_the_price_table_shows_a_sub_cent_close
(self, monkeypatch)
tests/test_yahoo_snapshot.py:103
Functiontest_the_quarter_is_not_confused_with_the_year_to_date
One filing carries both spans under the same end date (#MSFT-shaped).
tests/test_sec_edgar.py:92
Functiontest_the_reflection_states_the_window_it_judges
Judging a months-long thesis on a week's alpha, without saying so, turns a scope mismatch into a lesson that the call was wrong.
tests/test_memory_log.py:1037
Functiontest_the_report_header_names_the_rating
(tmp_path, decision, rating)
tests/test_reporting.py:157
Functiontest_the_report_names_the_analysis_date_and_what_produced_it
(tmp_path)
tests/test_reporting.py:105
Functiontest_the_report_names_the_window_the_scores_cover
(tmp_path)
tests/test_backtest.py:293
Functiontest_the_report_states_the_vintage_rule
()
tests/test_sec_edgar.py:108
Methodtest_the_request_is_not_even_made
(self)
tests/test_fundamentals_lookahead.py:82
Functiontest_the_run_directory_cannot_escape_the_results_directory
Every other path that interpolates a ticker validates it first; the CLI's own results tree did not, so a ticker of '..' wrote a level up.
tests/test_cli_symbol_handling.py:70
Functiontest_the_run_settings_and_report_name_each_tier_s_provider
()
tests/test_tier_providers.py:67
Functiontest_the_run_settles_other_tickers_due_decisions_too
A ticker a scheduler stopped analysing still gets its decisions settled (#1445).
tests/test_graph_end_to_end.py:353
Functiontest_the_scale_quoted_in_a_prompt_does_not_become_the_rating
A free-text answer that echoes the rating scale was read as the first tier listed in it.
tests/test_rating_integrity.py:62
Functiontest_the_section_rail_opens_on_hover_and_keyboard_focus
(tmp_path)
tests/test_report_html.py:115
Functiontest_the_sections_stay_within_reach
(tmp_path)
tests/test_report_html.py:126
Functiontest_the_sentiment_analyst_hands_the_screen_to_both_social_fetchers
(monkeypatch)
tests/test_post_screen.py:262
Functiontest_the_sentiment_prompt_names_the_subreddits_searched
(monkeypatch)
tests/test_structured_agent_prompts.py:152
Functiontest_the_signal_and_the_log_agree_on_the_same_decision
(tmp_path)
tests/test_rating_integrity.py:84
Functiontest_the_snapshot_does_not_present_a_filled_price_as_reported
Gap filling exists so indicators compute on a continuous series. The verification snapshot is the one place a number must be what the vendor r
tests/test_ohlcv_latest_bar.py:182
Methodtest_the_snapshot_shows_a_sub_cent_close
(self, monkeypatch)
tests/test_yahoo_snapshot.py:95
Functiontest_the_state_log_keeps_non_ascii_readable
Reports can be in any language; the log is read by a person.
tests/test_cli_display.py:72
Functiontest_the_state_log_names_each_field_as_the_state_does
One name per field: the Trader's plan under its state key, and no second copy of the managers' decisions under the debate states.
tests/test_cli_display.py:83
Functiontest_the_suite_keeps_its_files_out_of_the_users_home
A test that reads the user's cache sees what their runs fetched, and passes or fails with it; one that writes there changes their data.
tests/test_suite_isolation.py:51
Functiontest_the_tier_settings_are_read_from_the_environment
(monkeypatch)
tests/test_tier_providers.py:82
Functiontest_the_trader_names_the_levels_it_did_not_give
()
tests/test_structured_agents.py:541
Functiontest_the_upgrade_command_follows_the_install
(tmp_path, monkeypatch)
tests/test_cli_updates.py:246
Functiontest_the_upgrade_command_is_worked_out_only_for_a_newer_release
()
tests/test_cli_updates.py:336
Functiontest_the_window_reported_is_the_one_the_outcomes_used
The log records the window each outcome was measured over; the summary must not claim a different one.
tests/test_backtest.py:301
Functiontest_ticker_input_validation
(value, ok)
tests/test_cli_symbol_handling.py:45
Functiontest_ticker_news_asks_for_only_as_many_articles_as_configured
The endpoint returns 50 articles with per-article sentiment arrays by default, and the whole payload went into the prompt.
tests/test_alpha_vantage_hardening.py:222
Functiontest_ticker_news_covered_but_empty_window_is_a_real_absence
(monkeypatch)
tests/test_news_lookahead.py:148
Functiontest_ticker_news_empty_feed_for_a_past_window_is_unavailable
(monkeypatch)
tests/test_news_lookahead.py:179
Functiontest_ticker_news_null_feed_is_handled
(monkeypatch)
tests/test_news_lookahead.py:188
Functiontest_ticker_news_window_before_feed_coverage_is_unavailable
(monkeypatch)
tests/test_news_lookahead.py:135
Methodtest_tool_delegates_to_builder
(self, monkeypatch)
tests/test_yahoo_snapshot.py:69
Functiontest_tool_using_analysts_keep_their_date_guidance
()
tests/test_structured_agent_prompts.py:134
Functiontest_tools_inside_a_langgraph_run_see_the_run_config
The fix rests on LangGraph carrying the caller's context into tool calls.
tests/test_dataflows_config.py:162
Functiontest_trade_date_is_hidden_from_the_model
(tool)
tests/test_tool_date_enforcement.py:70
Functiontest_trade_date_is_injected_not_model_visible
(tool)
tests/test_undated_tools_as_of.py:61
Methodtest_trader_nullish_strings_coerce_to_none
(self)
tests/test_structured_agents.py:79
Functiontest_trader_prompt_states_constraint
()
tests/test_structured_agent_prompts.py:47
Methodtest_trader_real_numeric_string_still_parses
(self)
tests/test_structured_agents.py:90
Methodtest_transport_errors_return_placeholder
(self, exc)
tests/test_stocktwits_resilience.py:43
Methodtest_traversal_string_does_not_escape_join
Sanity: sanitized values stay within base when joined.
tests/test_safe_ticker_component.py:48
Methodtest_two_runs_settling_at_once_reflect_once
(self, tmp_path, monkeypatch)
tests/test_memory_log.py:1311
Functiontest_tz_aware_latest_bar_is_kept_at_the_cutoff
(monkeypatch, tmp_path)
tests/test_ohlcv_latest_bar.py:168
Methodtest_unconfigured_fallback_does_not_mask_no_data
(self)
tests/test_no_data_handling.py:73
Methodtest_unknown_alias_is_treated_as_raw_series_id
(self)
tests/test_fred.py:80
Methodtest_unknown_anthropic_model_does_not_receive_effort
Default is conservative — unknown models don't get effort to avoid 400s.
tests/test_anthropic_effort.py:80
Methodtest_unknown_configured_vendor_raises
(self)
tests/test_vendor_routing.py:87
Functiontest_unknown_env_var_is_ignored
Env vars outside _ENV_OVERRIDES must not bleed into DEFAULT_CONFIG.
tests/test_env_overrides.py:133
Methodtest_unknown_model_default
(self)
tests/test_capabilities.py:124
Methodtest_unknown_model_emits_warning_for_strict_provider
(self)
tests/test_model_validation.py:35
Functiontest_unknown_provider_returns_none
()
tests/test_api_key_env.py:57
Methodtest_unknown_provider_returns_none
(self)
tests/test_cli_env_skip.py:25
Methodtest_unknown_series_returns_not_found_message
(self)
tests/test_fred.py:138
Functiontest_unparseable_body_is_never_served_untrimmed
The trim used to swallow the failure and return the whole body, putting bars after end_date into a backtest. It must raise instead.
tests/test_alpha_vantage_hardening.py:146
Functiontest_unreachable_keys_stop_a_renewal_before_the_refresh_token_is_spent
(home, openai)
tests/test_chatgpt_auth.py:321
Functiontest_unrelated_errors_still_propagate
(monkeypatch)
tests/test_cli_no_console.py:48
Methodtest_unset_is_native
(self)
tests/test_openai_responses_base_url.py:16
Functiontest_unsettled_latest_bar_is_served_as_the_last_settled_bar
(monkeypatch, tmp_path)
tests/test_ohlcv_latest_bar.py:114
Methodtest_unsupported_models_do_not_receive_effort
(self, monkeypatch, model)
tests/test_anthropic_effort.py:35
Methodtest_update_appends_reflection
(self, tmp_path)
tests/test_memory_log.py:446
Methodtest_update_atomic_write
A pre-existing .tmp file is overwritten; the log is correctly updated.
tests/test_memory_log.py:472
Methodtest_update_noop_when_no_log_path
(self)
tests/test_memory_log.py:485
Methodtest_update_preserves_other_entries
Only the matching entry is modified; all other entries remain unchanged.
tests/test_memory_log.py:457
Methodtest_update_replaces_pending_tag
(self, tmp_path)
tests/test_memory_log.py:436
Functiontest_upper_bound_is_exclusive
()
tests/test_news_lookahead.py:53
Methodtest_uses_previous_trading_day_when_date_is_weekend
(self, monkeypatch)
tests/test_yahoo_snapshot.py:42
Methodtest_v4_flash_returns_structured_output
(self)
tests/test_deepseek_reasoning.py:209
Methodtest_v4_flash_suppresses_tool_choice
(self)
tests/test_deepseek_reasoning.py:155
Methodtest_v4_pro_suppresses_tool_choice
(self)
tests/test_deepseek_reasoning.py:160
Functiontest_values_do_not_break_the_columns
Figures run to the billions; a thousands separator would split the field.
tests/test_sec_edgar.py:159
Functiontest_vendor_libraries_are_imported_only_by_the_data_layer
()
tests/test_layering.py:27
Methodtest_vendor_named_errors_subclass_the_generic_bases
(self)
tests/test_vendor_errors.py:38
Methodtest_weekly_change_omitted_when_absent
(self)
tests/test_polymarket.py:94
Functiontest_whats_new_never_waits_for_the_person
(tmp_path, monkeypatch)
tests/test_cli_updates.py:273
Methodtest_whole_word_only
(self)
tests/test_signal_processing.py:70
Functiontest_window_excludes_future_and_undated_in_backtest
()
tests/test_news_lookahead.py:35
Methodtest_window_is_lookahead_safe
(self)
tests/test_fred.py:162
Functiontest_window_keeps_undated_in_live_window
()
tests/test_news_lookahead.py:46
Functiontest_without_a_browser_window_the_page_is_not_offered_for_opening
(monkeypatch, tmp_path)
tests/test_cli_headless.py:273
← previousnext →1,701–1,800 of 1,834, ranked by callers