{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/3d-environment-modeling-for-falsification-and","title":"3D Environment Modeling for Falsification and Beyond with Scenic 3.0","arxiv_id":"2307.03325","date":"2023-07-06","proceeding":null,"authors":["Eric Vin","Shun Kashiwa","Matthew Rhea","Daniel J. Fremont","Edward Kim","Tommaso Dreossi","Shromona Ghosh","Xiangyu Yue","Alberto L. Sangiovanni-Vincentelli","Sanjit A. Seshia"],"abstract":"We present a major new version of Scenic, a probabilistic programming language for writing formal models of the environments of cyber-physical systems. Scenic has been successfully used for the design and analysis of CPS in a variety of domains, but earlier versions are limited to environments which are essentially two-dimensional. In this paper, we extend Scenic with native support for 3D geometry, introducing new syntax which provides expressive ways to describe 3D configurations while preserving the simplicity and readability of the language. We replace Scenic's simplistic representation of objects as boxes with precise modeling of complex shapes, including a ray tracing-based visibility system that accounts for object occlusion. We also extend the language to support arbitrary temporal requirements expressed in LTL, and build an extensible Scenic parser generated from a formal grammar of the language. Finally, we illustrate the new application domains these features enable with case studies that would have been impossible to accurately model in Scenic 2.","url_abs":"https://arxiv.org/abs/2307.03325v1","url_pdf":"https://arxiv.org/pdf/2307.03325v1.pdf","source":{"archive":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","row_kind":"links_only","authors_date_abstract":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license), from the Kaggle arXiv metadata snapshot of 2026-09-12"},"code_links":[{"paper_slug":"3d-environment-modeling-for-falsification-and","repo_url":"https://github.com/BerkeleyLearnVerify/Scenic","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"none","reach":{"status":"ok","spdx":"BSD-3-Clause"}}],"tasks":[],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":null,"atlas_url":"https://app.syntology.ai/?focus=2307.03325","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2307.03325"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-24T18:15:14+00:00","read_at_is":"when the build read Syntology's graph, not when any sample ran","claim":"Per-sample execution status on synthesized fixtures; not a correctness claim about the paper. Samples come from repositories linked to the paper, official or community; repo_kind says which.","repos":[{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/BerkeleyLearnVerify/Scenic","reach":{"status":"ok","spdx":"BSD-3-Clause"}}],"summary":{"ran":7},"by_repo_kind":{"official":{"samples":7,"ran":7,"repositories":1}},"repo_kind_vocabulary":{"official":"The archive marks this repository official for the paper","named_in_paper":"The archive records that the paper mentions this repository; it is not marked official","listed":"In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper","found_in_text":"Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted","community":"Not in the archive's code links for this paper; a community repository Syntology harvested"},"n_pointer_only_for_licence":0,"samples":[{"code_sha256_prefix":"f70fbd905b6ac651","entry":"addSupports","repo":"BerkeleyLearnVerify/Scenic","repo_kind":"official","path":"src/scenic/core/distributions.py","file_url":"https://github.com/BerkeleyLearnVerify/Scenic/blob/HEAD/src/scenic/core/distributions.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"BSD-3-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"f70fbd905b6ac651"}},{"code_sha256_prefix":"5ead13a78f334f51","entry":"callBeginningScenicTrace","repo":"BerkeleyLearnVerify/Scenic","repo_kind":"official","path":"src/scenic/core/errors.py","file_url":"https://github.com/BerkeleyLearnVerify/Scenic/blob/HEAD/src/scenic/core/errors.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"BSD-3-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"5ead13a78f334f51"}},{"code_sha256_prefix":"4f726fbf083233b9","entry":"getNameBindings","repo":"BerkeleyLearnVerify/Scenic","repo_kind":"official","path":"src/scenic/core/requirements.py","file_url":"https://github.com/BerkeleyLearnVerify/Scenic/blob/HEAD/src/scenic/core/requirements.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"BSD-3-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"4f726fbf083233b9"}},{"code_sha256_prefix":"9ae45cd95a6b520b","entry":"getText","repo":"BerkeleyLearnVerify/Scenic","repo_kind":"official","path":"src/scenic/core/errors.py","file_url":"https://github.com/BerkeleyLearnVerify/Scenic/blob/HEAD/src/scenic/core/errors.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"BSD-3-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"9ae45cd95a6b520b"}},{"code_sha256_prefix":"ff3503fc854ffe59","entry":"orientationFor","repo":"BerkeleyLearnVerify/Scenic","repo_kind":"official","path":"src/scenic/core/regions.py","file_url":"https://github.com/BerkeleyLearnVerify/Scenic/blob/HEAD/src/scenic/core/regions.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"BSD-3-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"ff3503fc854ffe59"}},{"code_sha256_prefix":"9df942d861508e9e","entry":"supportInterval","repo":"BerkeleyLearnVerify/Scenic","repo_kind":"official","path":"src/scenic/core/distributions.py","file_url":"https://github.com/BerkeleyLearnVerify/Scenic/blob/HEAD/src/scenic/core/distributions.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"BSD-3-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"9df942d861508e9e"}},{"code_sha256_prefix":"bacb9dbe479d7f68","entry":"unionOfSupports","repo":"BerkeleyLearnVerify/Scenic","repo_kind":"official","path":"src/scenic/core/distributions.py","file_url":"https://github.com/BerkeleyLearnVerify/Scenic/blob/HEAD/src/scenic/core/distributions.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"BSD-3-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"bacb9dbe479d7f68"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}