← Về thư mục
tests/test_memory_budget.py
- _memories · function · L17-L32 — def _memories(count, chars)
- test_a_count_alone_does_not_bound_the_prompt · function · L35-L45 — def test_a_count_alone_does_not_bound_the_prompt()
- test_the_three_budgets_each_do_something · function · L48-L68 — def test_the_three_budgets_each_do_something(): # count
- test_an_over_long_memory_is_skipped_rather_than_clipped · function · L71-L79 — def test_an_over_long_memory_is_skipped_rather_than_clipped()
- test_order_is_preserved_so_the_oldest_is_what_gets_dropped · function · L82-L89 — def test_order_is_preserved_so_the_oldest_is_what_gets_dropped()
- test_the_model_is_told_when_something_was_withheld · function · L92-L106 — def test_the_model_is_told_when_something_was_withheld()
- test_nothing_remembered_renders_nothing · function · L109-L110 — def test_nothing_remembered_renders_nothing()
- test_blank_memories_are_ignored_without_being_reported_as_dropped · function · L113-L118 — def test_blank_memories_are_ignored_without_being_reported_as_dropped()
- test_the_system_prompt_is_not_counted_as_conversation · function · L126-L143 — def test_the_system_prompt_is_not_counted_as_conversation()
- test_splitting_the_system_prompt_out_does_not_change_the_total · function · L146-L169 — def test_splitting_the_system_prompt_out_does_not_change_the_total()
- test_the_projection_reports_what_the_budgets_left_out · function · L172-L196 — def test_the_projection_reports_what_the_budgets_left_out()
- _State · class · L177-L184 — class _State
- test_the_projection_does_not_re_render_withheld_memory_text · function · L199-L211 — def test_the_projection_does_not_re_render_withheld_memory_text()
- _State · class · L205-L208 — class _State
- test_a_session_with_nothing_dropped_reports_nothing · function · L214-L221 — def test_a_session_with_nothing_dropped_reports_nothing()
- _Empty · class · L217-L218 — class _Empty
- _runner · function · L229-L245 — def _runner(tmp_path)
- _Hub · class · L233-L238 — class _Hub
- emitter · method · L234-L235 — def emitter(self, root_frame_id)
- broadcast · method · L237-L238 — def broadcast(self, root_frame_id, event)
- test_a_pasted_protocol_no_longer_fills_the_window · function · L248-L289 — def test_a_pasted_protocol_no_longer_fills_the_window(tmp_path)
- test_the_agent_is_told_its_remembered_context_is_incomplete · function · L292-L308 — def test_the_agent_is_told_its_remembered_context_is_incomplete(tmp_path)
- test_the_feature_off_means_not_one_character · function · L311-L329 — def test_the_feature_off_means_not_one_character(tmp_path)