Uploaded image for project: 'Data Management'
  1. Data Management
  2. DM-4688

Changed the implementation of HistogramProcessorTest due to the minor change about the algorithm in the HistogramProcessor

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Done
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: buildbot, SUIT
    • Labels:
      None

      Description

      In Histogram, when the data points fall on the bin edges, the following rules are used:

      1. For each bin, it contains the data points fall inside the bin and the data point fall on the left edge. For example, if binSize=2, the bin[0] is in the range of [0,2]. The data value 0 is in bin[0] .
      2. For each bin, the data point falls on the right edge is not included in the number point count. For example if binSize=2, the bin[0] is having the range of [0,2]. The data value 0 is in bin[0] but the data value 2 is not in the bin[0].
      3. For the last bin, the data points fall inside the bin or fall on the left or right bin are counted as the number of bin points.

      The last rule is newly introduced.

        Attachments

          Activity

          Hide
          zhang Lijun Zhang [X] (Inactive) added a comment -
          • The three rules above was implemented.
          • The histogram plot is not right for variable size bin. The bug is detected and was fixed.
          • The corresponding test harness was updated according to the new rules.
          Show
          zhang Lijun Zhang [X] (Inactive) added a comment - The three rules above was implemented. The histogram plot is not right for variable size bin. The bug is detected and was fixed. The corresponding test harness was updated according to the new rules.
          Hide
          zhang Lijun Zhang [X] (Inactive) added a comment -

          This ticket implemented as explained in the description section and the comment section.

          Show
          zhang Lijun Zhang [X] (Inactive) added a comment - This ticket implemented as explained in the description section and the comment section.

            People

            Assignee:
            zhang Lijun Zhang [X] (Inactive)
            Reporter:
            zhang Lijun Zhang [X] (Inactive)
            Watchers:
            Lijun Zhang [X] (Inactive), Tatiana Goldina, Xiuqin Wu [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Due:
              Created:
              Updated:
              Resolved:

                Jenkins

                No builds found.