边角案例 / corner case


「释义」
边角案例或病态案例是指其操作参数在正常范围以外的问题或是情形,而且多半是几个环境变数或是条件都在极端值的情形,即使这些极端值都还在参数规格范围内,也算是边角案例。
例如有某个扬音器会扭曲声音,但只有在音量最大、低音最大及高湿度的环境下才会出现。
边角案例一词常出现在复杂系统的测试或是除错过程中。要重现边角案例需要许多参数都在极值,因此要重现、测试或是改善都较困难,其成本也较高。对系统有经验的使用者往往会在边角案例下发现异常,而其中有许多是产品的错误。
「应用场景」
也许会有人说:“谁在乎细铁丝网?这种情况太少了。”可是对于这个团队来说,回避罕见或极端的情况——工程师称之为边角案例——会违反苹果公司严格的零“人为因素”工程标准,“人为因素”的意思是“在某种复杂技巧和/或技术所引入的数字处理过程中对数据进行任何无必要或无意的调整”。负责监督固件和算法团队的传感器软件及用户体验原型设计副总裁迈拉·哈格蒂回忆道,边角案例让摄像头团队和其他相关团队之间进行了“许多场艰苦的讨论”。最终领导相机软件团队的副总裁塞巴斯蒂安·马里诺-梅决定将这项功能的发布推迟到下一年,给团队更多的时间更好地解决失败案例——胡贝尔承认,这是“一颗难以下咽的药丸”。
One might say, “Who cares about the chicken wire case? That’s exceedingly rare.” But for the team, sidestepping rare or extreme situations—what engineers call corner cases—would violate Apple’s strict engineering standard of zero “artifacts,” meaning “any undesired or unintended alteration in data introduced in a digital process by an involved technique and/or technology.” Corner cases sparked “many tough discussions” between the camera team and other teams involved, recalls Myra Haggerty, the VP of sensor software and UX prototyping, who oversaw the firmware and algorithm teams. Sebastien Marineau-Mes, the VP to whom the camera software team ultimately reported, decided to defer the release of the feature until the following year to give the team time to better address failure cases—“a hard pill to swallow,” Hubel admits.
以上文字选自《哈佛商业评论》中文版2020年11月刊《苹果:组织结构 皆为创新》
乔尔·波多尔尼(Joel M. Podolny) 莫滕·汉森(Morten T. Hansen)丨文
马冰仑 丨编辑