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

Add View find-solution-title-duplications #659

Merged
merged 1 commit into from
Oct 25, 2023

Conversation

reinhardt
Copy link
Contributor

syslabcom/scrum#1550

@reinhardt reinhardt requested a review from thet October 25, 2023 10:23
@reinhardt reinhardt force-pushed the scrum-1550-solution-title-duplications branch from 42a57ca to 6588c25 Compare October 25, 2023 10:26
Copy link
Member

@thet thet left a comment

Choose a reason for hiding this comment

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

I think I have found something, but I'm not sure. If the code is OK, feel free to merge.

Note: this will not do the check if the the title in the beginning of the text would be necessary for the semantic of the description. But this wasn't asked for in the first step either.

)
for brain in brains:
obj = brain.getObject()
if obj.description in obj.action:
Copy link
Member

Choose a reason for hiding this comment

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

shouldn't it be the other way around? assuming that obj.action is the title...

Suggested change
if obj.description in obj.action:
if obj.action in obj.description:

Copy link
Contributor Author

Choose a reason for hiding this comment

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

No, this is an oira weirdness. What the ticket calls the title is in the description attribute and what it calls the description is actually the action attribute.

@reinhardt reinhardt merged commit 9e18221 into main Oct 25, 2023
1 check passed
@reinhardt reinhardt deleted the scrum-1550-solution-title-duplications branch October 25, 2023 14:14
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