Enhance Rematch Suggestion Logic and Progression Path Evaluation
Deploy Development / deploy (push) Successful in 41s
Test Suite / pytest-backend (push) Successful in 45s
Test Suite / lint-backend (push) Successful in 0s
Test Suite / build-frontend (push) Successful in 14s
Test Suite / k6 /health Baseline (push) Successful in 33s
Test Suite / playwright-tests (push) Successful in 1m14s
Deploy Development / deploy (push) Successful in 41s
Test Suite / pytest-backend (push) Successful in 45s
Test Suite / lint-backend (push) Successful in 0s
Test Suite / build-frontend (push) Successful in 14s
Test Suite / k6 /health Baseline (push) Successful in 33s
Test Suite / playwright-tests (push) Successful in 1m14s
- Introduced `_baseline_slot_accepts_rematch_suggestion` to filter out filled or invalid slots from rematch suggestions, improving the accuracy of rematch logic. - Updated `_build_rematch_suggestion_diffs` to skip non-eligible baseline slots, streamlining the rematch suggestion process. - Added `_evaluate_steps_for_compare_qa` to evaluate steps against the current state, enhancing the quality assessment during progression path suggestions. - Modified `_build_progression_compare_response` to ensure proper handling of slot differences and quality scores, improving response clarity. - Updated frontend components to reflect changes in rematch handling and evaluation logic. - Bumped version to reflect the new features and improvements.
This commit is contained in:
1 parent
dccb065181
commit
69ce3f6975
4 files changed
+105
-75
No files matched your search
@@ -491,7 +491,7 @@ export default function ProgressionGraphEditor({ graphId, embedded = false, onSa
|
||||
const res = await api.suggestProgressionPath({
|
||||
...buildMatchRequestBase(synced),
|
||||
evaluate_steps: slotsToEvaluateSteps(synced),
|
||||
preserve_slot_assignments: false,
|
||||
preserve_slot_assignments: true,
|
||||
compare_with_assignments: true,
|
||||
})
|
||||
if (!res?.comparison_mode) {
|
||||
@@ -1217,8 +1217,6 @@ export default function ProgressionGraphEditor({ graphId, embedded = false, onSa
|
||||
onGenerateGapAi={openGapFillPrep}
|
||||
onRematchSlots={runMatch}
|
||||
onOptimizeCompare={runOptimizeCompare}
|
||||
optimizationPreviewQa={compareOpen ? proposedPathQa : null}
|
||||
optimizationPreviewFairQa={compareOpen ? comparePayload?.proposed_path_qa : null}
|
||||
canOptimizeCompare={draftHasLibrarySlotAssignments(draft)}
|
||||
optimizeCompareBusy={comparing}
|
||||
rematchBusy={matching}
|
||||
|
||||
@@ -82,8 +82,9 @@ export default function ProgressionOptimizeCompareModal({
|
||||
Optimierung vergleichen
|
||||
</h3>
|
||||
<p style={{ fontSize: '12px', color: 'var(--text3)', marginTop: 0, lineHeight: 1.45 }}>
|
||||
Vergleicht deinen Pfad mit dem End-Stand nach Match — beide Seiten mit derselben Bewertungslogik
|
||||
wie „Graph bewerten“. Auto-Rematch-Details stehen im Panel, nicht in der Prozentzahl.
|
||||
Vergleicht deinen Pfad mit dem Match-Vorschlag — beide Seiten mit derselben Bewertungslogik
|
||||
wie „Graph bewerten“. Prozentwerte beziehen sich auf den übernehmbaren End-Stand, nicht auf
|
||||
das Auto-Rematch-Protokoll.
|
||||
</p>
|
||||
|
||||
{noMeaningfulDiffs || proposedNotBetter ? (
|
||||
@@ -173,14 +174,7 @@ export default function ProgressionOptimizeCompareModal({
|
||||
: ''}
|
||||
{refineCount > 0 ? ` · ${refineCount} Stufen-Spec verfeinert` : ''}
|
||||
{hintCount > 0 ? ` · ${hintCount} Handlungshinweis(e)` : ''}
|
||||
. Details im Panel „Graph-Bewertung“.
|
||||
</p>
|
||||
) : null}
|
||||
|
||||
{comparison?.slot_diffs_source === 'rematch_log' ? (
|
||||
<p style={{ fontSize: '11px', color: 'var(--text3)', margin: '0 0 14px', lineHeight: 1.45 }}>
|
||||
Vorschläge stammen aus dem Auto-Rematch-Protokoll (letzte Runde je Slot), weil der sichtbare
|
||||
End-Pfad deinem aktuellen Stand entspricht.
|
||||
. Nur Prozessinfo — nicht für die Prozentzahl links/rechts.
|
||||
</p>
|
||||
) : null}
|
||||
|
||||
|
||||
Reference in new issue
Block a user