Bug 310112 - verbs duplicated in conjugation practise (times no. of personal pronouns)
Summary: verbs duplicated in conjugation practise (times no. of personal pronouns)
Status: RESOLVED WORKSFORME
Alias: None
Product: parley
Classification: Applications
Component: general (other bugs)
Version First Reported In: 0.9.4
Platform: NetBSD pkgsrc Linux
: NOR normal
Target Milestone: ---
Assignee: parley bug tracker
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-14 18:37 UTC by kdebugs
Modified: 2023-01-19 05:17 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
take testEntries.append() out of the per-pronoun loop (1.05 KB, patch)
2012-11-14 18:43 UTC, kdebugs
Details
the dummy.kvtml for demonstrating the problem (5.92 KB, application/x-kvtml)
2012-11-14 19:01 UTC, kdebugs
Details

Note You need to log in before you can comment on or make changes to this bug.
Description kdebugs 2012-11-14 18:37:43 UTC
in file src/practice/entryfilter.cpp,  function EntryFilter::conjugationTestEntries():
when constructing the testEntries list, each verb is added again and again for every personal pronoun found active in the (non-blocked) vocabulary, instead of only once.

Finally the testEntries list can grow as large as (no_of_verbs x no_of_personal_pronouns).


Reproducible: Always

Steps to Reproduce:
1. load dummy.kvtml. It contains 4 verbs (d1, d2, d3, d4)
2. under "Practice Mode", select "Conjugations", and mark tense "t1"
3. click "Start Practice" => 12 test entries
Actual Results:  
parley wants to test 12 conjugations (when there are only 4 verbs)

Expected Results:  
should test just 4 verbs

relevant part of debug output:
parley(10252) Practice::TestEntryManager::setDocument: Test from:  "German"  to:  "dummy"
parley(10252) Practice::EntryFilter::EntryFilter: Filter for  1  to  0
parley(10252) Practice::EntryFilter::EntryFilter: Tenses ("t1")
parley(10252) Practice::EntryFilter::expireEntries: Expired words dropped their grade:  0
parley(10252) Practice::EntryFilter::cleanupInvalid: Invalid items removed. Remaining:  4
parley(10252) Practice::EntryFilter::entries: Document contains  4  valid entries.
parley(10252) Practice::EntryFilter::conjugationTestEntries: Filtering conjugation entries for tenses...  ("t1")
parley(10252) Practice::TestEntryManager::setDocument: Found  24  entries after filtering.
parley(10252) ConjugationOptions::updateSettings: Save language selection
Comment 1 kdebugs 2012-11-14 18:43:15 UTC
Created attachment 75268 [details]
take testEntries.append() out of the per-pronoun loop

alternatively, a break statement right after testEntries.append() might also do the job.
Comment 2 kdebugs 2012-11-14 19:01:43 UTC
Created attachment 75269 [details]
the dummy.kvtml for demonstrating the problem

this is a minimalistic parley file to demonstrate the problem with practicing conjugations
Comment 3 Andrew Crouthamel 2018-11-09 00:56:34 UTC
Dear Bug Submitter,

This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Andrew Crouthamel 2018-11-18 03:31:00 UTC
Dear Bug Submitter,

This is a reminder that this bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? This bug will be moved back to REPORTED Status for manual review later, which may take a while. If you are able to, please lend us a hand.

Thank you for helping us make KDE software even better for everyone!
Comment 5 Justin Zobel 2022-12-20 22:52:03 UTC
Thank you for reporting this issue in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the issue with a recent software version?

If you can reproduce the issue, please change the status to "REPORTED" when replying. Thank you!
Comment 6 Bug Janitor Service 2023-01-04 05:26:47 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 7 Bug Janitor Service 2023-01-19 05:17:04 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!