{"record":{"id":"c70d0d2332ac3df1","repo":"deepseek-ai/deepseek-harness","slug":"not-future","errorCode":"not_future","errorMessage":"The scheduled time must be strictly in the future.","messagePattern":"The scheduled time must be strictly in the future\\.","errorType":"validation","errorClass":"ScheduleInputError","httpStatus":null,"severity":"error","filePath":"packages/schedule/schedule/src/domain.ts","lineNumber":199,"sourceCode":"  return epoch\n}\n\n/** Normalize an optional one-to-three digit fractional second to milliseconds. */\nfunction milliseconds(value: string | undefined): number {\n  return value === undefined ? 0 : Number(value.padEnd(3, '0'))\n}\n\n/** Require a safe, representable, strictly future UTC target. */\nfunction futureInstant(epoch: number, now: number): string {\n  if (!Number.isSafeInteger(now) || !Number.isSafeInteger(epoch)\n    || epoch < MIN_FOUR_DIGIT_YEAR_MS || epoch > MAX_FOUR_DIGIT_YEAR_MS) {\n    throw new ScheduleInputError(\n      'time_out_of_range',\n      'The scheduled time must be representable as a four-digit-year RFC 3339 UTC instant.',\n    )\n  }\n  if (epoch <= now) {\n    throw new ScheduleInputError('not_future', 'The scheduled time must be strictly in the future.')\n  }\n  const instant = new Date(epoch).toISOString()\n  /* v8 ignore next -- an in-range integral Date always formats as the canonical UTC profile. */\n  if (!UTC_INSTANT.test(instant)) {\n    throw new ScheduleInputError(\n      'time_out_of_range',\n      'The scheduled time must be representable as a four-digit-year RFC 3339 UTC instant.',\n    )\n  }\n  return instant\n}\n\n/** Parse a strict RFC 3339 instant whose numeric offset is part of the input. */\nfunction parseOffsetInstant(value: string): number {\n  const match = OFFSET_INSTANT.exec(value)\n  const groups = match?.groups\n  if (groups === undefined) {\n    throw new ScheduleInputError(","sourceCodeStart":181,"sourceCodeEnd":217,"githubUrl":"https://github.com/deepseek-ai/deepseek-harness/blob/b150a551b8d465e31e418e1b2eaf5e79bbb7d28e/packages/schedule/schedule/src/domain.ts#L181-L217","documentation":"Error \"The scheduled time must be strictly in the future.\" thrown in deepseek-ai/deepseek-harness.","triggerScenarios":"Thrown at packages/schedule/schedule/src/domain.ts:199 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Schedule the time strictly in the future relative to the current clock."],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"b150a551b8d465e31e418e1b2eaf5e79bbb7d28e","analyzedAt":"2026-08-24T18:12:29.105Z","schemaVersion":2},"datasetVersion":"2026-08-24T22:17:12.610Z"}