@@ -825,13 +825,13 @@ def test_truth_snapshot_operating_path_catalog_field_matches_legacy_disposition(
825825def test_attention_state_classifier_separates_activity_from_operator_attention () -> (
826826 None
827827):
828- from src .portfolio_truth_reconcile import _attention_state_for
828+ from src .portfolio_truth_decisions import derive_attention_state
829829 from src .portfolio_truth_types import VALID_LIFECYCLE_STATES
830830
831831 assert "manual-only" in VALID_LIFECYCLE_STATES
832832
833833 assert (
834- _attention_state_for (
834+ derive_attention_state (
835835 activity_status = "active" ,
836836 archived = False ,
837837 lifecycle_state = "active" ,
@@ -843,7 +843,7 @@ def test_attention_state_classifier_separates_activity_from_operator_attention()
843843 == "active-product"
844844 )
845845 assert (
846- _attention_state_for (
846+ derive_attention_state (
847847 activity_status = "active" ,
848848 archived = False ,
849849 lifecycle_state = "active" ,
@@ -855,7 +855,7 @@ def test_attention_state_classifier_separates_activity_from_operator_attention()
855855 == "active-infra"
856856 )
857857 assert (
858- _attention_state_for (
858+ derive_attention_state (
859859 activity_status = "active" ,
860860 archived = False ,
861861 lifecycle_state = "active" ,
@@ -867,7 +867,7 @@ def test_attention_state_classifier_separates_activity_from_operator_attention()
867867 == "decision-needed"
868868 )
869869 assert (
870- _attention_state_for (
870+ derive_attention_state (
871871 activity_status = "stale" ,
872872 archived = False ,
873873 lifecycle_state = "active" ,
@@ -879,7 +879,7 @@ def test_attention_state_classifier_separates_activity_from_operator_attention()
879879 == "decision-needed"
880880 )
881881 assert (
882- _attention_state_for (
882+ derive_attention_state (
883883 activity_status = "recent" ,
884884 archived = False ,
885885 lifecycle_state = "active" ,
@@ -891,7 +891,7 @@ def test_attention_state_classifier_separates_activity_from_operator_attention()
891891 == "decision-needed"
892892 )
893893 assert (
894- _attention_state_for (
894+ derive_attention_state (
895895 activity_status = "active" ,
896896 archived = False ,
897897 lifecycle_state = "active" ,
@@ -903,7 +903,7 @@ def test_attention_state_classifier_separates_activity_from_operator_attention()
903903 == "manual-only"
904904 )
905905 assert (
906- _attention_state_for (
906+ derive_attention_state (
907907 activity_status = "active" ,
908908 archived = False ,
909909 lifecycle_state = "dormant" ,
@@ -915,7 +915,7 @@ def test_attention_state_classifier_separates_activity_from_operator_attention()
915915 == "parked"
916916 )
917917 assert (
918- _attention_state_for (
918+ derive_attention_state (
919919 activity_status = "stale" ,
920920 archived = False ,
921921 lifecycle_state = "dormant" ,
@@ -927,7 +927,7 @@ def test_attention_state_classifier_separates_activity_from_operator_attention()
927927 == "decision-needed"
928928 )
929929 assert (
930- _attention_state_for (
930+ derive_attention_state (
931931 activity_status = "active" ,
932932 archived = False ,
933933 lifecycle_state = "active" ,
@@ -939,7 +939,7 @@ def test_attention_state_classifier_separates_activity_from_operator_attention()
939939 == "manual-only"
940940 )
941941 assert (
942- _attention_state_for (
942+ derive_attention_state (
943943 activity_status = "active" ,
944944 archived = False ,
945945 lifecycle_state = "manual-only" ,
@@ -951,7 +951,7 @@ def test_attention_state_classifier_separates_activity_from_operator_attention()
951951 == "manual-only"
952952 )
953953 assert (
954- _attention_state_for (
954+ derive_attention_state (
955955 activity_status = "active" ,
956956 archived = False ,
957957 lifecycle_state = "active" ,
@@ -963,7 +963,7 @@ def test_attention_state_classifier_separates_activity_from_operator_attention()
963963 == "manual-only"
964964 )
965965 assert (
966- _attention_state_for (
966+ derive_attention_state (
967967 activity_status = "active" ,
968968 archived = False ,
969969 lifecycle_state = "active" ,
@@ -975,7 +975,7 @@ def test_attention_state_classifier_separates_activity_from_operator_attention()
975975 == "experiment"
976976 )
977977 assert (
978- _attention_state_for (
978+ derive_attention_state (
979979 activity_status = "active" ,
980980 archived = True ,
981981 lifecycle_state = "archived" ,
@@ -987,7 +987,7 @@ def test_attention_state_classifier_separates_activity_from_operator_attention()
987987 == "archived"
988988 )
989989 assert (
990- _attention_state_for (
990+ derive_attention_state (
991991 activity_status = "stale" ,
992992 archived = False ,
993993 lifecycle_state = "active" ,
@@ -999,7 +999,7 @@ def test_attention_state_classifier_separates_activity_from_operator_attention()
999999 == "decision-needed"
10001000 )
10011001 assert (
1002- _attention_state_for (
1002+ derive_attention_state (
10031003 activity_status = "stale" ,
10041004 archived = False ,
10051005 lifecycle_state = "active" ,
@@ -1026,7 +1026,7 @@ def test_attention_state_uses_resolved_catalog_operating_path(
10261026 expected_attention : str ,
10271027) -> None :
10281028 from src .portfolio_pathing import build_operating_path_entry
1029- from src .portfolio_truth_reconcile import _attention_state_for
1029+ from src .portfolio_truth_decisions import derive_attention_state
10301030
10311031 catalog_entry = build_operating_path_entry (
10321032 {
@@ -1039,7 +1039,7 @@ def test_attention_state_uses_resolved_catalog_operating_path(
10391039
10401040 assert catalog_entry ["operating_path" ] == operating_path
10411041 assert (
1042- _attention_state_for (
1042+ derive_attention_state (
10431043 activity_status = "active" ,
10441044 archived = False ,
10451045 lifecycle_state = "active" ,
0 commit comments