temoa icon indicating copy to clipboard operation
temoa copied to clipboard

Remove all references to MaxCapacity/MinCapacity from docs, tests, and code

Open coderabbitai[bot] opened this issue 1 month ago • 0 comments

Context

During the review of PR #206 (https://github.com/TemoaProject/temoa/pull/206), it was identified that the codebase contains references to max_capacity/min_capacity and MaxCapacity/MinCapacity that do not match the actual TemoaModel attributes.

The actual TemoaModel uses limit_capacity and limit_new_capacity instead.

Tasks

  • [ ] Remove unused max_capacity and min_capacity mock attributes from tests/test_pricing_check.py
  • [ ] Search for and remove all mentions of MaxCapacity and MinCapacity from documentation
  • [ ] Search for and remove all mentions of max_capacity and min_capacity from tests
  • [ ] Audit code for any remaining references to these deprecated constraint names
  • [ ] Ensure all references use the correct attribute names: limit_capacity and limit_new_capacity

Reference

  • Original comment: https://github.com/TemoaProject/temoa/pull/206#discussion_r2539896484
  • Requested by: @ParticularlyPythonicBS

This issue was identified as necessary but out of scope for PR #206.

coderabbitai[bot] avatar Nov 18 '25 23:11 coderabbitai[bot]