PracHub
QuestionsCoachesLearningGuidesInterview Prep
|Home/ML System Design/Jane Street

Predict future time-series values

Last updated: Mar 29, 2026

Quick Overview

This interview question evaluates ML product requirements, data/labeling, modeling, serving architecture, evaluation, monitoring, and trade-offs in a realistic interview setting. A strong answer for Predict future time-series values states assumptions, handles edge cases, explains trade-offs, and shows how to validate the result clearly.

  • hard
  • Jane Street
  • ML System Design
  • Machine Learning Engineer

Predict future time-series values

Company: Jane Street

Role: Machine Learning Engineer

Category: ML System Design

Difficulty: hard

Interview Round: Technical Screen

##### Question Given a time-series dataset, build an end-to-end machine-learning solution that forecasts future values: choose an appropriate model architecture, implement the training loop (e.g., in PyTorch), and explain your design decisions and evaluation strategy.

Quick Answer: This interview question evaluates ML product requirements, data/labeling, modeling, serving architecture, evaluation, monitoring, and trade-offs in a realistic interview setting. A strong answer for Predict future time-series values states assumptions, handles edge cases, explains trade-offs, and shows how to validate the result clearly.

Related Interview Questions

  • Design sequential reveal classification and policy - Jane Street (hard)
  • Design an end-to-end training framework - Jane Street (hard)
|Home/ML System Design/Jane Street

Predict future time-series values

Jane Street logo
Jane Street
Aug 4, 2025, 10:55 AM
hardMachine Learning EngineerTechnical ScreenML System Design
14
0

Predict future time-series values

End-to-End Time-Series Forecasting (PyTorch)

Context

You are given one or more regularly sampled numeric time series and optional exogenous covariates (calendar features, prices of related assets, etc.). The goal is to forecast the next H time steps.

Assume:

  • Input time steps are ordered and may contain missing values/outliers.
  • Forecast horizon H and input context length L are to be chosen by you.
  • You should avoid data leakage and use time-aware validation.

Task

Design and implement an end-to-end forecasting solution:

  1. Choose and justify a model architecture suitable for multi-step forecasting.
  2. Implement the training loop in PyTorch, including dataset/windowing and evaluation.
  3. Explain data preparation, hyperparameters, and design decisions.
  4. Describe an evaluation strategy (splits, baselines, metrics, and backtesting).

Constraints & Assumptions

  • Preserve the scope, facts, inputs, and requested outputs from the prompt above.
  • If the prompt leaves a detail unspecified, state a reasonable assumption before relying on it.
  • Keep the answer interview-ready: concise enough to present, but concrete enough to implement or evaluate.

Clarifying Questions to Ask

  • Clarify users, core use cases, read/write patterns, scale, latency, availability, and data retention.
  • State explicit assumptions before making sizing or architecture decisions.
  • Prioritize the functional path first, then address reliability, security, observability, and rollout.

What a Strong Answer Covers

  • A scoped requirements summary with concrete non-goals and success metrics.
  • ML-specific data, model, evaluation, serving, and monitoring choices.
  • Reasoned trade-offs among simple and scalable designs, including bottlenecks and failure modes.
  • A validation, monitoring, migration, and launch plan appropriate for the risk level.

Follow-up Questions

  • What breaks first at 10x traffic or data volume?
  • How would you degrade gracefully during dependency failures?
  • What metrics and alerts would prove the design is healthy after launch?

Submit Your Answer to Earn 20XP

Sign in to leave a comment

Loading comments...

Browse More Questions

More ML System Design•More Jane Street•More Machine Learning Engineer•Jane Street Machine Learning Engineer•Jane Street ML System Design•Machine Learning Engineer ML System Design

Your design canvas — auto-saved

PracHub

Master your tech interviews with 8,000+ real questions from top companies.

Product

  • Questions
  • Learning Tracks
  • Interview Guides
  • Resources
  • Premium
  • For Universities
  • Student Access

Browse

  • By Company
  • By Role
  • By Category
  • Topic Hubs
  • SQL Questions
  • AI Coding Questions
  • Compare Platforms
  • Discord Community

Support

  • support@prachub.com
  • (916) 541-4762

Legal

  • Privacy Policy
  • Terms of Service
  • About Us

© 2026 PracHub. All rights reserved.