Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Revisions of a procedure

Keep the relation between a procedure and the revisions used by historical evaluations.

Model

An evaluation points to the revision it used. The succession relation identifies another revision without altering that historical reference.

module exemplos::revisoes {
    type Procedimento
    type Revisao
    type Avaliacao
    relation RevisaoDe {
        role revisao: Revisao
        role procedimento: Procedimento
    }
    relation AvaliadoSob {
        role avaliacao: Avaliacao
        role revisao: Revisao
    }
    relation SucedeRevisao {
        role anterior: Revisao
        role posterior: Revisao
    }
}

Verification

Formation preserves the typed references. The execution scenario must show evaluations under different revisions of the same procedure.

The complete source is at exemplos/05-revisoes/modelo.fsl in the package. The script verificacao/verificar_exemplos.py runs the formation with the indicated binary and records the result. Formation and the execution of applications are separate gates in the report.