Skip to content

R35-T033: Hardware Detector specification contract - #133

Open
pavitrmakhija wants to merge 5 commits into
S-AI-Projects:mainfrom
pavitrmakhija:student/2601010447/R35-T033
Open

pavitrmakhija wants to merge 5 commits into
S-AI-Projects:mainfrom
pavitrmakhija:student/2601010447/R35-T033

Conversation

@pavitrmakhija

Copy link
Copy Markdown

Implements R35-T033 for issue #28.

Documents the computer-spec output keys, units, rounding, dictionary update behavior, and None return. Adds a main guard so importing the module does not start the monitor, plus a unittest runner and deterministic checks covering 20 GPU reference samples, a no-GPU boundary, and import behavior.

Validation: 4 contract tests passed locally (including 20 GPU reference subcases). Please review and request instructor review.

Added a main guard to run the hardware monitor when the script is executed directly.
This file contains contract tests for the Hardware Detector task R35-T033, validating the retrieval of computer and GPU specifications using mocked modules.
Add a script to run R35-T033 contract tests using unittest.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant