fix(cpg): the census overlay list is layer names, not characters

One flatten too many turned "base,controlflow,typerel,callgraph,dataflowOss" into "b,a,s,e,...", and
every real build then warned that its graph lacked the dataflow layer while carrying it. The compile test
now asserts the shape on a real graph.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01T7XD7x5KonMdmGRkp63EQG
This commit is contained in:
Marius Ciepluch
2026-09-11 10:49:10 +02:00
co-authored by Claude Fable 5.1
parent 60d13d7b6e
commit c955721f92
2 changed files with 10 additions and 2 deletions
+1 -1
View File
@@ -23,7 +23,7 @@
ujson.Obj(
"files" -> cpg.file.size.toString,
"methods" -> cpg.method.size.toString,
"overlays" -> cpg.metaData.overlays.l.flatten.mkString(","),
"overlays" -> cpg.metaData.overlays.l.mkString(","),
"maxHeapMB" -> (Runtime.getRuntime.maxMemory / 1048576).toString
)
)