(label)
| 40 | |
| 41 | |
| 42 | def _graph(label): |
| 43 | return build_from_json({ |
| 44 | "nodes": [ |
| 45 | {"id": "a", "label": label, "file_type": "document", "source_file": "d.md"}, |
| 46 | {"id": "b", "label": "plain", "file_type": "code", "source_file": "b.py"}, |
| 47 | ], |
| 48 | "edges": [{"source": "a", "target": "b", "relation": "references", |
| 49 | "confidence": "INFERRED", "confidence_score": 0.85, |
| 50 | "source_file": "d.md"}], |
| 51 | "hyperedges": [], |
| 52 | }) |
| 53 | |
| 54 | |
| 55 | COMMUNITIES = {0: ["a", "b"]} |
no test coverage detected