Coder Social home page Coder Social logo

Comments (2)

seth127 avatar seth127 commented on May 23, 2024

(original post before rewriting as user story)

Summary

The based_on field previously only stored the "model id" a.k.a. the name of the model file without extension. However, this causes collisions when there are nested model directories that have the same file name in them.

Current behavior

The based_on field will store file paths relative to the yaml the field is stored in (still without extensions). This should propogate through to the run_log() output in such a way that the user can trace model ancestry unambiguously.

Possible extension

The run_log tibble (which can be joined easily with log_df <- run_log() %>% add_config()) also contains the model ancestry in the based_on field. This allows establishment of a tree of model ancestry (parents and children of a given model). If a model_ancestry() function is implemented then we could also filter to any children of models that are out-of-date, because those should likely also be re-run.

Decide whether this should be part of this enhancement or should constitute their own separate issue. I think this should be implemented here as well.

from bbr.

seth127 avatar seth127 commented on May 23, 2024

I will likely do #77 in tandem with this because if not we will have to circle back and modify this code to look for both yml and yaml files.

from bbr.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.