(secs)
| 1686 | heading_intervals: list[tuple[int, int, str, int]] = [] # (start, end, anchor, level) |
| 1687 | |
| 1688 | def walk(secs): |
| 1689 | for s in secs: |
| 1690 | anc = s.get("anchor") |
| 1691 | if anc: |
| 1692 | if s.get("agent_summary"): |
| 1693 | summary_by_anchor[anc] = s["agent_summary"] |
| 1694 | heading_intervals.append(( |
| 1695 | int(s.get("char_start", 0)), |
| 1696 | int(s.get("char_end", 0)), |
| 1697 | anc, |
| 1698 | int(s.get("level", 1)), |
| 1699 | )) |
| 1700 | walk(s.get("children", [])) |
| 1701 | |
| 1702 | walk(outline.get("sections", [])) |
| 1703 |
no outgoing calls
no test coverage detected