Closed jschalk closed 1 month ago
This pull request implements changes to enable documentation processes, including modifications to various data structures, functions, and file operations across multiple modules. The changes primarily focus on refactoring code to improve consistency, adding new functionality, and updating tests to reflect these changes.
classDiagram
class BridgeKind {
+set_explicit_label_map(src_label: RoadNode, dst_label: RoadNode)
+_get_explicit_dst_label(src_label: RoadNode) : RoadNode
+explicit_label_map_exists(src_label: RoadNode, dst_label: RoadNode) : bool
+del_explicit_label_map(src_label: RoadNode)
}
class BridgeUnit {
+set_explicit_label_map(x_python_type: str, x_src: str, x_dst: str)
+_get_explicit_dst_label(x_python_type: str, x_src: str) : str
+explicit_label_map_exists(x_python_type: str, x_src: str, x_dst: str) : bool
+del_explicit_label_map(x_python_type: str, x_src: str)
}
classDiagram
class AwardLink {
+awardee_id: GroupID
+give_force: float
+take_force: float
}
class TeamUnit {
+set_teamlink(team_id: GroupID)
+teamlink_exists(team_id: GroupID) : bool
+del_teamlink(team_id: GroupID)
+get_teamlink(team_id: GroupID) : GroupID
}
Change | Details | Files |
---|---|---|
Refactor group and team-related data structures |
|
src/f02_bud/group.py src/f02_bud/reason_team.py src/f04_gift/atom_config.py src/f04_gift/normal_models.py |
Enhance filtering functionality |
|
src/f09_filter/filter.py src/f09_filter/test/test_filter_file.py src/f09_filter/bridge.py |
Improve file handling and DataFrame operations |
|
src/f00_instrument/file.py src/f00_instrument/pandas_tool.py src/f00_instrument/test/test_pandas_tool.py |
Update and add tests across multiple modules |
|
src/f02_bud/test_bud/test_bud_json.py src/f02_bud/test_bud_settle/test_tree_traverse_reason_team.py src/f04_gift/test_delta/test_delta_legible_item_teamlink.py src/f09_filter/test/test_bridgekind_dict.py |
Refactor and update configuration files |
|
src/f04_gift/atom_config.json src/f08_brick/brick_formats/brick_format_00022_bud_item_awardlink_v0_0_0.json src/f08_brick/brick_formats/brick_format_00024_bud_item_teamlink_v0_0_0.json src/f08_brick/brick_config.py |
Summary by Sourcery
Refactor code to improve consistency and error handling in the BridgeKind class, particularly around road delimiters and explicit label mapping. Enhance file handling with a new directory creation function and update test cases to cover these changes.
Enhancements:
Tests: