Skip to content

False positives in viewer relationships. #471

@yifanwu

Description

@yifanwu

Your code:

x = {}
y = {}
z = {}
x['y'] = y
y['z'] = z
z['a'] = 1
y['b'] =2

import lineapy
z_art = lineapy.save(z, "test z")
z_art.code

Issue: The code for the artifact z returns

y = {}
z = {}
y['z'] = z
z['a'] = 1
y['b'] =2

Which includes false positives for the changes in y.

This will require a more fine grained view/mutation tracking than just something between y and z, because if the modification were on y['z'], then the inclusion would be justified.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions