refactor: move TEST_SEPARATOR import to constants module

Moved TEST_SEPARATOR import from benchmarks.base to constants module in codegen, summarization, and translation benchmarks for better modularity and maintainability. This change improves code organization by centralizing constants in a dedicated module.
This commit is contained in:
second_constantine 2026-01-27 01:07:54 +03:00
parent 7cf34fd14b
commit a1343ffbea
4 changed files with 7 additions and 4 deletions

View File

@ -2,7 +2,8 @@ import logging
import json
import os
from typing import Dict, Any, List
from benchmarks.base import Benchmark, TEST_SEPARATOR
from benchmarks.base import Benchmark
from constants import TEST_SEPARATOR
class CodegenBenchmark(Benchmark):
"""Бенчмарк для тестирования генерации кода."""

View File

@ -2,7 +2,8 @@ import logging
import json
import os
from typing import Dict, Any, List
from benchmarks.base import Benchmark, TEST_SEPARATOR
from benchmarks.base import Benchmark
from constants import TEST_SEPARATOR
class SummarizationBenchmark(Benchmark):
"""Бенчмарк для тестирования пересказов."""

View File

@ -2,7 +2,8 @@ import logging
import json
import os
from typing import Dict, Any, List
from benchmarks.base import Benchmark, TEST_SEPARATOR
from benchmarks.base import Benchmark
from constants import TEST_SEPARATOR
class TranslationBenchmark(Benchmark):
"""Бенчмарк для тестирования перевода."""