How to set up a table with discontinuous horizontal rules? As an example I used a table from another answer:

My table still lacks the interrupted rules. Another thing is the rule above
“Total”. With the current setting \setupTABLE[row][9][bottomframe=on] the
rule is too short. When \setupTABLE[row][last][topframe=on] is set, then the
thickness of the rule changes from 0.03em to 0.08em. How to fix these both rules?

\startsetups table
\setupTABLE [frame=off, rulethickness=.03em]
% vertical alignment
\setupTABLE [column] [align=lohi]
% column spacing
\setupTABLE [column] [each] [loffset=.5ex, roffset=.5ex]
\setupTABLE [column] [first] [loffset=0mm]
\setupTABLE [column] [last] [roffset=0mm]
% rules
\setupTABLE [row] [first] [topframe=on, rulethickness=.08em]
\setupTABLE [row] [2] [topframe=on]
\setupTABLE [row] [last] [bottomframe=on, rulethickness=.08em]
\setupTABLE [row] [6] [topframe=on]
\setupTABLE [row] [last] [align=middle]
% wrong rule width (too short)
\setupTABLE [row] [9] [bottomframe=on]
% wrong rule thickness (should be .03em, but draws .8em)
%\setupTABLE [row] [last] [topframe=on] % wrong rule thickness
\stopsetups
\starttext
\bTABLE [setups=table]
\bTR\bTH Part \eTH\bTH Problem \eTH\bTH Score \eTH\bTH Sum \eTH\eTR
% first part
\bTR\bTD[nr=4] 1 \eTD\bTD 1a \eTD\bTD 2 \eTD\bTD[nr=4] 7 \eTD\eTR
\bTR \bTD 2b \eTD\bTD 2 \eTD \eTR
\bTR \bTD 3a \eTD\bTD 1 \eTD \eTR
\bTR \bTD 5b \eTD\bTD 2 \eTD \eTR
% second part
\bTR\bTD[nr=4] 2 \eTD\bTD 6a \eTD\bTD 2 \eTD\bTD[nr=4] 7 \eTD\eTR
\bTR \bTD 6b \eTD\bTD 2 \eTD \eTR
\bTR \bTD 7a \eTD\bTD 1 \eTD \eTR
\bTR \bTD 8b \eTD\bTD 2 \eTD \eTR
% total
\bTR\bTD[nc=3] Total \eTD\bTD 14 \eTD\eTR
\eTABLE
\stoptext
