feat: add assessment, privacy and support flows

This commit is contained in:
TakuyaYagam1 committed 2026-10-08 08:08:25 +03:00
1 parent ee3738ee73
commit e4f24fa202
339 files changed
+56454 -1126

No files matched your search

@@ -0,0 +1,29 @@
package outbound
import (
"context"
"github.com/google/uuid"
"lincodex/backend/internal/domain"
)
// SupportCaseRubric pins a manual request to the same grading-policy version
// and reviewed category opening used by automated assessment.
type SupportCaseRubric struct {
Version int32
OpeningID uuid.UUID
PolicyVersionID domain.PolicyVersionID
}
// SupportCaseRubricRepository resolves a rubric for manual assessment cases.
// A case has no task-language field, so implementations match all current
// reviewed catalog bindings for its exact specialization and grade. They
// return nil when no unique current opening matches.
type SupportCaseRubricRepository interface {
ResolveCurrent(
ctx context.Context,
specialization domain.SpecializationCode,
grade domain.GradeCode,
) (*SupportCaseRubric, error)
}