TOLOGIX - ISLG App Rebuild

Duplicate References in Jurisprudence Citator on the Rebuild Live Site

Assigned to
Harsh Parikh, Tech Lead at DevIT Harsh P.
Notes
Hi Morgan,

I noticed that there are duplicate references in Jurisprudence Citator on the Rebuild live site. When I check the rebuild admin site, I do not see the same issue
Thanks,

Nafiseh

Comments & Events

Morgan Maguire, CEO
Hi Harsh Parikh, Tech Lead at DevIT Harsh ​,

Nafiseh Arghandehpour, Legal Content Manager at ISLG Nafiseh ​ has provided an example of the issue above, but let's ensure this is resolved across the system.

Thanks,

Morgan
Harsh Parikh, Tech Lead at DevIT
Hi Morgan Maguire, CEO Morgan and Nafiseh Arghandehpour, Legal Content Manager at ISLG Nafiseh ,

We checked and found that Pa228 was tagged 2 times. In Generally and also Paragarph 279.

As per requirement, We are displaying all tagging reference under All Reference  in rebuild.islg. Hence, The All tagging data will be display under All References. That's why it will display multiple times and this things we already conveyed with Melisa.
Morgan Maguire, CEO
Hi Harsh Parikh, Tech Lead at DevIT Harsh ,

First, for some reason I can't access the analysis data within rebuild.islg or staging.islg for IC/0295/03:
Should I be able to access this if the document has been marked as "HTML pending complete"?

Second, looking at a different example of this issue in the Publication Citator raised here: Re: Duplicate References in Publication Citator on the Staging Live Site - TOLOGIX - ISLG App Rebuild with the references to PUB/1273/3302 within IC/0274/01, we appear to have a problem in the way the data was migrated from the legacy application to the new application in both the Jurisprudence Citator and Publication Citator.

Using the example in IC/0274/01, here is how the data referring to PUB/1273/3302 was entered: https://www.investorstatelawguide.com/CoreComponents/PublicationsReferredTo?docid=6884
This shows both specific reference to "Page 1" of PUB/1273/3302 and an All Citations references to PUB/1273/3302.

As we've discussed previously, in the legacy application, in order for a specific reference to appear in both Specific References and General References:

both a specific reference and All Citation reference need to be created for each entry:

As you've pointed out, the new application does not required separate data to generate the All References reference. When a Specific Reference is entered, it automatically gets includes as an All Reference.

As a result of this difference in the way data is stored in the applications, appropriate changes should have been made to the legacy application data before it was uploaded into the new application. For example, with the reference above, there should have only been a specific reference to "Page 1" to PUB/1273/3302 and no general reference to PUB/1273/3302:
In addition, in the example original posted above, for references to IC/475/02 contained within IC/0295/03:  https://www.investorstatelawguide.com/CoreComponents/JurisprudenceReferredTo?docid=12768
the legacy data is further complicated by the fact that it contains both specific references and general references to IC/475/02, which are combined in the All Citation references. Specific references are represented by both a specific reference and All Citation reference:

Whereas the general references are only represented with the All Citation reference:
This means that the data in the IC/0475/02 should have been altered and then uploaded into the new application as follows:
  • Generally - pa130; pa131
  • Paragraph 215 - para146
  • Paragraph 279 - para228
  • Paragraph 301 - para284
  • Paragraph 305 - para286
  • Paragraph 307 - para296
which would have eliminated the double reference within All References.

Now, I'm certain that this issue was raised in preparation for the data migration, but it appears the issue was not addressed and we are going have this problem across both the Jurisprudence Citator and Publication Ciator (this shouldn't be an issue for the Article Citator, because the legacy data was stored differently). As a result, we'll need to fix the problem with data across the system. 

I'm going to add this to the agenda for discuss during our meeting on tomorrow. In the meantime, could you please investigate the issue and come up with some possible solutions for discuss during the meeting.

Thanks,

Morgan
Morgan Maguire, CEO
Hi Harsh Parikh, Tech Lead at DevIT Harsh ,

Following up on our discuss this morning, this issue in the Jurisprudence Citator and Publication Citator needs to be resolved by changing the Analysis data in the new application as follows:
  • Delete any Generally references where ALL the location paragraphs are contained in specific references to the same document:
  • Modify any Generally references by removing any location paragraphs that are the same location paragraphs used for specific references to the same document:
Here is the Analysis list for AF/0001/02, which contains my mark-ups above in the Jurisprudence Citator tab:



Please review and let me know how we should resolve the issue in both the Jurisprudence Citator and Publication Citator.

Thanks,

Morgan
Morgan Maguire, CEO
Hi Harsh Parikh, Tech Lead at DevIT Harsh ​,

After reviewing the issue in the Article Citator where this issue is present as well: https://3.basecamp.com/3691577/buckets/5559242/todos/3385820164, I'm wondering if the simpler solution is to modify the requirements for "All References" so that it automatically combines references from the same paragraph or footnote. In other words, when the location paragraph/footnote is the same between two references, the application automatically suppreses or combines them into a single reference.

This might be simpler than trying to modify the analysis data, and modifying the analysis data wouldn't resolve the issue in the Article Citator.

Let me know your thoughts.

Thanks,

Morgan
Morgan Maguire, CEO
Hi Harsh Parikh, Tech Lead at DevIT Harsh ,

Further to my comment above and our discussion last week about the duplicate references that are appearing within the Article Citator, Jurisprudence Citator and Publication Citator within "All References", I've created the video below to try and explain my proposed solution to this problem across all the different tools.

Essentially the idea is to change the requirements of "All References" under all three tools so that when there are multiple references to an instrument within the same paragraph of a dispute document (example from AF/0003/05):

the systems would identify the redundancy, and only create one paragraph reference within "All Reference":

and would combine all the applicable excerpts into one excerpt:

I know this isn't a simple solution, but it would avoid the need to alter any of the migrated data within the Jurisprudence Citator and Publication Citator, and would resolve the issue across all three tools (rather than just the Jurisprudence Citator and Publication Citator).

Could you and Ketan Sondarva, Technical Project Manager at DevIT Ketan please discuss the viability of this solution compared to altering the data within the Jurisprudence Citator and Publication Citator, and we'll discuss during tomorrow's call.

Thanks,

Morgan

Harsh Parikh, Tech Lead at DevIT
Hi Morgan Maguire, CEO Morgan ,

As discussed, Here, I have attached Excel Sheet which contains 2 tab JC & PC.

These all are the tagged data which we found same Paragraph tagging data in Specific Reference as well as in All References.

The Spread Sheet data contains All References tagged data.


Please review the Sheet and confirm to us. If it is Ok then will remove this Excel Sheet data from database.

Morgan Maguire, CEO
Great. Thanks Harsh Parikh, Tech Lead at DevIT Harsh .

Let me coordinate with Paul Moon Paul on getting this list verified and then we'll get back to you with feedback later this week.

Thanks,

Morgan
Paul Moon
Hi Morgan Maguire, CEO Morgan :

Irit Weinfeld Irit has checked the following UINs, and it seems like Harsh Parikh, Tech Lead at DevIT Harsh 's solution caught everything. 

JP Citator
  • IC/0177/12 
  • IC/0555/01 
  • SC/0042/10 
  • UN/0121/04 
  • IC/0010/06 

Pub Citator
  • IC/0303/01 
  • IC/0231/04 
  • IC/0272/11 
  • SC/0015/70 
  • UN/0171/02 
Thanks,

Paul
Morgan Maguire, CEO
Perfect. Thanks Paul Moon Paul .

Harsh Parikh, Tech Lead at DevIT Harsh , looks like we are ready to delete the entries in your spreadsheet above. As we discussed, please remove the data on staging.islg first, so that we confirm it worked as expected, and then we'll perform the same on app.islg.

Thanks,

Morgan 
Harsh Parikh, Tech Lead at DevIT
Hi Morgan Maguire, CEO Morgan and Paul Moon Paul ,

We have removed  duplicate all references data from JC & PC module on staging.islg.

Please check and confirm.
Morgan Maguire, CEO
Great. Thanks Harsh Parikh, Tech Lead at DevIT Harsh ​.

I'll review the data on staging.islg and confirm whether there are any issues.

Morgan
Morgan Maguire, CEO
Hi Harsh Parikh, Tech Lead at DevIT Harsh ,

Further to the Paul Moon Paul 's comments above and my video below, it looks like the problem has been created by the fact that all of the location references contained within any of the generally referenced flagged in your spreadsheet above were deleted, rather than only the deleting the location references flagged in the spreadsheet. This resulted in deleting "pure" general references where no specific reference exists, and now we have missing data in the tools (as pointed out by Paul Moon Paul 's comments above).

Could you please reperform the fix, but ensure only references to the locations flagged in the spreadsheet are deleted, which means that any other location references contained in the same generally reference would be maintained.



Thanks,

Morgan
Harsh Parikh, Tech Lead at DevIT
Hi Morgan Maguire, CEO Morgan and Paul Moon Paul ,

I see the problem and we revert back the data and again execute query after modification.

As per Paul Moon Paul 's First document example,  We have removed only those duplicate generally Paragraph/footnote tagging data which references to both citation type (specific & generally).

Please see my attached screen shot and checked again on staging.islg.
 
  • The Red  boxes data are only references to generally so those data are visible.
  • The black boxes data are references to particular Specific references so those data also visible in All Reference card.
Morgan Maguire, CEO
Great. Thanks Harsh Parikh, Tech Lead at DevIT Harsh . Let us know when the data is updated and we'll check again.

Thanks,

Morgan
Harsh Parikh, Tech Lead at DevIT
Hi Morgan Maguire, CEO Morgan ,

The data is updated on staging.islg for both jc and pc tool on staging.islg. please check and confirm.
Morgan Maguire, CEO
Hi Harsh Parikh, Tech Lead at DevIT Harsh ,

Thanks for turning that around so quickly.

Paul Moon Paul , after my initial look at the analysis, everything looks good, but could and Irit Weinfeld Irit take a look to confirm.

Thanks,

Morgan
Paul Moon
Hi Harsh Parikh, Tech Lead at DevIT Harsh :

The issue is resolved for JC and PC only when I checked IC/0092/02 analysis list. Irit Weinfeld Irit : please randomly pick a few UINs and confirm as well.

Thanks,

Paul
Irit Weinfeld
Hi Morgan Maguire, CEO Morgan , Paul Moon Paul and Harsh Parikh, Tech Lead at DevIT Harsh ,

For JP Citator, I picked three UINs to test (IC/0042/01, IC/0046/02 and UN/0140/01). The issue is resolved.  You can implement the updates on app.islg.

Thank you,
Irit
Harsh Parikh, Tech Lead at DevIT
Hi Morgan Maguire, CEO Morgan , Irit Weinfeld Irit and Paul Moon Paul ,

We have updated the duplicate data on app.islg. Please check and complete this task.
Morgan Maguire, CEO
Great. Thanks Harsh Parikh, Tech Lead at DevIT Harsh .

Paul Moon Paul and Irit Weinfeld Irit , could you please confirm that everything looks good on app.islg for both the JP and PB Citators.

Thanks,

Morgan
Irit Weinfeld
Hi Morgan Maguire, CEO Morgan , Paul Moon Paul and Harsh Parikh, Tech Lead at DevIT Harsh ,

Both JP and PB Citators look good on app.islg.  This issue has been resolved. 

Thank you,
Irit
Morgan Maguire, CEO
Morgan Maguire completed this to-do.