Enhance Progression Path Suggestion with Stage Specification Refinement
Deploy Development / deploy (push) Successful in 45s
Test Suite / pytest-backend (push) Successful in 43s
Test Suite / lint-backend (push) Successful in 0s
Test Suite / build-frontend (push) Successful in 13s
Test Suite / k6 /health Baseline (push) Successful in 33s
Test Suite / playwright-tests (push) Successful in 1m16s
Deploy Development / deploy (push) Successful in 45s
Test Suite / pytest-backend (push) Successful in 43s
Test Suite / lint-backend (push) Successful in 0s
Test Suite / build-frontend (push) Successful in 13s
Test Suite / k6 /health Baseline (push) Successful in 33s
Test Suite / playwright-tests (push) Successful in 1m16s
- Introduced `auto_refine_stage_spec` to `ProgressionPathSuggestRequest`, enabling optional refinement of stage specifications during the rematch process. - Updated `_run_roadmap_rematch_loop` to incorporate stage specification refinements, logging changes for better tracking of adjustments made during rematching. - Enhanced `suggest_progression_path` to include refine logs in the output, providing clearer insights into the refinement process. - Added utility functions for formatting refine log entries, improving the display of refinement actions in the frontend components. - Updated frontend components to display refine logs, enhancing user feedback on stage specification adjustments during progression analysis. - Bumped version to 0.8.227 to reflect the new features and improvements.
This commit is contained in:
1 parent
de9fdf3ac0
commit
f36a747efa
7 files changed
+417
-4
No files matched your search
@@ -102,6 +102,16 @@ export function formatRematchLogEntry(entry) {
|
||||
return `${slot}${round}: ${entry.reason || entry.action || 'Rematch'}`
|
||||
}
|
||||
|
||||
export function formatRefineLogEntry(entry) {
|
||||
if (!entry || typeof entry !== 'object') return ''
|
||||
const slot = Number.isFinite(Number(entry.roadmap_major_step_index))
|
||||
? `Slot ${Number(entry.roadmap_major_step_index) + 1}`
|
||||
: 'Slot'
|
||||
const round = entry.round != null ? ` (Runde ${entry.round})` : ''
|
||||
const changes = Array.isArray(entry.changes) ? entry.changes.join('; ') : entry.reason
|
||||
return `${slot}${round}: Stufen-Spec geschärft — ${changes || 'refine_stage_spec'}`
|
||||
}
|
||||
|
||||
export function hasRematchSlotHints(pathQa) {
|
||||
return (pathQa?.optimization_hints || []).some((h) => h?.action === 'rematch_slot')
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user