How are validation results stored and visualized in Data Docs?

This post was prompted by users questions about what the fields in Data Docs mean (data asset name, Run Name, etc.), how they map to the directory structure of validation results and which of these a user can modify.

Here is screenshot that shows:

  1. a Python code snippet that invokes validation of a file against an Expectation Suite (top right)
  2. Directory structure in which the validation result was stored (top)
  3. The entry corresponding to this validation result on the index page of Data Docs (bottom)

The arrows show how the Expectation Suite name, data asset name, run name, run id and batch id map between these 3 views: