Skip to content

Conversation

@FBartos
Copy link
Collaborator

@FBartos FBartos commented Nov 22, 2024

@FBartos FBartos marked this pull request as ready for review November 22, 2024 16:34
bayesianMetaAnalysisAdvanced.priorH1FEValue = 0.5
bayesianMetaAnalysisAdvanced.priorH0REValue = 0
bayesianMetaAnalysisAdvanced.priorH1REValue = 0
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This won't work: the element has no reference to bayesianMetaAnalysisAdvanced.
It's better to make 4 properties

	property float priorH0FEValue: 0.25
	property float priorH1FEValue: 0.25
	property float priorH0REValue: 0.25
	property float priorH1REValue: 0.25

That can referred by the parent object. I will make a commit for this.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh I see the logic is already implemented in BayesianMetaAnalysisAdvanced.qml, so all this onCheckedChanged can be removed.
I see one difference in the logic: if the value is constrainedRandom, it has here the same value as averaging (0.25 for every properties), but in the BayesianMetaAnalysisAdvanced, as it will take the default value (0).

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I did not change this however, it was added in the rebase


ChangeJS
{
name: "inferenceOutputScale"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why did you move the name property? I think changeJS should have the name of the option you want to change.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I also did not change this however, it was added in the rebase. Not sure how that could have happened? I will ask Don tomorrow, maybe he understands.

@FBartos FBartos mentioned this pull request Nov 27, 2024
@FBartos FBartos closed this Nov 27, 2024
@FBartos FBartos deleted the fixes branch April 20, 2025 13:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants