Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Outstanding issues in composer #81

Open
fsaad opened this issue Oct 24, 2015 · 4 comments
Open

Outstanding issues in composer #81

fsaad opened this issue Oct 24, 2015 · 4 comments

Comments

@fsaad
Copy link
Collaborator

fsaad commented Oct 24, 2015

According @axch

  • Um, include the casefold in the presence check at composer.py:178,
    if that's what you meant.
  • Line 207: What are locls, fcols, pcols, and fpreds? Can we make the
    names more descriptive?
    • Might not be a bad idea to define a container class for the
      "hodgepodge", named something like "Configuration" or "Schema".
    • Actually, a namedtuple will probably do
  • What's with the comment on line 215? Is that an example value?
    If so, call it that and fix it (underscore)
  • Line 230: Why is this a bql query instead of a call to the metamodel
    API?
    • If it remains a BQL query, should quote the elements properly
  • Line 305: Quote the cc_name
  • Line 314: Why is this a BQL query intead of a call to the metamodel
    API?
    • Is there any robust way to pass the set of modelnos through, to
      maintain the intended 1-1 mapping between composer model numbers
      and underlying crosscat model numbers?
  • Line 514: Is this actually correct? Looks like a type error:
    checking whether a tuple is in "ignore", even though that
    accumulates just the columns. Would manifest as failing to ignore
    things it should ignore.
    • If you are not sure, this would be a good thing to poke with a
      test.
    • We also know how to build the ignore table better, per Taylor's
      review of predictive_probability.
@fsaad
Copy link
Collaborator Author

fsaad commented Oct 24, 2015

Um, include the casefold in the presence check at composer.py:178, if that's what you meant.
Will fix.

Line 207: What are locls, fcols, pcols, and fpreds? Can we make the names more descriptive?
The docstring for parse contains all the definitions.

What's with the comment on line 215? Is that an example value? If so, call it that and fix it (underscore)
Should remove -- artifact of old code that hardcored the schema.

Line 230: Why is this a bql query instead of a call to the metamodel API?
Must be a BQL query since calling CREATE GENERATOR does an array of important stuff to make the sure the generator is successfully initialized before calling the create_generator function of the metamodel. Invoking this method directly results a half-baked generator.

Line 514: Is this actually correct?
No, it is a bug.

We also know how to build the ignore table better, per Taylor's review of predictive_probability.
I implemented the 'better' implementation, if better means O(m+n) not O(mn), in the crosscat code before merging that branch. Can migrate same algorithm here if required.

fsaad pushed a commit that referenced this issue Oct 24, 2015
@fsaad
Copy link
Collaborator Author

fsaad commented Oct 24, 2015

If it remains a BQL query, should quote the elements properly
Should make sure we use the table name, not satellites!

@gregory-marton
Copy link
Contributor

@fsaad, status update?

@fsaad
Copy link
Collaborator Author

fsaad commented Dec 22, 2015

No updates, I took a hiatus from composer since writing those comments. These issues are likely to be revisited in the near future

jayelm pushed a commit to jayelm/bdbcontrib that referenced this issue Apr 11, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants