manabb commited on
Commit
56d1bee
·
verified ·
1 Parent(s): 896a7a5

Update technicalDocCompliance.py

Browse files
Files changed (1) hide show
  1. technicalDocCompliance.py +5 -5
technicalDocCompliance.py CHANGED
@@ -86,21 +86,21 @@ def compliance_tech_pdf(file_name: str, client, MANUAL_RULES):
86
  1. Do NOT assume anything.
87
  2. Do NOT interpret beyond what is written.
88
  3. If information is missing → mark as NON-COMPLIANT.
89
- 4. If partially satisfied → mark as NON-COMPLIANT.
90
  5. Only explicit written evidence is valid.
91
  6. Quote exact sentence from document as evidence.
92
  7. Do not provide explanation beyond required format.
93
  8. Include subject in the response.
94
 
95
- Summarise the response only on rule headingwise and not pointwise mentioned under each heading.
96
 
97
  OUTPUT FORMAT (STRICT):
98
 
99
- Rule heading: Heading of the rule
100
- Status: COMPLIANT / NON-COMPLIANT
101
  Evidence: "<Exact quoted sentence from document>" OR "Not found in document"
102
- Deviations: <short bullet-style description or 'None'>
103
  COMPLIANCE ANALYSIS: <2–4 sentences explaining reasoning>
 
104
 
105
  MANUAL RULES:
106
  {MANUAL_RULES}
 
86
  1. Do NOT assume anything.
87
  2. Do NOT interpret beyond what is written.
88
  3. If information is missing → mark as NON-COMPLIANT.
89
+ 4. If partially satisfied → mark as PARTIALLY-COMPLIANT.
90
  5. Only explicit written evidence is valid.
91
  6. Quote exact sentence from document as evidence.
92
  7. Do not provide explanation beyond required format.
93
  8. Include subject in the response.
94
 
95
+ Response against each point.
96
 
97
  OUTPUT FORMAT (STRICT):
98
 
99
+ Rule heading: (text)
100
+ Status: COMPLIANT / NON-COMPLIANT / PARTIALLY-COMPLIANT
101
  Evidence: "<Exact quoted sentence from document>" OR "Not found in document"
 
102
  COMPLIANCE ANALYSIS: <2–4 sentences explaining reasoning>
103
+
104
 
105
  MANUAL RULES:
106
  {MANUAL_RULES}