mirror of
https://github.com/ThearchyHelios/AgentLab.git
synced 2026-11-20 14:51:59 +00:00
草稿页列出这次没起草的指标
一组能共用一条 SQL 的指标起草完,文档里其余的按名称列出来,提示可以再起一份接着做。
This commit is contained in:
@@ -322,6 +322,8 @@ export const LEDGER_UI = {
|
||||
resolved: (n: number) => `已移除 ${formatNumber(n)} 个问题`,
|
||||
dropped: '被丢弃的条目',
|
||||
droppedHint: '带不了能对照数据目录的取数,或引用无法逐字核对上的指标不留下',
|
||||
uncovered: (n: number) => `这次没起草的指标(${n} 条)`,
|
||||
uncoveredHint: '它们和这一组指标不能共用同一条取数 SQL,可以再起一份草稿接着做',
|
||||
alignment: '和已发布口径对齐',
|
||||
alignmentNew: '新的',
|
||||
alignmentDuplicate: '已有出处',
|
||||
|
||||
@@ -584,6 +584,7 @@ export function CaliberDrafts() {
|
||||
const terminal = draft.status === 'attached' || draft.status === 'rejected'
|
||||
const questions = draft.open_questions ?? []
|
||||
const dropped = draft.dropped ?? []
|
||||
const uncovered = draft.uncovered ?? []
|
||||
const metrics = draft.metrics ?? []
|
||||
return (
|
||||
<div className="space-y-3 border-t px-3 py-3" data-draft-detail="">
|
||||
@@ -663,6 +664,14 @@ export function CaliberDrafts() {
|
||||
</div>
|
||||
)}
|
||||
|
||||
{uncovered.length > 0 && (
|
||||
<div data-draft-uncovered="">
|
||||
<h3 className="text-2xs font-semibold text-dim">{D.uncovered(uncovered.length)}</h3>
|
||||
<p className="mb-1 text-2xs leading-relaxed text-faint">{D.uncoveredHint}</p>
|
||||
<p className="text-2xs leading-relaxed text-dim">{uncovered.join('、')}</p>
|
||||
</div>
|
||||
)}
|
||||
|
||||
{draft.alignment && <AlignmentBlock alignment={draft.alignment} />}
|
||||
|
||||
{!drafting && !terminal && draft.workflow_id && (
|
||||
|
||||
@@ -561,6 +561,10 @@ export interface CaliberDraft extends CaliberDraftSummary {
|
||||
entry_fields?: DraftEntryField[]
|
||||
dropped?: DraftDropped[]
|
||||
open_questions?: string[]
|
||||
/** 这次没起草的指标名称:它们和这一组不能共用同一条取数 SQL,可以再起一份 */
|
||||
uncovered?: string[]
|
||||
/** 模型回复被截断,指标是从完整片段里抢救出来的 */
|
||||
salvaged?: boolean
|
||||
alignment?: DraftAlignment
|
||||
/** 起草后自动发起的那次只读试运行;旧草稿可能没有 */
|
||||
trial?: DraftTrial | null
|
||||
|
||||
Reference in New Issue
Block a user