Skip to content

2022 08 19 join static and dynamic

Artem Pelenitsyn edited this page Mar 1, 2023 · 1 revision

Join Static And Dynamic

Tables and Structure

Relevant tables in the reports:

  • dynamic: $pkgname/stability-stats-per-method.csv
  • static: $pkgname.csv

It seems we should join on filename and line because only function name and even method signature may be ambiguous.

Examples of filename column values:

  • /home/artem/.julia/packages/Multisets/el2PS/src/Multisets.jl
  • /home/artem/s/scratch/multisets/dynamic/Multisets/depot/packages/Multisets/YrmMG/src/Multisets.jl

To use the filename column, it should be first normalized:

  1. Prefix is dependent on the location of depot and should be stripped. That’s everything until packages.
  2. There’s an extra directory named with random hex digits that needs to be handled. Conjecture: for a fixed package name and version (and Julia version? but we should freeze that) the name of that directory should be fixed.

Immediate tasks

  • update interface of the static part to accept package versions;
  • strip prefixes in both.