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

Shadow() does not work when fixed-theta item selection is used #132

Closed
SangdonLim opened this issue Jun 26, 2022 · 0 comments · Fixed by #133
Closed

Shadow() does not work when fixed-theta item selection is used #132

SangdonLim opened this issue Jun 26, 2022 · 0 comments · Fixed by #133
Labels
bug Something isn't working

Comments

@SangdonLim
Copy link
Collaborator

Package Version

  • TestDesign 1.3.3

Current Behavior

  • Shadow() raises the following error when fixed-theta item selection is used:
Error in runAssembly(config, constraints, xdata = xdata_elg, objective = info) : 
  length of 'objective' must be 1000 or 1000

Expected Behavior

  • Shadow() should not raise the above error.

Steps to Reproduce

library(TestDesign)
cfg <- createShadowTestConfig()
  item_selection = list(
    method = "FIXED",
    fixed_theta = 1
  )
)
o <- Shadow(cfg, constraints_science, true_theta = rnorm(1))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant