Thanks to visit codestin.com
Credit goes to github.com

Skip to content

fix: check consistency of sub-objects#128

Merged
lukaszcz merged 7 commits intomainfrom
consistency-of-sub-object-values
Oct 17, 2025
Merged

fix: check consistency of sub-objects#128
lukaszcz merged 7 commits intomainfrom
consistency-of-sub-object-values

Conversation

@lukaszcz
Copy link
Contributor

@lukaszcz lukaszcz commented Oct 10, 2025

@lukaszcz lukaszcz self-assigned this Oct 10, 2025
@lukaszcz lukaszcz force-pushed the consistency-of-sub-object-values branch from e9b9437 to 4f63bd0 Compare October 10, 2025 17:11
@lukaszcz lukaszcz changed the title fix: consistency of sub-objects fix: check consistency of sub-objects Oct 13, 2025
@lukaszcz lukaszcz marked this pull request as ready for review October 14, 2025 10:30
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR addresses issue #103 by ensuring the consistency of objects fetched within method, constructor, destructor, and multi-method bodies. The implementation includes fetched object resources (both consumed and created) in the action data for each member type, validating that the fetched objects' data corresponds to their actual system state.

Key Changes:

  • Added tracking of fetched objects throughout program execution via Program.objects
  • Modified task generation to include persistent object resources for fetched objects in both consumed and created resource lists
  • Updated message logic validation to verify fetched object resources match expected values

Reviewed Changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.

File Description
SUMMARY.md Documentation updates explaining the new consistency check for fetched objects and removal of issue #103 from limitations
AVM/Program.lean Added Program.objects function to collect all fetched objects from a program execution
AVM/Class/Translation/Tasks.lean Modified task generation to include fetched object resources and threading random numbers through execution
AVM/Class/Translation/Logics.lean Updated message logic validation to check fetched object resource values and persistence

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@lukaszcz lukaszcz marked this pull request as draft October 15, 2025 10:07
@lukaszcz lukaszcz marked this pull request as ready for review October 15, 2025 10:25
@lukaszcz lukaszcz merged commit f5d3d08 into main Oct 17, 2025
1 check passed
@lukaszcz lukaszcz deleted the consistency-of-sub-object-values branch October 17, 2025 08:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Consistency of sub-object values and message arguments is not ensured by the Resource Logics

2 participants

Comments