Note: The workspace contains a partially broken implementation at /app/starter_code.py. Your task is to fix the bugs there and complete the implementation so that parse_args is correctly implemented and importable from fb_group.utils.parse_args.
Task:
Implement a function parse_args in the module fb_group/utils.py that converts a list of CLI-like arguments into a dictionary of string keys and string values, as used by tests in TestUtils.test_parse_args.
Requirements:
Function signature: parse_args(args: list[str]) -> dict[str, str]
Behavior:
If args is empty, return {}.
For each item in args:
If the item does not contain an '=' character, ignore it.
Split only on the first '=' into key and value.
If the key is empty, ignore the item.
Store the pair in the result dictionary; the value may be an empty string (e.g., "a=" -> {"a": ""}).
If the same key appears multiple times, the last occurrence wins.
No type conversions; keys and values are kept as strings.
No external dependencies; function should be deterministic and pure.
Include a concise docstring and type hints.
Ensure fb_group.utils exports parse_args so tests can import it via from fb_group.utils import parse_args.
Additional notes:
Treat /app/starter_code.py as the primary target for fixes; correct bugs and complete any missing parts to realize the behavior described above.
The solution should be deterministic and side-effect free, suitable for unit tests.
Deliverables:
A corrected and complete implementation of parse_args in fb_group/utils.py (and any necessary fixes in /app/starter_code.py) so that tests pass.