SPARC/tests
0xWheatyz a91c3badab feat: implement company performance estimation orchestration
Created CompanyAnalyzer class that orchestrates the complete pipeline:
1. Retrieves patents via SERP API
2. Downloads and parses PDFs
3. Minimizes content (removes bloat)
4. Analyzes portfolio with LLM
5. Returns performance estimation

Features:
- Full company portfolio analysis
- Single patent analysis support
- Robust error handling (continues on partial failures)
- Progress logging for user visibility

Updated main.py with clean example usage demonstrating the high-level API.

Added comprehensive test suite (7 tests) covering:
- Full pipeline integration
- Error handling at each stage
- Single patent analysis
- Edge cases (no patents, all failures)

All 26 tests passing.

This completes the core functionality for patent-based company
performance estimation.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2026-02-19 18:57:10 -05:00
..
__init__.py test: add pytest framework and initial test suite 2026-02-19 18:52:54 -05:00
test_analyzer.py feat: implement company performance estimation orchestration 2026-02-19 18:57:10 -05:00
test_llm.py feat: add LLM integration for patent analysis 2026-02-19 18:55:35 -05:00
test_serp_api.py feat: add patent content minimization for LLM consumption 2026-02-19 18:54:07 -05:00