← Về thư mục
tests/test_protein_mutation_enhancement_skill.py
- pm · function · L12-L14 — def pm()
- test_enumerate_single_and_double_mutants_is_deterministic · function · L17-L27 — def test_enumerate_single_and_double_mutants_is_deterministic(pm)
- test_seeded_library_expands_without_repeating_positions · function · L30-L39 — def test_seeded_library_expands_without_repeating_positions(pm)
- test_apply_mutations_rejects_wild_type_mismatch · function · L42-L44 — def test_apply_mutations_rejects_wild_type_mismatch(pm)
- test_rank_mutants_merges_scores_and_applies_thresholds · function · L47-L88 — def test_rank_mutants_merges_scores_and_applies_thresholds(pm)
- test_selection_round_continues_when_thresholds_fail · function · L91-L112 — def test_selection_round_continues_when_thresholds_fail(pm)
- test_suggest_next_positions_uses_rank_order · function · L115-L122 — def test_suggest_next_positions_uses_rank_order(pm)
- test_selection_round_seeds_feed_back_into_enumerate · function · L125-L145 — def test_selection_round_seeds_feed_back_into_enumerate(pm): # Regression: the documented Loop Pattern feeds next_round_seeds straight # back into enumerate_mutants. This previously raised TypeError because the # seeds were ranked dicts without a top-level position.
- test_rank_mutants_rejects_explicit_empty_weights · function · L148-L159 — def test_rank_mutants_rejects_explicit_empty_weights(pm)
- test_out_of_range_tuple_mutation_raises_clear_error · function · L162-L164 — def test_out_of_range_tuple_mutation_raises_clear_error(pm)
- test_variant_dict_without_position_raises_clear_error · function · L167-L170 — def test_variant_dict_without_position_raises_clear_error(pm)