code: def test_hyperedges_direct_manual_shaping():
      h1 = cugraph.hypergraph(
          hyper_df,
          direct=True,
          EDGES={"aa": ["cc"], "cc": ["cc"]},
      )
      assert len(h1["edges"]) == 6
  
      h2 = cugraph.hypergraph(
          hyper_df,
          direct=True,
          EDGES={"aa": ["cc", "bb", "aa"], "cc": ["cc"]},
      )
      assert len(h2["edges"]) == 12
  
imports: import datetime
  import pandas
  import pytest
  import cudf
  from cudf.testing.testing import assert_frame_equal
  import cugraph
label_desc: Use image node_id 5 for calling a global function with example usage: test_hyperedges_direct_manual_shaping() without return types