Übersetzungskataloge, getrennte Sprachpräferenzen und einen versionierten Aufgabenpilot ergänzen. Historische Aufgaben und Bewertungen bleiben erhalten; äquivalente Ansichten teilen Nachweise. Lokal mit Race-Tests und PostgreSQL, Vet, Web-Build, Bank-Audits und Browser-Fixtures geprüft. Dieser Stand dient als Ausgangspunkt für die anschließend beauftragte Zusammenführung zur Muttersprache.
27 lines
1.1 KiB
Go
27 lines
1.1 KiB
Go
package domain
|
|
|
|
// BankEntry is editorial metadata; public exercises retain the v2 task format.
|
|
type BankEntry struct {
|
|
ID string `json:"id"`
|
|
Revision string `json:"revision"`
|
|
Goal string `json:"learning_goal_id"`
|
|
Difficulty int `json:"difficulty"`
|
|
Reviewed bool `json:"reviewed"`
|
|
Task AdaptiveTask `json:"task"`
|
|
}
|
|
|
|
// BankVariant references a reviewed base entry but has its own immutable revision.
|
|
// Only equivalent translations share a canonical identity with that base.
|
|
type BankVariant struct {
|
|
ModuleTitle string `json:"module_title"`
|
|
ModuleDescription string `json:"module_description"`
|
|
ID string `json:"id"`
|
|
Revision string `json:"revision"`
|
|
BaseEntryID string `json:"base_entry_id"`
|
|
CanonicalTaskID string `json:"canonical_task_id"`
|
|
InstructionLanguage string `json:"instruction_language"`
|
|
Equivalence string `json:"equivalence"`
|
|
Reviewed bool `json:"reviewed"`
|
|
Task AdaptiveTask `json:"task"`
|
|
}
|