Skip to content

Added more tests with MuTalk#26

Merged
jordanmontt merged 8 commits intopharo-ai:masterfrom
DurieuxPol:feat/mutalk
Mar 1, 2026
Merged

Added more tests with MuTalk#26
jordanmontt merged 8 commits intopharo-ai:masterfrom
DurieuxPol:feat/mutalk

Conversation

@DurieuxPol
Copy link
Copy Markdown
Contributor

I applied MuTalk to add more tests.

testPackages := { 'AI-LinearModels-Tests' }.

analysis := MTAnalysis new
	            classesToMutate: {
			            AIAbstractLinearModel.
			            AILinearRegression.
			            AILogisticRegression.
			            AILinearRegressionLeastSquares };
	            testPackages: testPackages;
	            testFilter: MTFreeTestFilter new.

analysis run.
analysis generalResult inspect

This gives a mutation score of 91% (meaning 91% of mutants were killed).
I didn't mutate the manifest and the exception as they are not tested, and don't need to be I guess.
I also didn't mutate AILinearRegressionLeastSquares because it still doesn't work correctly in some cases, which I will investigate.

Comment thread src/AI-LinearModels/AILogisticRegression.class.st
Comment thread src/AI-LinearModels/AIAbstractLinearModel.class.st
@DurieuxPol DurieuxPol changed the title Feat/mutalk Added more tests with MuTalk Feb 25, 2026
@jordanmontt jordanmontt merged commit 4268774 into pharo-ai:master Mar 1, 2026
11 of 12 checks passed
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.

2 participants