Issues with Collector in the new sampler

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #11568 Score: 0
    Travis Weiland
    Participant

    Hi All,

    I have been playing with the new sampler and i am running into an issue with the collector. In particular, I am using a sample from the census microdata portal which I have flattened. When I go to get 100 samples of 10 items with replacement I am ending up with one sample with 1000 items. Not sure if it is a bug or I am doing something wrong.

    #11569
    Bill Finzer
    Keymaster

    Hi Travis,

    Definitely a bug! Almost certainly it came about near the end of this round of development when we introduced some optimization to make the Sampler run faster in “Fastest” mode.

    We’ll get on it as quickly as we can.

    Thanks for the report.

    Bill

    #11577
    Bill Finzer
    Keymaster

    Hi Travis,

    We’ve discovered that the source of the problem is that the microdata dataset has an attribute named “sample” and the Sampler creates its own attribute with the same name. It then gets confused when collecting samples. A workaround is for you to rename the microdata attribute to something else, like “microdata sample.” Then the Sampler will do the right thing.

    Meanwhile we’re fixing the Sampler to detect the name collision and use an alternate name for the attribute it creates.

    #11655
    Bill Finzer
    Keymaster

    Hi again,

    We released a new version of the Sampler this morning that fixes the bug you found.

    Bill

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.