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 criteria evaluates how well the engineer uses Flask-Admin's view system and routing capabilities to create a custom analytics dashboard. The focus is on proper usage of BaseView, the @expose() decorator for defining routes, and template rendering with context data.",
"type": "weighted_checklist",
"checklist": [
{
"name": "BaseView Inheritance",
"description": "The AnalyticsView class properly inherits from flask_admin.BaseView to create a custom admin view.",
"max_score": 15
},
{
"name": "Index Route Decorator",
"description": "The index() method is decorated with @expose('/') to define the default route.",
"max_score": 15
},
{
"name": "Stats Route Decorator",
"description": "The stats() method is decorated with @expose('/stats') to define the statistics route.",
"max_score": 15
},
{
"name": "Reports Route Decorator",
"description": "The reports() method is decorated with @expose('/reports') to define the reports route.",
"max_score": 15
},
{
"name": "Template Rendering",
"description": "All three methods use self.render() to render templates and pass appropriate context data (welcome message/timestamp, statistics, reports list).",
"max_score": 30
},
{
"name": "View Registration",
"description": "The view is properly registered with the Admin instance using admin.add_view() with the correct endpoint='/analytics' and name='Analytics' parameters.",
"max_score": 10
}
]
}