Uploaded image for project: 'ERM Platform'
  1. ERM Platform
  2. ERM-1055

Comparison report "overlap" discrepancy

    XMLWordPrintable

Details

    • ERM Sprint 96, ERM Sprint 97, ERM Sprint 98
    • Bienenvolk

    Description

      The below comparison report has an issue:

      The below title does not exist in the package, only the agreement, yet the overlap indicates that does.

      This is the json for the row.

      {
            "overlap":"partial",
            "availability":{
               "57d40c9f-6ec6-4990-8f8c-b8ac678ac5b4":{
                  "coverage":{
                     "8452ddd1-1d02-4367-b839-8ac25ad137f4":{
                        "statements":[
                           {
                              "startDate":"2002-01-01",
                              "endDate":"2009-12-31",
                              "startVolume":"1",
                              "startIssue":"1",
                              "endVolume":"8",
                              "endIssue":"12"
                           }
                        ],
                        "embargo":{
                           "movingWallStart":{
                              "length":10,
                              "unit":"years"
                           },
                           "movingWallEnd":{
                              "length":1,
                              "unit":"months"
                           }
                        },
                        "occurrences":{
                           "03b53dae-3949-420a-9599-3b44d906d6ed":true
                        }
                     }
                  },
                  "platform":"JSTOR",
                  "url":"http://jstor.org/amle/",
                  "name":"'Academy of Management Learning & Education' on Platform 'JSTOR'",
                  "longName":"'Academy of Management Learning & Education' on Platform 'JSTOR'"
               },
               "b576d33b-235b-439b-b603-6c629167214b":{
                  "coverage":{
                     "ad4f3556-489a-4356-86af-af1155e693df":{
                        "statements":[
                           {
                              "startDate":"2002-01-01",
                              "endDate":"2009-12-31",
                              "startVolume":"1",
                              "startIssue":"1",
                              "endVolume":"8",
                              "endIssue":"12"
                           }
                        ],
                        "occurrences":{
                           "03b53dae-3949-420a-9599-3b44d906d6ed":true
                        }
                     },
                     "cefe0721-b9ea-45cd-9b18-dd8ea278d5ff":{
                        "statements":[
                           {
                              "startDate":"2010-01-01",
                              "endDate":null,
                              "startVolume":"9",
                              "startIssue":"1",
                              "endVolume":null,
                              "endIssue":null
                           }
                        ],
                        "occurrences":{
                           "03b53dae-3949-420a-9599-3b44d906d6ed":true
                        }
                     }
                  },
                  "platform":"Academy of Management",
                  "url":"http://aom.org/amle/",
                  "name":"'Academy of Management Learning & Education' on Platform 'Academy of Management'",
                  "longName":"'Academy of Management Learning & Education' on Platform 'Academy of Management'"
               }
            }
      
      

      To recreate the issue:

      Local KB admin app

      1. Upload "initialise_packages_new.json" to create a set of comparison packages initialise_packages_new.json
      2. Upload "package-with-ids.json" to create the test package called "Title with several IDs" package-with-ids.json
        (note you could pretty much use any existing package in the Local KB in place of this)

      Agreements app

      1. Add packages "comparison_package_1" and "comparison_package_2" to basket
      2. Open basket and create new agreement with both packages - status=active, date from=today's date

      ERM comparisons app

      1. Create new report
      2. Add the agreement, use default date
      3. Add package called "package_title_with_IDs", use default date
      4. Save report and view it

      The report will contain the title "Academy of learning Management & Education" and the Overlap column will indicate Partial overlap.

      When the Agreement only contains "comparison_package_1" the overlap column indicates "None", which is correct. The overlap only becomes incorrect when the agreement contains versions of the title with different coverage. It's as if the Overlap value is being calculated based on a comparison of the packages attached to the agreement
      i.e. A vs B vs C, rather than (A+B) vs C.

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                ostephens Owen Stephens
                gosguthorpe Gill Osguthorpe
                Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases