fix: align ML service labels with training order
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.7
parent
59877bc17f
commit
ed8cecc3f5
@@ -0,0 +1,15 @@
|
||||
import unittest
|
||||
|
||||
from model import LABELS
|
||||
|
||||
|
||||
class ModelServiceTests(unittest.TestCase):
|
||||
def test_labels_match_training_class_order_with_display_names(self) -> None:
|
||||
self.assertEqual(
|
||||
LABELS,
|
||||
["Bercak Daun", "Daun Sehat", "Karat Daun", "Hawar Daun"],
|
||||
)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
unittest.main()
|
||||
Reference in New Issue
Block a user