Skip to content

Build an Action Validator for Physical Task Safety #148

@sahoo-tech

Description

@sahoo-tech

Labels: hard enhancement gssoc-2026

Before Execra confirms a step as complete in the physical domain, validate that the user performed the action correctly and safely.

What you'll code:

  • Create core/physical/action_validator.py:
    • ActionValidator.validate(step: str, detections, hand_results, depth_map) -> ValidationResult
    • ValidationResult model: is_valid: bool, confidence: float, issues: list[str], corrections: list[str]
    • Validation rules for each task type:
      • Cooking: knife used near cutting board (not near body) for cutting steps
      • Hardware: screwdriver oriented correctly (vertical, not horizontal) for assembly
      • Form filling: pen in dominant hand near paper (not phone)
    • If is_valid=False: dispatch a corrective GuidanceInstruction before advancing the step
  • Write unit tests with synthetic detection scenarios for each validation rule

Skills needed: Python · spatial reasoning · domain logic · CV integration

👉 Claim this issue on GitHub →


Metadata

Metadata

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions