tessl install tessl/pypi-influxdb-client@1.49.0Comprehensive Python client library for InfluxDB 2.x with sync/async APIs for writing, querying, and managing time series data.
Agent Success
Agent success rate when using this tile
82%
Improvement
Agent success rate improvement when using this tile compared to baseline
1.19x
Baseline
Agent success rate without this tile
69%
{
"context": "This evaluation assesses how effectively the engineer uses the influxdb-client-python library's batching capabilities for time-series data ingestion. The focus is on proper use of WriteOptions for configuring batch size and flush intervals, correct Point construction with tags and fields, and proper resource cleanup with context managers.",
"type": "weighted_checklist",
"checklist": [
{
"name": "WriteOptions Configuration",
"description": "Uses the WriteOptions class to configure batching behavior with batch_size parameter set to 500 and flush_interval parameter set to 5000 milliseconds",
"max_score": 25
},
{
"name": "Write API Creation",
"description": "Correctly creates a write_api instance by calling client.write_api() with the configured WriteOptions passed as the write_options parameter",
"max_score": 15
},
{
"name": "Point Construction",
"description": "Uses the Point class to construct data points with measurement name, properly adds tags using the tag() method for sensor_id and location, adds fields using the field() method for temperature value, and includes timestamps using the time() method",
"max_score": 25
},
{
"name": "Batch Writing",
"description": "Calls write_api.write() method with bucket parameter and Point objects to write data, allowing the library to handle automatic batching based on configured triggers",
"max_score": 15
},
{
"name": "Resource Cleanup",
"description": "Uses context managers (with statement) for InfluxDBClient or explicitly calls client.close() to ensure all buffered data is flushed and connections are properly closed",
"max_score": 20
}
]
}