Skip to content

Test scenarios for Visualization ToolΒ #400

@brunomenezes

Description

@brunomenezes

πŸ“„ Context

Update the synthetic data to reflect the following test cases, enabling tracking of the Tool's progress against the OKR 2 metric.

reference: Notion Visualization Scenarios page

Cases (Click to expand)
  • Zero commitments
    • Open [1]
    • Closed (and finished β†’ no winner) [2]
  • One commitment
    • Open [3]
    • Closed (and finished β†’ with winner) [4]
  • Two commitments
    • TopTournament:
      • winMatchByTimeout [5]
      • eliminateMatchByTimeout [6]
      • eliminateInnerTournament [7]
    • MiddleTournament:
      • winMatchByTimeout [8]
      • eliminateMatchByTimeout [9]
      • eliminateInnerTournament [10]
    • BottomTournament:
      • winLeafMatch [11]
      • winMatchByTimeout [12]
      • eliminateMatchByTimeout [13]
  • Three commitments
    • Honest joins first, and wins twice: winLeafMatch + winLeafMatch. [14]
  • Ten commitments (one honest and nine idle Sybils)
    • Honest eliminates 1 Sybil through winMatchByTimeout, and eliminates 8 Sybils through 4x eliminateMatchByTimeout. [15]

βœ”οΈ Solution

Implement each case as an different Cartesi application and add or improve presentation layer as necessary.

πŸ“ˆ Subtasks

  • Implement case 1
  • Implement case 2
  • Implement case 3
  • Implement case 4
  • Implement case 5
  • Implement case 6
  • Implement case 7
  • Implement case 8
  • Implement case 9
  • Implement case 10
  • Implement case 11
  • Implement case 12
  • Implement case 13
  • Implement case 14
  • Implement case 15

🎯 Definition of Done

  • We can navigate through each application flow to check the tournaments and matches.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

πŸ§‘β€πŸ’» In Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions