Fix: Update all old-style imports inside packages to new paths
Some checks failed
CI / go-lint (push) Has been skipped
CI / python-lint (push) Has been skipped
CI / nodejs-lint (push) Has been skipped
CI / test-go-school (push) Successful in 1m7s
CI / test-go-edu-search (push) Successful in 46s
CI / test-python-klausur (push) Failing after 2m32s
CI / test-python-agent-core (push) Successful in 33s
CI / test-nodejs-website (push) Successful in 34s
Some checks failed
CI / go-lint (push) Has been skipped
CI / python-lint (push) Has been skipped
CI / nodejs-lint (push) Has been skipped
CI / test-go-school (push) Successful in 1m7s
CI / test-go-edu-search (push) Successful in 46s
CI / test-python-klausur (push) Failing after 2m32s
CI / test-python-agent-core (push) Successful in 33s
CI / test-nodejs-website (push) Successful in 34s
65 files in klausur-service packages + 3 in backend-lehrer packages had stale imports referencing deleted shim modules. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -17,7 +17,7 @@ import cv2
|
||||
import numpy as np
|
||||
from fastapi import APIRouter, HTTPException
|
||||
|
||||
from cv_vocab_pipeline import (
|
||||
from ocr.cv_pipeline import (
|
||||
create_ocr_image,
|
||||
detect_column_geometry,
|
||||
detect_row_geometry,
|
||||
@@ -120,7 +120,7 @@ async def detect_rows(session_id: str):
|
||||
# merges rows. Word-grouping directly clusters words by Y proximity,
|
||||
# which is more robust for these cases.
|
||||
if is_sub_session and word_dicts:
|
||||
from cv_layout import _build_rows_from_word_grouping
|
||||
from ocr.layout.layout import _build_rows_from_word_grouping
|
||||
rows = _build_rows_from_word_grouping(
|
||||
word_dicts, left_x, right_x, top_y, bottom_y,
|
||||
right_x - left_x, bottom_y - top_y,
|
||||
|
||||
Reference in New Issue
Block a user