修复发布校准验证问题

This commit is contained in:
Codex
2026-06-24 11:19:01 +08:00
parent ed176b9fac
commit aa19696edb
2 changed files with 9 additions and 2 deletions
+4 -2
View File
@@ -11,9 +11,11 @@ interface ManualAdapterFetchInput extends AdapterFetchInput {
manualInput: unknown;
}
export function createManualPerformanceAdapter(): PerformanceAdapter & {
interface ManualPerformanceAdapter extends Omit<PerformanceAdapter, "fetch"> {
fetch(input: ManualAdapterFetchInput): Promise<PerformanceSnapshot>;
} {
}
export function createManualPerformanceAdapter(): ManualPerformanceAdapter {
return {
source: "manual",
async fetch(input) {
@@ -49,9 +49,14 @@ describe("sqlite repositories", () => {
expect(tables).toEqual([
"article_jobs",
"brand_templates",
"calibration_events",
"fact_cards",
"optimized_articles",
"performance_snapshots",
"publication_records",
"qa_reports",
"rubric_versions",
"scoring_runs",
]);
});