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

Remove readDataSetToEnd #108

Merged
merged 11 commits into from
Dec 9, 2024
Merged

Conversation

maltelueken
Copy link
Collaborator

@maltelueken maltelueken commented Oct 10, 2024

@maltelueken
Copy link
Collaborator Author

Some tests are failing, but these were failing before.

@maltelueken
Copy link
Collaborator Author

@JohnnyDoorn or @tomtomme, could you check this PR?

R/classicProcess.R Outdated Show resolved Hide resolved
@shun2wang
Copy link
Contributor

shun2wang commented Nov 28, 2024

ModerationBugAlbumSales_2.jasp.zip
Hi @maltelueken I tried this PR and it have other problems with this file (remove .zip) , thanks.

If @JohnnyDoorn have no other comments then we can merge it.

@maltelueken
Copy link
Collaborator Author

It seems like the QML constraints are broken (usually an error message appears if you select the same variable twice in one row). I don't know how to fix this since the QML code should still be correct. @boutinb, do you have an idea what could be wrong?

@shun2wang
Copy link
Contributor

shun2wang commented Dec 2, 2024

It seems like the QML constraints are broken...

OK then we can leave it to fix after release because it just a bad/accident behavior of "user" side. I will make another issue to track it.

shun2wang
shun2wang previously approved these changes Dec 2, 2024
@boutinb
Copy link
Contributor

boutinb commented Dec 2, 2024

I have added a commit to fix some problems with the width of the dropdowns in the Input Variables.
Be careful: this will work only with the newest Nightly (it is now building): the fixedWidth property was not settable until now.
In this commit I also change the allowedColumns in the "Mediators M" VariablesList of the InputModelNumber from ["scale", "ordinal"] to ["scale", "nominal"], because if I added a variable from the Categorical Predictors (which is Nominal), it transformed into a scale because it was neither a scale or an ordinal.

But when testing I saw other problems: I have tested the data sent by @shun2wang, and got this error:
Screenshot 2024-12-02 at 17 12 02

@maltelueken
Copy link
Collaborator Author

Thanks! I cannot reproduce your error, can you send the JASP file?

@boutinb
Copy link
Contributor

boutinb commented Dec 3, 2024

Thanks! I cannot reproduce your error, can you send the JASP file?

I see that there is another problem when reading a JASP file with such an analysis. I'll have a look.
But the problem I described can be found by loading this csv file:

  • add a Classical Process Model
  • add adverts to the Dependent Variable
  • add sales and airplay to Continuous Predictors
  • in Model 1, set From: sales, To: adverts, Process Type: Mediator, Process Variable: sales.

Then you get the analysis error.

ModerationBugAlbumSales.csv

@shun2wang
Copy link
Contributor

shun2wang commented Dec 3, 2024

With Bruno's commit and latest build I found the "model" input fields was showing blank in "Classic Process Model" after you load that .jasp file above. click it has noting to do... @boutinb do you notice that?

@boutinb
Copy link
Contributor

boutinb commented Dec 3, 2024

With Bruno's commit and latest build I found the "model" input fields was showing blank in "Classic Process Model" after you load that .jasp file above. click it has noting to do... @boutinb do you notice that?

Yes....

@boutinb
Copy link
Contributor

boutinb commented Dec 5, 2024

It took some time, but I have made a PR that will solve the QML issue: jasp-stats/jasp-desktop#5753
When it is implemented, you can try again.

@shun2wang
Copy link
Contributor

OK, I tried this with that PR and now QML problems seems solved. an R error still live.

@boutinb
Copy link
Contributor

boutinb commented Dec 6, 2024

The last development in the Nightly has my PR https://static.jasp-stats.org/Nightlies/
If you use your jaspProcess as development module, then I still get the error as I described:

  • add a Classical Process Model
  • add adverts to the Dependent Variable
  • add sales and airplay to Continuous Predictors
  • in Model 1, set From: sales, To: adverts, Process Type: Mediator, Process Variable: sales.

Screenshot 2024-12-06 at 16 23 52

@maltelueken
Copy link
Collaborator Author

maltelueken commented Dec 8, 2024

When I use the nighly from 6-12 (2afd5f9), I get the following error:

image

I deleted the cache and used the latest commit of this branch.

In your screenshot, you used the one variable twice in the same row. Previously, QML would return an error in this case and the analysis would not run (which is why this error occurs). Is it possible to fix the QML to return this error again? The code to do that hasn't changed but it does not seem to work anymore.

@shun2wang
Copy link
Contributor

shun2wang commented Dec 9, 2024

Yes, that shoudn't block this PR, I have made another issue to track it and fix it after this release.

@shun2wang shun2wang merged commit aefbcef into jasp-stats:master Dec 9, 2024
2 of 5 checks passed
@boutinb
Copy link
Contributor

boutinb commented Dec 9, 2024

When I use the nighly from 6-12 (2afd5f9), I get the following error:

image

I deleted the cache and used the latest commit of this branch.

In your screenshot, you used the one variable twice in the same row. Previously, QML would return an error in this case and the analysis would not run (which is why this error occurs). Is it possible to fix the QML to return this error again? The code to do that hasn't changed but it does not seem to work anymore.

You did not have my last commit on this PR: I removed the controlMinWidth in QML

I will try to fix the row validation issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants