Validate labels: the user agrees with all the labels of a finished analysis, each gets review (the date)

A change of the labels afterwards (an edit in the page, the analyst after a message) removes it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
maximeandClaude Opus 5.5 committed 2026-11-17 10:12:14 +01:00
1 parent a733575d65
commit b31371a241
4 files changed
+72 -4

No files matched your search

+5
View File
@@ -147,6 +147,11 @@ def analysis_report(name: str, dark: bool = False):
return HTMLResponse(analysis.report(name, dark))
@app.post("/api/analyses/{name}/validate")
def validate_analysis(name: str):
return analysis.validate(name)
@app.post("/api/analyses/{name}/optimize")
def optimize_analysis(name: str):
return analysis.optimize(name)