Skip to content

Commit 11aa8a3

Browse files
committed
cleanup: remove artifacts and redundant code from PR review
1 parent a5493bd commit 11aa8a3

File tree

3 files changed

+2
-5
lines changed

3 files changed

+2
-5
lines changed

lib/idp_common_pkg/idp_common/assessment/granular_service.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ def __init__(
126126

127127
dynamodb: DynamoDBServiceResource = boto3.resource(
128128
"dynamodb", region_name=self.region
129-
) # pyright: ignore[reportAssignmentType]modb", region_name=self.region)
129+
) # pyright: ignore[reportAssignmentType]
130130
self.cache_table = dynamodb.Table(self.cache_table_name)
131131
logger.info(
132132
f"Granular assessment caching enabled using table: {self.cache_table_name}"

lib/idp_common_pkg/idp_common/assessment/strands_executor.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ async def execute_tasks_async(
3939
4040
Args:
4141
tasks: List of assessment tasks to execute
42-
base_content: Base prompt content
4342
extraction_results: Full extraction results
4443
page_images: List of page images (with grid overlay)
4544
sorted_page_ids: List of page IDs
@@ -166,7 +165,6 @@ def execute_assessment_tasks_parallel(
166165
167166
Args:
168167
tasks: List of assessment tasks
169-
base_content: Base prompt content
170168
extraction_results: Full extraction results
171169
page_images: List of page images (with grid overlay already applied)
172170
sorted_page_ids: List of page IDs in sorted order

lib/idp_common_pkg/idp_common/assessment/strands_service.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,7 @@ async def assess_attribute_with_strands(
9595
system_prompt=enhanced_system_prompt,
9696
state={
9797
"task": task.model_dump(),
98-
"extraction_results": extraction_results,
99-
"assessment_output": None,
98+
"assessment_output": None, # Will be populated by submit_assessment tool
10099
},
101100
conversation_manager=SummarizingConversationManager(
102101
summary_ratio=0.8, preserve_recent_messages=1

0 commit comments

Comments
 (0)