{"record":{"id":"e84120923a5b6a44","repo":"ruvnet/RuView","slug":"empty-phase-data","errorCode":null,"errorMessage":"Empty phase data","messagePattern":"Empty phase data","errorType":"validation","errorClass":"CSIValidationError","httpStatus":null,"severity":"error","filePath":"archive/v1/src/hardware/csi_extractor.py","lineNumber":551,"sourceCode":"                    raise CSIParseError(f\"Extraction failed after {self.retry_attempts} attempts: {e}\")\n    \n    def validate_csi_data(self, csi_data: CSIData) -> bool:\n        \"\"\"Validate CSI data structure and values.\n        \n        Args:\n            csi_data: CSI data to validate\n            \n        Returns:\n            True if valid\n            \n        Raises:\n            CSIValidationError: If data is invalid\n        \"\"\"\n        if csi_data.amplitude.size == 0:\n            raise CSIValidationError(\"Empty amplitude data\")\n        \n        if csi_data.phase.size == 0:\n            raise CSIValidationError(\"Empty phase data\")\n        \n        if csi_data.frequency <= 0:\n            raise CSIValidationError(\"Invalid frequency\")\n        \n        if csi_data.bandwidth <= 0:\n            raise CSIValidationError(\"Invalid bandwidth\")\n        \n        if csi_data.num_subcarriers <= 0:\n            raise CSIValidationError(\"Invalid number of subcarriers\")\n        \n        if csi_data.num_antennas <= 0:\n            raise CSIValidationError(\"Invalid number of antennas\")\n        \n        if csi_data.snr < -50 or csi_data.snr > 50:  # Reasonable SNR range\n            raise CSIValidationError(\"Invalid SNR value\")\n        \n        return True\n    ","sourceCodeStart":533,"sourceCodeEnd":569,"githubUrl":"https://github.com/ruvnet/RuView/blob/4685618388a5e49fad5b3005806f3bdd6a7c25c3/archive/v1/src/hardware/csi_extractor.py#L533-L569","documentation":"Error \"Empty phase data\" thrown in ruvnet/RuView.","triggerScenarios":"Thrown at archive/v1/src/hardware/csi_extractor.py:551 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"4685618388a5e49fad5b3005806f3bdd6a7c25c3","analyzedAt":"2026-08-16T06:09:40.886Z","schemaVersion":2},"datasetVersion":"2026-08-16T08:17:34.114Z"}