CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/pypi-influxdb-client

Comprehensive Python client library for InfluxDB 2.x with sync/async APIs for writing, querying, and managing time series data.

82

1.18x
Overview
Eval results
Files

rubric.jsonevals/scenario-5/

{
  "context": "This criteria evaluates the engineer's ability to use influxdb-client's write callback system to monitor batch write operations. The evaluation focuses on proper implementation of success, error, and retry callbacks, and correct configuration of batching write options.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "WriteOptions configuration",
      "description": "Uses WriteOptions class to configure batch_size=5 and flush_interval=1000 milliseconds for batching behavior",
      "max_score": 15
    },
    {
      "name": "Write API initialization",
      "description": "Correctly initializes write_api using client.write_api() with write_options parameter specifying WriteOptions for batching mode",
      "max_score": 15
    },
    {
      "name": "Success callback",
      "description": "Implements and registers a success_callback function that accepts (conf, data) parameters and increments successful_batches counter",
      "max_score": 20
    },
    {
      "name": "Error callback",
      "description": "Implements and registers an error_callback function that accepts (conf, data, exception) parameters, increments failed_batches counter, and captures error messages",
      "max_score": 20
    },
    {
      "name": "Retry callback",
      "description": "Implements and registers a retry_callback function that accepts (conf, data, exception) parameters and increments retry_attempts counter",
      "max_score": 20
    },
    {
      "name": "Point construction",
      "description": "Uses Point class with fluent API methods (measurement, tag, field, time) to construct data points for writing",
      "max_score": 10
    }
  ]
}

Install with Tessl CLI

npx tessl i tessl/pypi-influxdb-client

tile.json