Why does replaying our FR5 inspection export add accepted brackets?

BeatriceBowen · 6 Feb 2026, 01:23 UTC

Closed
BE
BeatriceBowen
I replayed yesterday's inspection export to rebuild our dashboard and the accepted bracket total rose again. The readings did not change. Some brackets have reviewed retries, so I need a proper item total without erasing what failed first.

13 replies

AN
AnilBell0636
Replying to BeatriceBowen

Rebuilding should give the same answer from the same inputs. Is the dashboard adding each pass event to its existing total instead of rebuilding the accepted-item set?

24 points
BE
BeatriceBowen
Replying to AnilBell0636

Yes. It loads the old number and increments for every pass row. There are item identities, attempt identities and quality decisions in the export. The counter uses almost none of them.

12 points
CA
CarlaBrooks0836
Replying to BeatriceBowen

I inherited one like that. It was written as a live display, then somebody added import without changing the counting logic. Do not repair it by subtracting a guessed number of retries. Build the total from the item decisions and make importing the same event again harmless.

12 points
NI
NinaAllen0327
Replying to BeatriceBowen

Who decides which retry result is current?

13 points
AN
AnilBell0636
Replying to NinaAllen0327

And keep an unresolved decision out of accepted. A later raw pass may still be waiting for quality to review it.

19 points
BE
BeatriceBowen
Replying to NinaAllen0327

Quality owns the current decision, Nina. The reviewed retry has a decision reference; an unreviewed pass does not replace the earlier rejection. I've given those examples to our programmer.

23 points
TO
TobyAllen0318
Replying to BeatriceBowen

Did the export include brackets that were never inspected, or do those only exist in the planned batch list?

10 points
BE
BeatriceBowen
Replying to TobyAllen0318

Only inspected brackets are in the export. The batch list is separate. We cannot call the absent ones accepted or rejected just because there is no row.

9 points
CA
CarlaBrooks0836
Replying to BeatriceBowen

Toby's point is useful for the screen: show planned, accepted and still requiring a decision without pretending those are all inspection attempts. The old attempt history can stay available below the item view.

7 points
AN
AnilBell0636
Replying to BeatriceBowen

Test a decision changing away from accepted as well. I've seen a counter handle retries beautifully and then refuse to go down when quality puts an item back on hold.

8 points
BE
BeatriceBowen
Replying to CarlaBrooks0836

Rebuild now matches quality's item list. We replayed the export twice, restarted the application, and replayed it again without changing the total. Earlier failed attempts are still visible under each bracket.

16 points
BE
BeatriceBowen
Replying to AnilBell0636

Anil's hold test found one more bug: the item label changed but the accepted set didn't. Programmer corrected that, and accepted-to-hold-to-accepted now updates the total once at each change. That closes our counter fix.

6 points
TO
TobyAllen0318
Replying to BeatriceBowen

Thanks for including the hold test result; that is a useful example for our students, who tend to assume progress counters only ever go up.

12 points

Discussion closed

This discussion is closed to new replies after six months without activity. Last activity: .