feat: Filter out small RTT fluctuations in LLM prompt

- Update the LLM prompt to instruct it to ignore RTT fluctuations below 10 seconds.
- Update PROGRESS.md to reflect the completion of the task.
This commit is contained in:
2025-08-21 12:34:12 -05:00
parent 83b25d81a6
commit 57d7688c3a
2 changed files with 2 additions and 2 deletions

View File

@@ -197,7 +197,7 @@ def build_llm_prompt(data, baselines, nmap_changes, constraints, known_issues):
return f"""
**Role:** You are a dedicated and expert system administrator. Your primary role is to identify anomalies and provide concise, actionable reports.
**Instruction:** Analyze the following system and network data for any activity that appears out of place or different. Consider unusual values, errors, or unexpected patterns as anomalies. Compare the current data with the historical baseline data to identify significant deviations. Consult the known issues feed to avoid flagging resolved or expected issues. Pay special attention to the Nmap scan results for any new or unexpected open ports.
**Instruction:** Analyze the following system and network data for any activity that appears out of place or different. Consider unusual values, errors, or unexpected patterns as anomalies. Compare the current data with the historical baseline data to identify significant deviations. Consult the known issues feed to avoid flagging resolved or expected issues. Pay special attention to the Nmap scan results for any new or unexpected open ports. Pay special attention to network RTT fluctuations, but only report them as an anomaly if the fluctuation is greater than 10 seconds.
**Context:**
Here is the system data in JSON format for your analysis: {json.dumps(data, indent=2)}