Minor: success response logged at ERROR, github.py uses pdf logger, 'top 5' message while selecting 7
A few small, low-risk issues found while reading the code:
1. Successful evaluation response logged at ERROR level
https://github.com/interviewstreet/hiring-agent/blob/70fd3ea/evaluator.py#L77
logger.error(f" Prompt response: {response_text}")Every successful run emits an ERROR log containing the full evaluation JSON, which makes real errors hard to spot and breaks any log-level-based alerting. Should be logger.debug.
2. github.py borrows the pdf module's logger
https://github.com/interviewstreet/hiring-agent/blob/70fd3ea/github.py#L11
from pdf import loggerAll GitHub log lines are attributed to pdf (e.g. - pdf - ... - fetch_and_display_github_info -), and importing github pulls in pdf → pymupdf / pymupdf_rag for no reason. Should be logger = logging.getLogger(__name__).
3. Project selection message says "top 5", code selects 7
https://github.com/interviewstreet/hiring-agent/blob/70fd3ea/github.py#L369-L371
print(f" Using LLM to select top 5 projects from {len(projects)} repositories...")The system prompt, template and fallback logic all use 7.
Source: interviewstreet/hiring-agent