Giter Site home page Giter Site logo

Design for d6tflow framework about veniq HOT 6 OPEN

cqfn avatar cqfn commented on June 16, 2024
Design for d6tflow framework

from veniq.

Comments (6)

KatGarmash avatar KatGarmash commented on June 16, 2024

@lyriccoder can you please write this issue in terms of Problem and Proposed solution

Also, give the issue a more informative name

from veniq.

lyriccoder avatar lyriccoder commented on June 16, 2024

Bonobo can run tasks in parallel (it is written, i can't check it).
Also, it can run child tasks automatically.

I didn't solve the issue with aggregation of results to global csv:
transform

from veniq.

KatGarmash avatar KatGarmash commented on June 16, 2024

@lyriccoder

Some comments:
(1) step find_EMS: do we need to extract AST at this stage? it's an expensive operation (i think) and it'd be nice to do it after filtering
(2) in the abstract representation of the dataflow, I'd merge filters into one "Filter", as we may modify the sequence of filters in the future
(3) in ur representation of dataflow, you write "prev filters": you don't actually pass filters, but some filtered items. can you specify them?

from veniq.

lyriccoder avatar lyriccoder commented on June 16, 2024
  1. Of course we need, how can we compare method declaration and method invocation and iterate over all methods?
    We can do it only with ast
  2. I've done it since we can omit some filter, if we merge them we wont; be able to discard them one by one
  3. It's the previous results, you are right. It has previous results and plus one filter.

E.g., if we filter by ncss, we add to the all data ncss value. If we filter invocations by the SINGLE_STATEMENT_IN_IF filter, we add it to the final result

from veniq.

KatGarmash avatar KatGarmash commented on June 16, 2024

(1) OK. do we need to pass the AST to the next step then?

(2) I meant, just have a more abstract representation processing steps. Merging them is a way of abstraction

(3) Filter is not data, it s an operator. Or do you mean something else by "filter"? The edges have to be labeled with data only. Nodes are operators. You can maybe write "filters(data)"

from veniq.

lyriccoder avatar lyriccoder commented on June 16, 2024
  1. we need full ast for inlining
  2. --
  3. I need to replace the word filter with data

from veniq.

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.