ЮИ - Упростить карточки автопрогонов до названия даты id режима и типа
This commit is contained in:
+8
-8
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+2
-2
@@ -4,8 +4,8 @@
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>NDC AI Normalizer Playground</title>
|
||||
<script type="module" crossorigin src="/assets/index-BIzNO_Mb.js"></script>
|
||||
<link rel="stylesheet" crossorigin href="/assets/index-DkWsdP2H.css">
|
||||
<script type="module" crossorigin src="/assets/index-C8U6PD78.js"></script>
|
||||
<link rel="stylesheet" crossorigin href="/assets/index-CfrZGsZo.css">
|
||||
</head>
|
||||
<body>
|
||||
<div id="root"></div>
|
||||
|
||||
@@ -1534,6 +1534,7 @@ export function AutoRunsHistoryPanel({
|
||||
selectedAutogenGeneration,
|
||||
stopAsyncJobPolling
|
||||
]);
|
||||
|
||||
const openCommentModal = useCallback((message: AutoRunDialogMessage) => {
|
||||
if (message.role !== "assistant") return;
|
||||
const resolvedCaseId = message.case_id ?? selectedCaseId;
|
||||
@@ -2507,23 +2508,11 @@ export function AutoRunsHistoryPanel({
|
||||
</span>
|
||||
</div>
|
||||
<div className="autoruns-run-meta">
|
||||
режим={formatAutoGenModeLabel(item.mode)} | count={item.count}
|
||||
режим={formatAutoGenModeLabel(item.mode)}
|
||||
</div>
|
||||
<div className="autoruns-run-meta">
|
||||
тип={isAgentSemanticGeneration(item) ? "АГЕНТНЫЙ ПРОГОН" : "АВТОПРОГОН"}
|
||||
</div>
|
||||
{isAgentSemanticGeneration(item) ? (
|
||||
<div className="autoruns-run-meta">
|
||||
тип=АГЕНТНЫЙ ПРОГОН
|
||||
{item.context?.architecture_phase ? ` | этап=${item.context.architecture_phase}` : ""}
|
||||
{item.context?.agent_focus ? ` | фокус=${item.context.agent_focus}` : ""}
|
||||
</div>
|
||||
) : null}
|
||||
{item.domain || item.generated_by ? (
|
||||
<div className="autoruns-run-meta">
|
||||
{item.domain ? `домен=${item.domain}` : "домен=общий"}
|
||||
{item.generated_by ? ` | автор=${item.generated_by}` : ""}
|
||||
</div>
|
||||
) : null}
|
||||
{item.saved_case_set_file ? <div className="autoruns-run-meta">кейс-сет={item.saved_case_set_file}</div> : null}
|
||||
{(item.questions ?? []).length > 0 ? <p>{item.questions[0]}</p> : null}
|
||||
</article>
|
||||
))}
|
||||
</div>
|
||||
|
||||
@@ -338,6 +338,34 @@ export interface AutoGenHistoryRecord {
|
||||
agent_focus?: string | null;
|
||||
architecture_phase?: string | null;
|
||||
source_spec_file?: string | null;
|
||||
scenario_id?: string | null;
|
||||
semantic_tags?: string[] | null;
|
||||
latest_acceptance?: {
|
||||
scenario_id: string;
|
||||
output_dir: string;
|
||||
relative_output_dir: string;
|
||||
final_status: string | null;
|
||||
final_status_reason: string | null;
|
||||
review_overall_status: string | null;
|
||||
acceptance_gate_passed: boolean | null;
|
||||
critical_path_green: boolean | null;
|
||||
unresolved_p0_count: number | null;
|
||||
unresolved_p1_count: number | null;
|
||||
unresolved_p2_count: number | null;
|
||||
steps_total: number | null;
|
||||
steps_passed: number | null;
|
||||
steps_with_warning: number | null;
|
||||
steps_failed: number | null;
|
||||
updated_at: string | null;
|
||||
invariants: {
|
||||
direct_answer_ok: boolean | null;
|
||||
temporal_honesty_ok: boolean | null;
|
||||
selected_object_continuity_ok: boolean | null;
|
||||
truth_gate_ok: boolean | null;
|
||||
human_answer_quality_ok: boolean | null;
|
||||
meta_context_integrity_ok: boolean | null;
|
||||
};
|
||||
} | null;
|
||||
} | null;
|
||||
}
|
||||
|
||||
|
||||
@@ -13,6 +13,8 @@
|
||||
--rgb-active-text: 18, 18, 18;
|
||||
--rgb-text-main: 240, 240, 240;
|
||||
--rgb-text-muted: 166, 166, 170;
|
||||
--rgb-emerald: 126, 211, 154;
|
||||
--rgb-warning: 255, 196, 116;
|
||||
--rgb-danger: 255, 126, 126;
|
||||
--rgb-scrollbar-track: 31, 31, 36;
|
||||
--rgb-scrollbar-thumb: 74, 74, 82;
|
||||
@@ -1802,6 +1804,55 @@ button:disabled {
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.autoruns-agent-acceptance {
|
||||
display: grid;
|
||||
gap: 6px;
|
||||
margin-top: 6px;
|
||||
}
|
||||
|
||||
.autoruns-agent-pill-row {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 6px;
|
||||
}
|
||||
|
||||
.autoruns-agent-pill {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
min-height: 24px;
|
||||
padding: 0 8px;
|
||||
border-radius: 999px;
|
||||
background: rgb(var(--rgb-surface-focus));
|
||||
color: rgb(var(--rgb-text-main));
|
||||
font-size: 0.73rem;
|
||||
line-height: 1;
|
||||
border: 1px solid rgba(var(--rgb-text-main), 0.1);
|
||||
}
|
||||
|
||||
.autoruns-agent-pill.neutral {
|
||||
color: var(--text-muted);
|
||||
}
|
||||
|
||||
.autoruns-agent-pill.status-accepted {
|
||||
color: rgb(var(--rgb-emerald));
|
||||
border-color: rgba(var(--rgb-emerald), 0.32);
|
||||
}
|
||||
|
||||
.autoruns-agent-pill.status-partial {
|
||||
color: rgb(var(--rgb-warning));
|
||||
border-color: rgba(var(--rgb-warning), 0.32);
|
||||
}
|
||||
|
||||
.autoruns-agent-pill.status-blocked {
|
||||
color: rgb(var(--rgb-danger));
|
||||
border-color: rgba(var(--rgb-danger), 0.32);
|
||||
}
|
||||
|
||||
.autoruns-agent-pill.status-unknown {
|
||||
color: var(--text-muted);
|
||||
}
|
||||
|
||||
@media (max-width: 1200px) {
|
||||
:root {
|
||||
--mode-column-width: 400px;
|
||||
|
||||
Reference in New Issue
Block a user