Skip to content

Cross-cutting coupling between utils/feedback.py and intersection/intersection_metrics.py #29

Description

@yan-sln

Observation: core/utils/feedback.py imports intersection.intersection_metrics.LayerMetrics, even though utils/ is intended to contain utilities independent of the business domain (see core/utils/AGENT.md).

Impact: utils/ is not fully reusable independently of the intersection engine. A contributor attempting to extract utils/ as a standalone library would encounter this dependency.

Future direction: Either move report_layer_metrics() and update_feedback() into core/intersection/ (their usage is primarily tied to the intersection workflow), or have them accept primitive values instead of the LayerMetrics dataclass.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions