export type ExpectedJudgeResult = 'accepted' | 'rejected'; export interface ResolvedCwd { cwd: string; expectedResult: ExpectedJudgeResult; } export interface ResolvedCwds { cwds: readonly ResolvedCwd[]; isDebugMode: boolean; } /** * Resolve which working directories to judge. * * - If `cwdArg` is provided, use it as the single cwd. * - Otherwise (debug mode), enumerate `/model_answers/*` and * `/model_answers.fails/*` and judge each. * A prominent banner is printed so users can tell at a glance that this is a debug run. * * @throws if `cwdArg` is missing and no model answer directories are found. */ export declare function resolveCwds(problemDir: string, cwdArg: string | undefined): Promise; /** * Print a per-cwd banner shown before judging each model answer in debug mode. * Includes the command for re-running this single cwd. */ export declare function printDebugCwdBanner(problemDir: string, resolvedCwd: ResolvedCwd): void; export declare function printDebugExpectationFailureBanner(problemDir: string, resolvedCwd: ResolvedCwd): void;