Back to boxing
Scoring
/
Boxing scoring
v1
Publishable
22 nodes · 16 tests
Scores: whole sport
Edit — opens a copy
Version 1 is published
— frozen, because fixtures are scored by it. Editing opens a copy; this one keeps working until you publish that copy.
×
Nodes
Drag one onto the canvas
Add a node
Published, so nothing can be added.
Edit
in the header opens a copy.
Command
Something a scorer does. Code and an input schema.
Validation
An expression or function that can refuse it.
Derive
One per program. Folds the log into the scoreboard.
Trigger
Returns the rows it owns. Never writes them itself.
Context
Shapes what a scoring screen reads.
100%
Auto layout
Start bout
command
append
0 inputs · 1 rules · 0 outputs
Bout Not Started
validation
expression
The bout has already started
Judge scores a round
command
append
4 inputs · 4 rules · 3 outputs
Bout Is Live
validation
expression
×6
The bout is not live
Round Is Open
validation
expression
×5
That round is not open yet
Ten Point Must
validation
expression
Round scores must be 7 to 10, and at least one boxer must receive 10
Judge On Panel
validation
function
That judge is not on this bout's panel
Round Stats
trigger
sync
×5
Writes stat_value
Fight Totals
trigger
sync
×5
Writes stat_value
Bout Result
trigger
sync
×5
Writes fixture_competitor_rank
Round punch statistics
command
append
3 inputs · 1 rules · 2 outputs
Bout Is Underway
validation
expression
The bout has not started
Round Stats
trigger
sync
×5
Writes stat_value
Fight Totals
trigger
sync
×5
Writes stat_value
Knockdown
command
append
3 inputs · 2 rules · 2 outputs
Bout Is Live
validation
expression
×6
The bout is not live
Round Is Open
validation
expression
×5
That round is not open yet
Round Stats
trigger
sync
×5
Writes stat_value
Fight Totals
trigger
sync
×5
Writes stat_value
Warning
command
append
3 inputs · 2 rules · 2 outputs
Bout Is Live
validation
expression
×6
The bout is not live
Round Is Open
validation
expression
×5
That round is not open yet
Round Stats
trigger
sync
×5
Writes stat_value
Fight Totals
trigger
sync
×5
Writes stat_value
Point deduction
command
append
4 inputs · 3 rules · 3 outputs
Bout Is Live
validation
expression
×6
The bout is not live
Round Is Open
validation
expression
×5
That round is not open yet
Deduction Limit
validation
function
A corner may lose at most 3 points in a round
Round Stats
trigger
sync
×5
Writes stat_value
Fight Totals
trigger
sync
×5
Writes stat_value
Bout Result
trigger
sync
×5
Writes fixture_competitor_rank
Close round
command
append
1 inputs · 3 rules · 1 outputs
Bout Is Live
validation
expression
×6
The bout is not live
Round Is Open
validation
expression
×5
That round is not open yet
All Judges Scored
validation
function
Every judge must score this round first
Bout Result
trigger
sync
×5
Writes fixture_competitor_rank
Bout stoppage
command
append
4 inputs · 1 rules · 1 outputs
Bout Is Live
validation
expression
×6
The bout is not live
Bout Result
trigger
sync
×5
Writes fixture_competitor_rank
End match
command
append
0 inputs · 1 rules · 1 outputs
Bout Has Ended
validation
expression
The bout has not ended — close the final round or record a stoppage
Bout Result
trigger
sync
×5
Writes fixture_competitor_rank
Bout State
derive
computed
Builds scoreboard