Search arXiv⌕ Search

arXiv subjects

Theodore Kay Chen Ong

Publications and source records attributed to Theodore Kay Chen Ong.

2 recordsLinked to original sources

Outram Park Part II: Agentic Verification, Validation and Documentation as a Human Review Gate for Nuclear Data and Neutronics Software

NJOY21 is part of a modernisation effort for NJOY2016, but mostly consists of C++ wrappers. Agentic coding represents a unique opporunity for NJOY modernisation in Rust, but agents require human expert supervision, which may be in short supply. Moreover, expert human review is the bottleneck in agentic software development as human resources are limited in this context. This work describes a methodology for how a human manager of AI agents can reasonably translate and refactor scientific software with limited domain expertise using principles borrowed from nuclear quality assurance documents. Moreover, it presents a methodology for when to allocate limited human resources for reviewing the agentically generated code. This methodology centres on agentic V&V and documentation, and it is demonstrated via construction of Monte Carlo web demos for the Rust fork of NJOY an Outram Monte Carlo (OutramMC), Rust ports of NJOY2016 and OpenMC, in Outram Park. In this work, an integrated pipeline for the Rust port of NJOY and OutramMC was demonstrated in web demos, and code to code verification and validation was performed with ICSBEP benchmarks for Godiva, HST009 and LCT008. ACE files produced with Outram Park's NJOY port were identical for more than 30 ACE files. These web demos also served as part of agentic documentation, which prepared the codebase for human review.

physics.comp-ph↗

Agentic Porting, Construction and Initial Verification and Validation of Libraries within the Open Source Unified TRAnsient Multi-Phase Advanced Reactor simulation Kit (Outram Park) Part I: A Software Engineering Log for Thermal Hydraulics

Agentic porting of multiple open-source libraries into Rust, with human in the loop, has been performed for construction of modules within the Open-source Unified TRAnsient Multi-Phase Advanced Reactor simulation Kit (Outram Park). With this new methodology, verification and validation with human expertise, rather than code generation, has become the bottleneck in developing reliable simulation codes. In this work, we present the porting of OpenFOAM libraries into the Outram-Foam Rust libraries, their preliminary verification and validation (V&V) efforts, and their subsequent use in the development of open-source two-phase homogeneous-equilibrium (HEM) choked-flow solvers for the Thermo-hydraulic AI Multi-Phase INtegrated Emulator System (TAMPINES) libraries within Outram Park, such as tampines-steam-tables. V&V efforts of Outram-Foam show that the cavity and Sod shock tube cases agree with literature values to within acceptable margin. Moreover, the preliminary development of tampines-steam-tables shows good agreement with Moody's HEM charts. Thereafter, the 1D HEM solver, developed agentically, is presented and preliminarily validated against the Edwards blowdown case. Productivity increases were observed with the use of Claude Code, but domain expertise supplied by human experts remains critically required to ensure the generated code can solve the problem effectively. Further work remains to be done in V&V, but the agentic coding methodology described here demonstrates considerable potential to speed up production and development of open-source libraries such as Outram Park.

physics.comp-ph↗