@@ -311,20 +311,15 @@ export default class Problems extends React.PureComponent {
311311 var i = 0
312312 for ( var prob of this . state . probs ) {
313313 probs . push ( prob )
314- if ( prob . verdict == "OK" ) continue
315-
314+ probs [ i ] . verdict = "NONE"
316315 for ( var action of this . state . actions ) {
317316 if ( action . index == prob . index ) {
318- if ( action . verdict == "OK" ) {
319- probs [ i ] . verdict = "OK"
320- probs [ i ] . testset = action . testset
321- probs [ i ] . errtest = action . errtest
322- break
323- } else if ( prob . verdict == "NONE" ) {
324- probs [ i ] . verdict = action . verdict
325- probs [ i ] . testset = action . testset
326- probs [ i ] . errtest = action . errtest
317+ if ( action . verdict != "OK" && probs [ i ] . verdict != "NONE" ) {
318+ continue
327319 }
320+ probs [ i ] . verdict = action . verdict
321+ probs [ i ] . testset = action . testset
322+ probs [ i ] . errtest = action . errtest
328323 }
329324 }
330325 i ++ ;
@@ -470,6 +465,7 @@ export default class Problems extends React.PureComponent {
470465 </ div >
471466 { this . state . probs . length ? < Actions
472467 prob = { this . state . probs [ this . state . curr ] }
468+ inputs = { this . state . allinputs [ this . state . probs [ this . state . curr ] . index ] }
473469 outputs = { this . state . alloutputs [ this . state . probs [ this . state . curr ] . index ] }
474470 tests = { this . state . allverdicts [ this . state . probs [ this . state . curr ] . index ] }
475471 runexamples = { this . runexamples . bind ( this ) }
0 commit comments