Skip to content

fix(tests): complete AC-4 filter operator coverage and align AC-5 comments (HardwareAccelerator audit #85) - #4289

Merged
makr-code merged 4 commits into
developfrom
copilot/implement-hardware-accelerated-query-execution
Mar 16, 2026
Merged

makr-code merged 4 commits into
developfrom
copilot/implement-hardware-accelerated-query-execution

Conversation

Copilot AI commented Mar 16, 2026 •

Copy link
Copy Markdown
Contributor

Description

Audit of HardwareAccelerator (v1.8.0) against the 14 acceptance criteria defined in the CI workflow. Two gaps found:

  • AC-4 incomplete: applyFilterOp() supports 6 comparison operators (==, !=, <, <=, >, >=), but only 4 had tests. < and >= were unexercised.
  • AC-5 comment drift: Test file header claimed "ascending and descending ordering"; CI spec and public API specify only "ascending ordering, row preservation" (no sort-direction field exists on QueryOperator; simdSort's bool ascending param is always defaulted).

Changes

  • tests/test_performance_hardware_accelerator.cpp

    • Added FilterLessThanOp — verifies < predicate returns correct subset
    • Added FilterGreaterThanOrEqualOp — verifies >= predicate returns correct subset
    • Corrected AC-5 docstring to match CI spec: "ascending ordering, row preservation"
  • tests/CMakeLists.txt

    • Aligned AC-5 comment from "ascending ordering and row preservation" → "ascending ordering, row preservation" to match CI workflow phrasing

No implementation changes. Test count: 43 → 45. CodeQL: 0 alerts.

Type of Change

  • Bug fix
  • New feature
  • Refactoring
  • Documentation
  • Other:

Testing

  • Unit tests added/updated
  • Integration tests added/updated
  • Manual testing performed

📚 Research & Knowledge (wenn applicable)

  • Diese PR basiert auf wissenschaftlichen Paper(s) oder Best Practices?
    • Falls JA: Research-Dateien in /docs/research/ angelegt?
    • Falls JA: Im Modul-README unter "Wissenschaftliche Grundlagen" verlinkt?
    • Falls JA: In /docs/research/implementation_influence/ eingetragen?

Relevante Quellen:

  • Paper:
  • Best Practice:
  • Architecture Decision:

Checklist

  • Code follows project style guidelines
  • Self-review completed
  • Documentation updated (if needed)
  • No new warnings introduced
Original prompt

This section details on the original issue you should resolve

<issue_title>Hardware-Accelerated Query Execution</issue_title>
<issue_description>### Context

This issue implements the roadmap item 'Hardware-Accelerated Query Execution' for the performance domain. It is sourced from the consolidated roadmap under 🟠 High Priority — Near-term (v1.5.0 – v1.8.0) and targets milestone v1.8.0.

Primary detail section: Detail section not found

Goal

Deliver the scoped changes for Hardware-Accelerated Query Execution in src/performance/ and complete the linked detail section in a release-ready state for v1.8.0.

Detailed Scope

No matching section was found for anchor 'hardware-accelerated-query-execution' in src/performance/FUTURE_ENHANCEMENTS.md.

Use this issue to restore roadmap/detail consistency and implement the scope described in the roadmap title.

Acceptance Criteria

  • Implement the scoped changes described in the linked detail section.
  • Add or update tests that verify the intended behaviour.

Relationships

References

  • src/ROADMAP.md
  • src/performance/FUTURE_ENHANCEMENTS.md#hardware-accelerated-query-execution
  • Source key: roadmap:85:performance:v1.8.0:hardware-accelerated-query-execution

Generated from the consolidated source roadmap. Keep the roadmap and issue in sync when scope changes.

</issue_description>

Comments on the Issue (you are @copilot in this section)


📍 Connect Copilot coding agent with Jira, Azure Boards or Linear to delegate work to Copilot in one click without leaving your project management tool.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Hardware-Accelerated Query Execution

2 participants