zooniverse / caesar

Backend automation and orchestration
https://zooniverse.github.io/caesar
Apache License 2.0
13 stars 13 forks source link

SubjectReductionsController#index doesn't return public extracts #617

Open amy-langley opened 5 years ago

amy-langley commented 5 years ago

https://caesar.zooniverse.org/workflows/121/subject_reductions

and

https://caesar.zooniverse.org/workflows/205/subject_reductions

should contain a ton of public reductions

amy-langley commented 5 years ago

Oddly, I get a bunch back from:

irb(main):026:0> SubjectReductionPolicy.new(Credential.new, SubjectReduction.new).scope.where(reducible_id: 121, reducible_type: 'Workflow').count
=> 24299

Need to write some tests to explore why this isn't behaving