code: def test_ae_fit_score_unrolled(self):
      y = self.create_data()
      ad = AEDetector(roll_len=0)
      ad.fit(y)
      anomaly_scores = ad.score()
      assert len(anomaly_scores) == len(y)
      anomaly_indexes = ad.anomaly_indexes()
      assert len(anomaly_indexes) == int(ad.ratio * len(y))
  
file_path: analytics-zoo/pyzoo/test/zoo/chronos/detector/anomaly/test_ae_detector.py
imports: import pytest
  import numpy
  from test.zoo.pipeline.utils.test_utils import ZooTestCase
  from zoo.chronos.detector.anomaly.ae_detector import AEDetector
label_desc: Use image node_id 6 for calling the TestAEDetector obj's underlying member method code with example usage: obj.test_ae_fit_score_unrolled() without return types