question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[BUG] GUI utilizes hierarchy incorrectly

See original GitHub issue

From #403, the issue relating to the priority-based hierarchy builder appears to be only tangentially related and I was asked to create it as a separate issue.

The hierarchy that is created via the priority-based hierarchy ends up with a different output compared to making the same data transformation manually.

In the case mentioned, the anonymization step used a level that didn’t exist when you reference the data-transformation - null is kept while White is dropped, and thus produced a sub-optimal output.

Original Message:


prasser There’s something funky with the underlying hierarchy currently.

The hierarchy creation functionality works great and exactly as I’d like! Though a bit backwards. Highest to lowest is the default option, which goes in exact opposite order than what I’d expect. The mode of the data should be the last one to be dropped instead of the first with frequency prioritization (highest to lowest).

The issue I’m seeing is that the anonymizing doesn’t apply the hierarchy as it displays in the “data transformation” tab.

On a dataset I’m using, (unfortunately I can’t paste it for easy reference), the hierarchy when generating lowest to highest (to ensure that the mode of the data is the last dropped), looks like this: image If I generate the results, I see that it decides to drop the Race column instead of keeping “White” only, which is the result I got when I manually created this hierarchy earlier.

image

I can find the exact value that I used originally for this data set when I look for “Non-anonymous” transformations, which is really odd, because like I said, it should be the same result. image

image

Instead of keeping “White”, it kept “” (empty) as “Level-3” Race. I also tried the “Highest to Lowest” option, and the same result occurred.

When I edit the hierarchy and tell it to remove the underlying representation of the current hierarchy, it suddenly works exactly as it should, with the same results as v3.9.0 and the manual transformation settings I put together. image

image image

_Originally posted by @ZachHaber in https://github.com/arx-deidentifier/arx/issues/403#issuecomment-1230492046_

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:8

github_iconTop GitHub Comments

1reaction
prassercommented, Sep 10, 2022

Ok, thanks! I can now see that problem. I’m sure that it’s not related to compilation.

0reactions
prassercommented, Sep 14, 2022

Thanks. Resolved.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Trace Graph has wrong service hierarchy · Issue #315 - GitHub
Accurate service hierarchy in the new Trace Graph view. Problem - what in Jaeger blocks you from solving the requirement?
Read more >
Canvas hierarchy/drawing order broken after upgrade to Unity ...
The game's UI is based on a single Canvas (Screen Space - Overlay) GameObject hierarchy that had no issues in Unity 2020.3.
Read more >
Utilizing the Debug View Hierarchy to better understand your ...
The Debug View Hierarchy is especially useful during UI debugging if you're programmatically creating views instead of utilizing UI interfaces.
Read more >
Performance and view hierarchies - Android Developers
Android Layouts allow you to nest UI objects in the view hierarchy. ... Layout performance is a complex problem with many facets.
Read more >
SAP message HRPAYTR02831 The hierarchy is incorrect
What causes this issue? There are characteristic values which have additional nodes or characteristic values attached to them. This is not allowed because ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found