code: def bad_id_app(**kwargs):
      app = Dash(__name__, **kwargs)
      app.layout = html.Div(
          [
              html.Div(
                  [
                      html.Div(id="inner-div"),
                      dcc.Input(id="inner-input"),
                  ],
                  id="outer-div",
              ),
              dcc.Input(id="outer-input"),
          ],
          id="main",
      )
  
      @app.callback(
          Output("nuh-uh", "children"), [Input("inner-input", "value")]
      )
      def f(a):
          return a
  
      @app.callback(
          Output("outer-input", "value"), [Input("yeah-no", "value")]
      )
      def g(a):
          return a
  
      @app.callback(
          [Output("inner-div", "children"), Output("nope", "children")],
          [Input("inner-input", "value")],
          [State("what", "children")],
      )
      def g2(a):
          return [a, a]
  
      # the right way
      @app.callback(
          Output("inner-div", "style"), [Input("inner-input", "value")]
      )
      def h(a):
          return a
  
      return app
  
imports: import flask
  import pytest
  from dash import Dash, Input, Output, State, MATCH, ALL, ALLSMALLER, html, dcc
  from dash.testing import wait
label_desc: Use image node_id 9 for calling a global function with example usage: bad_id_app() and returns: app, a, a, list, a