code: def test_hists_stability_report():
      settings = Settings()
      settings.comparison.window = 5
  
      # get histograms
      pipeline = Pipeline(
          modules=[
              JsonReader(
                  file_path=resources.data("example_histogram.json"),
                  store_key="hists",
              )
          ]
      )
      datastore = pipeline.transform(datastore={})
      hists = datastore["hists"]
  
      # generate report
      hist_list = [
          "date:bankrupt",
          "date:country",
          "date:bankrupt",
          "date:A_score",
          "date:A_score:num_employees",
      ]
      stability_report(
          hists,
          reference_type="rolling",
          settings=settings,
          features=hist_list,
      )
  
file_path: popmon/tests/popmon/pipeline/test_report.py
imports: import pandas
  import pytest
  from popmon import resources
  from popmon.base import Pipeline
  from popmon.config import Settings
  from popmon.hist.filling import get_bin_specs
  from popmon.io import JsonReader
  from popmon.pipeline.report import df_stability_report, stability_report
label_desc: Use image node_id 1 for calling a global function with example usage: test_hists_stability_report() without return types