JSoar Update 2015 Bob Marinier 3102021 Changes since

  • Slides: 7
Download presentation
JSoar Update 2015 Bob Marinier 3/10/2021

JSoar Update 2015 Bob Marinier 3/10/2021

Changes since last workshop 3/10/2021 • Changes • New helper classes for simple output

Changes since last workshop 3/10/2021 • Changes • New helper classes for simple output handling (see Output. Command. Manager) • Log command/RHS function improvements • Bug fixes (some ported from CSoar) • Memory improvements • Now require Java 7 (next release will probably require Java 8) • Versions • 0. 14. 1: Aug 2014 (internal only) • 0. 14. 2: Jan 2015 (internal only) • 0. 14. 3: May 2015 (current) • Get it here: https: //github. com/soartech/jsoar/releases 2

Relationship to CSoar Technology, Inc. Proprietary 3/10/2021 • Intent: JSoar and CSoar remain synchronized,

Relationship to CSoar Technology, Inc. Proprietary 3/10/2021 • Intent: JSoar and CSoar remain synchronized, with changes in one being ported to other where possible • Actual: 3 • JSoar is significantly refactored from CSoar in terms of structure, but the code is nearly identical • JSoar has introduced new capabilities, most of which have not been backported (e. g. , different I/O interfaces, epmem extensions, log command, etc. ) • CSoar introduces new features faster than they can be incorporated in JSoar (e. g. , SVS has not yet been ported) • CSoar has recently begun undergoing significant refactorings in some parts (symbols, chunking, parser), but these do not seem to adhere very closely to the JSoar refactorings • Whitespace changes in particular make it virtually impossible to tell what has changed Without closer coordination between UM and Soar. Tech on code structure, CSoar and JSoar will drift too far apart for JSoar to be maintained close to CSoar

Epmem changes • New in JSoar (doesn’t exist in CSoar yet): Soar Technology, Inc.

Epmem changes • New in JSoar (doesn’t exist in CSoar yet): Soar Technology, Inc. Proprietary 3/10/2021 • • 4 epmem --add command Deliberate storage command: put on epmem link to trigger storage Inclusion lists: complements exclusion lists Filtered reconstruction • Specify which parts of the episode you want to reconstruct • Does not have to overlap with the query • Ongoing work • Exact queries: specify that an episode must (or must not) contain the specified structures • Refactoring: Reduce monolithic structure so modifications are easier to make, algorithm is separated from low-level details like database interface • Someday would be nice • Numeric matching: Working with UM, we came up with a reasonable approach, but it would require significant changes to epmem

Log command / RHS function • A replacement for RHS write and echo commands

Log command / RHS function • A replacement for RHS write and echo commands • Supports component and severity filtering • E. g. , only log errors from the foo subgoal Soar Technology, Inc. Proprietary 3/10/2021 • Optionally integrates with underlying logging systems (e. g. , slf 4 j, logback, etc. ) • See: https: //github. com/soartech/jsoar/wiki/JSoar. Logging 5 log --enable my-goal –level trace log startup info "sourcing rules" sp "my-goal*propose*my-op (state <s> ^name my-goal) --> (<s> ^operator <o>) (<o> ^name my-op) (log trace |Proposing operator |<o>| in state |<s>) (log trace |Proposing operator {} in state {}| <o> <s>) " [TRACE 2014 -05 -21 09: 48: 35. 139] my-goal: Proposing operator O 1 in state S 1

Wishlist • Make useful progress on epmem refactoring • Don’t have budget to finish

Wishlist • Make useful progress on epmem refactoring • Don’t have budget to finish it this year, but hoping we get to intermediate state that’s better than the current state Soar Technology, Inc. Proprietary 3/10/2021 • Port SVS 6 • Not going to happen this year unless someone volunteers • Port chunking changes • Changes are extensive and difficult to tease out due to refactoring and whitespace changes, so don’t expect this to happen anytime soon • Backport JSoar epmem changes to CSoar

3/10/2021 Soar Technology, Inc. Proprietary 7 Nuggets Coal • JSoar still preferred over CSoar

3/10/2021 Soar Technology, Inc. Proprietary 7 Nuggets Coal • JSoar still preferred over CSoar at Soar. Tech and elsewhere • Not too far behind on major features • Keeping up with: • CSoar refactors • Chunking • SVS • Whitespace changes mixed with real changes • Backporting changes from JSoar to Csoar • Limited resources and almost no volunteers