QR Code image generator with customizable image formats, error correction levels, and styling options
{
"context": "This criteria evaluates how well the engineer uses the qrcode package to implement automatic data encoding and optimization. It focuses on proper usage of the QRCode class, the add_data() method with optimization parameters, and the make() method with auto-fitting enabled.",
"type": "weighted_checklist",
"checklist": [
{
"name": "QRCode instantiation",
"description": "Creates a QRCode instance using the qrcode.QRCode class constructor",
"max_score": 15
},
{
"name": "add_data() usage",
"description": "Uses the add_data() method to add data to the QRCode instance",
"max_score": 15
},
{
"name": "Optimize parameter",
"description": "Passes the optimize parameter to add_data() method to control data optimization threshold",
"max_score": 25
},
{
"name": "make() with fit",
"description": "Calls the make() method with fit=True parameter to enable automatic version fitting",
"max_score": 20
},
{
"name": "Image generation",
"description": "Uses the make_image() method to generate an image from the QRCode instance and saves it using the save() method",
"max_score": 15
},
{
"name": "Version extraction",
"description": "Accesses the version attribute of the QRCode instance to retrieve the selected QR code version",
"max_score": 5
},
{
"name": "Module count extraction",
"description": "Accesses the modules_count attribute of the QRCode instance to retrieve the matrix dimensions",
"max_score": 5
}
]
}evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10