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 the engineer's proficiency in using Flask-Admin's search functionality with pattern matching. It focuses on proper configuration of searchable columns, implementing pattern matching prefixes, and enabling multi-column case-insensitive search.",
"type": "weighted_checklist",
"checklist": [
{
"name": "ModelView Implementation",
"description": "Creates a ModelView class (or uses ModelView directly) for the Book model and registers it with the Admin instance using admin.add_view()",
"max_score": 15
},
{
"name": "Searchable Columns Configuration",
"description": "Correctly configures the column_searchable_list attribute on the ModelView to include the required fields: title, author, isbn, and publisher",
"max_score": 25
},
{
"name": "Pattern Matching Support",
"description": "The search implementation supports all three pattern matching modes: default contains search, exact match with '=' prefix, and starts-with using '^' prefix. This is automatically handled by Flask-Admin when column_searchable_list is configured.",
"max_score": 20
},
{
"name": "Case-Insensitive Search",
"description": "Search is case-insensitive across all searchable fields. This is the default behavior when using column_searchable_list with SQLAlchemy (uses ILIKE), no additional configuration needed.",
"max_score": 10
},
{
"name": "Multi-Column Search",
"description": "Search works across multiple columns simultaneously - when a user enters a search term, it searches across all columns specified in column_searchable_list and returns results matching any of them",
"max_score": 10
},
{
"name": "Test Implementation",
"description": "Implements test cases that properly verify search functionality by creating test data, performing searches with different patterns (contains, exact with '=', starts-with with '^'), and asserting correct results",
"max_score": 15
},
{
"name": "Admin Interface Setup",
"description": "Properly initializes the Flask application with Flask-Admin by creating an Admin instance with the Flask app and correctly setting up the database with Flask-SQLAlchemy",
"max_score": 5
}
]
}