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's automatic version fitting capability to generate optimally-sized QR codes for variable-length data. The focus is on proper usage of version auto-fitting mechanisms to avoid manual version selection.",
"type": "weighted_checklist",
"checklist": [
{
"name": "QRCode instantiation",
"description": "Creates a QRCode instance or uses the qrcode.make() function to generate QR codes",
"max_score": 15
},
{
"name": "Automatic fitting enabled",
"description": "Uses make(fit=True) or calls the best_fit() method to enable automatic version selection based on data length",
"max_score": 35
},
{
"name": "Error correction level",
"description": "Sets error_correction parameter to ERROR_CORRECT_M (medium) or passes it to make() function",
"max_score": 15
},
{
"name": "Data addition",
"description": "Uses add_data() method to add the input text data to the QR code, or passes data to make() function",
"max_score": 15
},
{
"name": "Image generation",
"description": "Calls make_image() method or uses make() function to generate the QR code image object",
"max_score": 10
},
{
"name": "Image saving",
"description": "Uses the save() method on the image object to write the QR code to the specified output path",
"max_score": 10
}
]
}evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10