Skip to content

Add missing component display names - #1075

Draft
Irozuku wants to merge 6 commits into
developfrom
fix/missing-component-display-names
Draft

Irozuku wants to merge 6 commits into
developfrom
fix/missing-component-display-names

Conversation

@Irozuku

@Irozuku Irozuku commented Dec 4, 2026

Copy link
Copy Markdown
Collaborator

Summary

97 core components had no display name in some or all languages, so the interface showed their class names (BalancedAccuracy, HoldoutSplitter, PrepareAndSplitUnit) or the inherited "Base RAG Prompt". Every metric, job, unit, the holdout splitter, the full dataset strategy and the five custom RAG prompts now name themselves in English, Spanish, Portuguese, German and Chinese, and a test keeps every core component named in every language.


Type of Change

  • Backend change
  • Frontend change
  • CI / Workflow change
  • Build / Packaging change
  • Bug fix
  • Documentation

Changes (by file)

  • DashAI/back/metrics/**: display names for the 25 classification, clustering, forecasting, regression and translation metrics (Balanced Accuracy, Davies-Bouldin Index, Coefficient of Determination (R²), ...).
  • DashAI/back/job/**: display names for the 12 jobs (Model Training, Hub Download, RAG Pipeline, ...).
  • DashAI/back/units/**: display names for the 53 pipeline units (Load Dataset, Prepare and Split, Fit Model over Folds, ...).
  • DashAI/back/splitters/holdout.py: HoldoutSplitter is now Holdout.
  • DashAI/back/evaluation/full_dataset.py: FullDatasetEvaluationStrategy is now Full dataset.
  • DashAI/back/models/RAG/prompts/**: the five custom prompts get their own names instead of the inherited Base RAG Prompt.
  • tests/back/test_component_display_names.py: every core component has a display name in every language.
  • tests/back/evaluation/test_strategy_declarations.py: expects the Full dataset label.

Testing (optional)

  • Open a trained session summary and see Holdout and Balanced Accuracy (or the other metric names) instead of class names.
  • In the evaluation step of the session wizard, see Full dataset as a strategy name.
  • Switch the language to German or Chinese and see the metric names translated, for example Davies-Bouldin-Index and 留出法.
  • In the RAG prompt library, see Custom RAG Generation Prompt and the other custom prompts with their own names.

@Irozuku Irozuku added bug Something isn't working back Backend work labels Dec 4, 2026
@Irozuku
Irozuku marked this pull request as draft December 5, 2026 01:46

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

back Backend work bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant