tessl install tessl/pypi-flask-admin@1.6.0Simple and extensible admin interface framework for Flask
Agent Success
Agent success rate when using this tile
86%
Improvement
Agent success rate improvement when using this tile compared to baseline
1.3x
Baseline
Agent success rate without this tile
66%
{
"context": "This evaluation criteria assesses how well the engineer uses Flask-Admin's internationalization (i18n) features to create a multilingual admin interface. The focus is on proper use of translation functions and configuration of translatable UI elements.",
"type": "weighted_checklist",
"checklist": [
{
"name": "lazy_gettext Import",
"description": "Imports lazy_gettext from flask_admin.babel or flask_babel for deferred translation of class-level definitions",
"max_score": 15
},
{
"name": "column_labels Configuration",
"description": "Configures column_labels dictionary in the ProductView class to map field names to translatable strings",
"max_score": 25
},
{
"name": "Translation Functions",
"description": "Uses lazy_gettext() to wrap all translatable strings in column_labels (e.g., lazy_gettext('Name'), lazy_gettext('Description'), etc.)",
"max_score": 25
},
{
"name": "Flask-Babel Integration",
"description": "Properly integrates Flask-Babel with the Flask application (e.g., initializes Babel instance, configures locale selector if needed)",
"max_score": 15
},
{
"name": "All Fields Translated",
"description": "Provides translations for all required fields: name, description, price, in_stock, and created_at",
"max_score": 10
},
{
"name": "Test Correctness",
"description": "Implements tests that correctly verify translation behavior by checking column labels and form field labels under different locales",
"max_score": 10
}
]
}