Closed jschalk closed 2 months ago
This pull request implements a significant refactoring of the codebase, primarily focusing on renaming attributes related to fact units. The main changes involve renaming 'open' to 'fopen' and 'nigh' to 'fnigh' across multiple files and classes. This change appears to be part of a larger effort to improve code clarity and consistency.
Change | Details | Files |
---|---|---|
Renamed 'open' attribute to 'fopen' and 'nigh' attribute to 'fnigh' in fact-related classes and functions |
|
src/bud/reason_idea.py src/bud/test_/test_fact.py src/bud/test_/test_premise_.py src/bud/idea.py src/bud/bud.py src/gift/legible.py src/gift/change.py src/gift/atom_config.py src/gift/atom.py src/normal_db/normal_models.py src/bud/examples/example_bud1.json src/bud/examples/example_bud2.json src/gift/atom_config.json |
Updated function signatures and method calls to use new attribute names |
|
src/bud/bud.py src/bud/test_bud/test_bud_set_fact.py src/bud/test_bud_settle/test_tree_traverse_z_fact.py src/bud/test_bud_settle/test_z_agenda.py |
Refactored SQL-related code to use new column names |
|
src/real/test_real_/test_journal_sqlstr_.py src/gift/test_atom/test_atom_sql.py src/normal_db/normal_models.py |
Updated JSON representations to use new attribute names |
|
src/bud/examples/example_bud1.json src/bud/examples/example_bud2.json src/bud/test_bud/test_bud_json.py |
Summary by Sourcery
Refactor codebase by renaming attributes 'open' and 'nigh' to 'fopen' and 'fnigh' for improved clarity. Update all relevant functions, methods, and test cases to accommodate these changes.
Enhancements:
Tests: