CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/pypi-azure-cognitiveservices-search-nspkg

Microsoft Azure Cognitive Services Search Namespace Package for Python 2/3 compatibility

64

1.25x

Quality

Pending

Does it follow best practices?

Impact

64%

1.25x

Average score across 6 eval scenarios

Overview
Eval results
Files

rubric.jsonevals/scenario-4/

{
  "context": "Evaluates how the solution leverages the azure-cognitiveservices-search-nspkg placeholder to surface the azure.cognitiveservices.search namespace, detect installed search client modules, and guard against legacy package conflicts. Scoring focuses strictly on correct namespace handling and reporting keyed to this namespace package’s intended use.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Namespace import",
      "description": "Successfully imports `azure.cognitiveservices.search` by relying on azure-cognitiveservices-search-nspkg and reports a clear failure when the package is absent.",
      "max_score": 30
    },
    {
      "name": "Client discovery",
      "description": "Enumerates installed `azure.cognitiveservices.search.*` client modules (e.g., websearch, imagesearch) via namespace inspection and returns them as a sorted list.",
      "max_score": 25
    },
    {
      "name": "Legacy conflict",
      "description": "Detects the presence of legacy `azure` 0.x installs and surfaces the package’s guidance to uninstall them before using the search namespace.",
      "max_score": 20
    },
    {
      "name": "Version context",
      "description": "Includes the running Python major.minor version in the report to explain placeholder-only behavior on interpreters using implicit namespaces.",
      "max_score": 10
    },
    {
      "name": "JSON contract",
      "description": "Outputs JSON containing the expected keys `namespace_present`, `clients`, `legacy_conflict`, and `python_version` matching the spec’s report structure.",
      "max_score": 15
    }
  ]
}

Install with Tessl CLI

npx tessl i tessl/pypi-azure-cognitiveservices-search-nspkg

tile.json