arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2403.07997cs.HC
收藏

快进现实:在扩展现实中使用实时单元测试编写无错误且上下文感知的策略

Fast-Forward Reality: Authoring Error-Free Context-Aware Policies with Real-Time Unit Tests in Extended Reality

Xun Qian, Tianyi Wang, Xuhai Xu, Tanya R Jonker, Kashyap Todi

AI总结:

针对终端用户编写上下文感知策略易出错的问题,提出基于扩展现实和自动生成单元测试的编写工作流,通过沉浸式验证提升策略准确性,用户研究显示积极反馈。

摘要:

普适计算的进步使得终端用户能够编写上下文感知策略(CAPs),这些策略根据用户和环境的特定上下文来控制智能设备。然而,对于终端用户来说,准确编写CAPs并避免运行时错误具有挑战性,因为很难预见在复杂现实条件下CAP的行为。我们提出了快进现实(Fast-Forward Reality),一种基于扩展现实(XR)的编写工作流程,使终端用户能够通过模拟单元测试用例验证其行为,从而迭代地编写和完善CAPs。我们开发了一种计算方法,根据已编写的CAP和用户的上下文历史自动生成测试用例。我们的系统在XR中为每个测试用例提供沉浸式可视化,帮助用户验证CAP行为并识别必要的改进。我们在用户研究(N=12)中评估了快进现实。我们的编写和验证过程提高了CAP的准确性,用户对系统的可用性给予了积极反馈。

英文摘要:

Advances in ubiquitous computing have enabled end-user authoring of context-aware policies (CAPs) that control smart devices based on specific contexts of the user and environment. However, authoring CAPs accurately and avoiding run-time errors is challenging for end-users as it is difficult to foresee CAP behaviors under complex real-world conditions. We propose Fast-Forward Reality, an Extended Reality (XR) based authoring workflow that enables end-users to iteratively author and refine CAPs by validating their behaviors via simulated unit test cases. We develop a computational approach to automatically generate test cases based on the authored CAP and the user's context history. Our system delivers each test case with immersive visualizations in XR, facilitating users to verify the CAP behavior and identify necessary refinements. We evaluated Fast-Forward Reality in a user study (N=12). Our authoring and validation process improved the accuracy of CAPs and the users provided positive feedback on the system usability.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑