code: def get_trend_modules(window) -> list[Module | Pipeline]:
      """Looking for significant rolling linear trends in selected features/metrics"""
      modules: list[Module | Pipeline] = [
          ApplyFunc(
              apply_to_key="profiles",
              assign_to_key="comparisons",
              apply_funcs=[
                  {
                      "func": rolling_lr_zscore,
                      "suffix": f"_trend{window}_zscore",
                      "entire": True,
                      "window": window,
                      "metrics": ["mean", "phik", "fraction_true"],
                  }
              ],
              msg="Computing significance of (rolling) trend in means of features",
          ),
      ]
      return modules
  
imports: from __future__ import annotations
  from popmon.alerting import AlertsSummary, DynamicBounds, StaticBounds, TrafficLightAlerts, traffic_light_summary
  from popmon.analysis.apply_func import ApplyFunc
  from popmon.analysis.comparison.hist_comparer import ExpandingHistComparer, PreviousHistComparer, ReferenceHistComparer, RollingHistComparer
  from popmon.analysis.functions import rolling_lr_zscore
  from popmon.analysis.profiling import HistProfiler
  from popmon.analysis.profiling.pull_calculator import ExpandingPullCalculator, ReferencePullCalculator, RefMedianMadPullCalculator, RollingPullCalculator
  from popmon.base import Module, Pipeline
  from popmon.config import Settings
  from popmon.hist.hist_splitter import HistSplitter
  from .timing import Timing
label_desc: Use image node_id 8 for calling a global function with example usage: get_trend_modules(window) and returns: modules