Checking your account

You can read the lesson while its saved answers and constructions load. Learning controls will open once that work is ready.

Data Pipelines with Databricks

Keep every prediction on its own feature history

Coding challenges

The newest value was published after the prediction

Access is correct, but the latest-value join gives past predictions information published later.

BOTIE

P7 at minute 6 sees values published at 3 and 8. A broken join chooses the minute-8 correction because its event was earlier. What should be repaired?
The inputs we are comparing

Immutable published feature history

Only the available feature rows have arrived

  1. pump
    P7
    publishedAt
    3
    value
    10
  2. pump
    P2
    publishedAt
    4
    value
    20

A later correction is unavailable

  1. pump
    P7
    publishedAt
    3
    value
    10
  2. pump
    P7
    publishedAt
    8
    value
    99
  3. pump
    P2
    publishedAt
    4
    value
    20

Entity and decision minute per prediction

Same in both cases

  1. pump
    P7
    at
    6
  2. pump
    P2
    at
    6

Maximum feature age in minutes

Same in both cases

5
Result for only the available feature rows have arrived
  1. pump
    P7
    at
    6
    temperature
    10
  2. pump
    P2
    at
    6
    temperature
    20
Choose an explanation to test
One pump is stale while another has just published

This check uses the pieces from “Build the feature candidates for each decision”.

BOTIE

At minute 8, A’s minute-5 value is too old for a two-minute limit and its next value arrives at 9. B has a value at 8. Preserve both prediction rows.
Immutable published feature history
  1. pump
    A
    publishedAt
    5
    value
    1
  2. pump
    A
    publishedAt
    9
    value
    7
  3. pump
    B
    publishedAt
    8
    value
    4
Entity and decision minute per prediction
  1. pump
    A
    at
    8
  2. pump
    B
    at
    8
Maximum feature age in minutes
2

Use a number, text, or an array matching the requested result. A named result uses field names, such as {"count": 2}. For a matrix, put each row in brackets. Saving your prediction runs your current construction on these inputs and checks the earlier examples too.

Build a construction in the workspace above first. This case will test those pieces.

What evidence shows that publishedAt really records availability rather than a backdated event?

Keep publication history, table identity and the lookup/fallback policy with the trained procedure.

The floor looks up supplied immutable publication history using an inclusive age rule. Computing the features, establishing truthful availability timestamps and operating a real feature service are separate responsibilities.