End-to-end-provenance / RDataTracker

An R library to collect provenance from R scripts.
http://end-to-end-provenance.github.io/
GNU General Public License v3.0
39 stars 6 forks source link

Generated Provenance file appears to be missing values #659

Open jyoo980 opened 3 years ago

jyoo980 commented 3 years ago

Hello šŸ‘‹

I'm a student over at UBC taking a graduate OS course with Prof. Margo Seltzer. I'm using rdt to collect provenance data in order to implement a new feature for a provenance debugger that another student worked on in the past.

Recently (or maybe I'm just noticing this now), I have noticed that some of the procedure nodes are not being accurately reported. For example, a conditional statement may be missing a brace or two, or otherwise have truncated information.

I've attached a minimum example that appears to reproduce the issue, as well as the provenance file that is generated from running the following on the command line:

cc @Alison-Li

Workflow

% R
% library(rdt)
% prov.run("test.R")

Test file: test.R

x <- 1

if (x == 1) {
    print("Is this going to get cut off?")
} else {
    print("This branch should not execute but should still be preserved...")
}

Generated prov.json

jyoo980 commented 3 years ago

Additional information