code: def list_failing_tests_wandb_core(session: nox.Session) -> None:
      """Lists the core failing tests grouped by feature."""
      import pandas as pd
      import pytest
  
      class MyPlugin:
          def __init__(self):
              self.collected = []
              self.features = []
  
          def pytest_collection_modifyitems(self, items):
              for item in items:
                  marks = item.own_markers
                  for mark in marks:
                      if mark.name == "wandb_core_failure":
                          self.collected.append(item.nodeid)
                          self.features.append(
                              {
                                  "name": item.nodeid,
                                  "feature": mark.kwargs.get(
                                      "feature", "unspecified"
                                  ),
                              }
                          )
  
          def pytest_collection_finish(self):
              print("\n\nFailing tests grouped by feature:")
              df = pd.DataFrame(self.features)
              for feature, group in df.groupby("feature"):
                  print(f"\n{feature}:")
                  for name in group["name"]:
                      print(f"  {name}")
  
      my_plugin = MyPlugin()
      pytest.main(
          [
              "-m",
              "wandb_core_failure",
              "tests/pytest_tests/system_tests/test_core",
              "--collect-only",
          ],
          plugins=[my_plugin],
      )
  
file_path: wandb/noxfile.py
imports: import os
  import platform
  import nox
label_desc: Use image node_id 5 for calling a global function with example usage: list_failing_tests_wandb_core(session) without return types