Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -277,6 +277,7 @@ abstract class ApiWsStructureMutator : StructureMutator() {
val oldSqlActions = mutableListOf<EnvironmentAction>().plus(ind.seeInitializingActions())

val failedWhereQueries = evaluatedIndividual.fitness.getViewOfAggregatedFailedWhereQueries()
.filter { it.isNotBlank() }
Comment thread
jgaleotti marked this conversation as resolved.
Outdated
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

how is it possible that a query is empty? or is it possibly a bug where those queries are collected? see below:

Image

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Hey! You are right, I moved the fix to that function

val addedSqlInsertions = handleFailedWhereSQL(ind, fw, failedWhereQueries, mutatedGenes, sampler)

ind.repairInitializationActions(randomness)
Expand Down
Loading