问题描述
我正在尝试使用 Stryker JS,以便我们可以在构建/部署过程中测试 Angular 应用程序中的更改。
我们工作的所有存储库都使用 SVN 进行版本控制。不幸的是,Stryker 使用 # the trick is to include all the variables in wide format and then
# let dfidx() do the magic INSIDE the my_fit_for_mlogit() function.
tr <- mob(formula = y_wide ~
x1.1 + x2.1 + x1.2 +
x2.2 + x1.3 + x2.3 +
id_choice + id_ind + 0 | z1,data = df_wide,fit = my_fit_for_mlogit,cluster = id_ind,control = mob_control(ytype = "data.frame",xtype = "data.frame",alpha = 0.99,# This is just for illustration
minsize = 6))
# Model-based recursive partitioning (my_fit_for_mlogit)
#
# Model formula:
# y_wide ~ x1.1 + x2.1 + x1.2 + x2.2 + x1.3 + x2.3 + id_choice +
# id_ind + 0 | z1
#
# Fitted party:
# [1] root
# | [2] z1 <= 0.48979: n = 9
# | (Intercept):2 (Intercept):3 x1 x2
# | -3.3989117 0.3696964 0.9647511 2.5129869
# | [3] z1 > 0.48979: n = 6
# | (Intercept):2 (Intercept):3 x1 x2
# | 45.77874 -11.51773 21.72540 31.29221
#
# Number of inner nodes: 1
# Number of terminal nodes: 2
# Number of parameters per node: 4
# Objective function: 4.605233
启动沙箱进行测试,因此运行 git ls-files
会导致以下错误:
stryker run
有没有人找到在基于 SVN 的存储库中成功运行 Stryker 的解决方法?
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)