def METHOD_NAME():
    import raphtory
    g = raphtory.Graph()
    edges_str = [
        ("1", "2", 10, 1),
        ("1", "2", 10, 1),
        ("1", "2", 10, 1),
        ("1", "4", 20, 2),
        ("2", "3", 5, 3),
        ("3", "2", 2, 4),
        ("3", "1", 1, 5),
        ("4", "3", 10, 6),
        ("4", "1", 5, 7),
        ("1", "5", 2, 8),
    ]
    for src, dst, val, time in edges_str:
        g.add_edge(time, src, dst, {"value_dec": val})
    v = g.vertex("1")
    result = v.out_edges().properties.temporal.get("value_dec").values().flatten()
    assert sorted(result) == [2, 10, 10, 10, 20]
    assert result.sum() == 52
    assert result.median() == 10
    assert result.mean() == 10.4
    assert result.average() == 10.4
    assert result.min() == 2
    assert result.max() == 20
    assert result.len() == 5
    assert v.out_edges().properties.get("value_dec").sum() == 32
    assert v.out_edges().properties.get("value_dec").median() == 10
    total = g.vertices.in_edges().properties.get("value_dec").sum()
    assert sorted(total) == [2, 6, 12, 15, 20]
    total = g.vertices.edges().properties.get("value_dec").sum()
    assert sorted(total) == [2, 17, 18, 35, 38]
    total = dict(
        zip(g.vertices().id(), g.vertices.out_edges().properties.get("value_dec").sum())
    )
    assert total == {1: 32, 2: 5, 3: 3, 4: 15, 5: None}
    total = g.vertices.out_edges().properties.get("value_dec").sum().sum()
    assert total == 55
    total = g.vertices.out_edges().properties.get("value_dec").sum().median()
    assert total == 5
    total = g.vertices.out_edges().properties.get("value_dec").sum().drop_none()
    assert sorted(total) == [3, 5, 15, 32]
    total = g.vertices.out_edges().properties.get("value_dec").median()
    assert list(total) == [10, 5, 10, 2, None]
    total = g.vertex("1").in_edges().properties.get("value_dec").sum()
    assert total == 6
    total = g.vertex("1").in_edges().properties.get("value_dec").median()
    assert total == 5