Skip to main content

Namespace mobisim.Feedback

Namespaces​

Classes​

Responsible for presenting feedback behavior data as a card by retrieveing the data from FeedbackBehaviorCardSO and then formats it for UI to display.

Represents the data model for a feedback behavior card. FeedbackBehaviorCardPresenter retrieves these data and format it as a card.

Serialises the current values of a set of BaseScriptableVariable feedback metrics and transmits them to the backend at the end of each study scenario.

Responsible for presenting highlight snapshot retrieved from FeedbackHighlightSO.

Feedback Highlight data model that provides highlight snapshot. FeedbackHighlightPresenter retrieves these data and format for display.

Represents a log of prosocial interaction data over time.

Calculates the prosocial yield score between pairs of actors crossing a trigger zone, combining geometric safety and relative effort into a per-time-step metric.

Represents a single timestamped record of prosocial interaction data between two actors, capturing the safety (si), effort (Ei), and yield (ysi) scores for one time step in the prosocial metric calculation.

Calculates a "safe boundary" metric during a monitored interaction period managed by the FeedbackMetricCoordinator. The the metric is calculated based on how quickly the player is moving at their closest proximity to any tracked actor. Higher values indicate riskier behavior, combining high speed with minimal spacing (speed / distance).

Measures how long each tracked actor dwells inside a trigger zone during a feedback event and reports the longest single-actor dwell time as the yield behavior metric.

Interfaces​

Minimal contract for a component that derives a scalar feedback score from session data, making the score readable by FeedbackMetricCoordinator and writeable to BaseScriptableVariable assets.