Restore standalone RatEye engine and add scan benchmarks - #1
Conversation
|
Warning Review limit reachedYou’ve reached a temporary PR review limit under our Fair Usage Limits Policy. Next review available in: 50 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (7)
📝 WalkthroughWalkthroughRatEye is restructured as a standalone Windows x64 library with updated CI, packaging, configuration, image-processing pipelines, deterministic disposal, replay diagnostics, benchmark execution, and expanded native OpenCV and regression test coverage. ChangesRatEye Standalone Extraction
Estimated code review effort: 5 (Critical) | ~120 minutes Possibly related issues
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
|
Warning Review the following alerts detected in dependencies. According to your organization's Security Policy, it is recommended to resolve "Warn" alerts. Learn more about Socket for GitHub.
|
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
|
Running ultrareview automatically — This PR restores RatEye as a standalone library with significant refactoring of core image processing (template matching, OCR verification, inventory grid detection), introduces concurrency-sensitive icon caching, adds new benchmark infrastructure, and modifies public API contracts.... I'll post findings when complete. |
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
|
Addressed the remaining suggestions from the CodeAnt bundle (which was generated against
Regression coverage was added for each new behavior. Debug and Release builds are clean, both suites pass 59/59, the NuGet audit/package checks pass, and the controlled current-game replay remains 4/4. |
User description
What changed
Why
RatEye is intended to remain reusable by RatScanner and other consumers without knowing about any host application. Re-establishing the repository boundary avoids the architectural coupling created by the temporary monorepo layout while still allowing RatScanner to reference RatEye from source through a Git submodule.
The controlled current-game Sorting Table corpus exposed three independent defects: the legacy parser lost current one-pixel grid cells, transparent placeholder PNGs became background-only templates, and wishlist/FIR decoration dominated whole-cell template scores. The fix addresses each stage without adding RatScanner knowledge or wishlist-specific constants to the engine.
User and developer impact
Current inventory cells can be localized again. Normal, FIR, Task-Wishlist, and Task-Wishlist+FIR variants of the same F-1 item resolve consistently. OCR verification only replaces a low-confidence template result when the visible short name maps to one unique exact catalog short name; missing traineddata leaves template matching operational.
Dynamic icon processing is not restored by this PR. It was intentionally removed upstream in
8667cac; this change removes remaining unreachable dynamic-only internals rather than reintroducing behavior outside the scope of the standalone engine restoration.Validation
The real-game fixture corpus remains local and is not added as mandatory copyrighted CI data. The committed legacy Russian replay remains an honest known mismatch; its expected result was not changed to manufacture a pass. It is retained as optional future accuracy work and does not affect the validated current-game four-case corpus.
CodeAnt-AI Description
Restore standalone RatEye scanning with reliable inventory recognition and diagnostics
What Changed
Impact
✅ Current inventory cells are recognized✅ Fewer false item matches from UI text and icon decorations✅ Safer recovery from damaged or stale icon caches✅ Reproducible scan timing and accuracy reports💡 Usage Guide
Checking Your Pull Request
Every time you make a pull request, our system automatically looks through it. We check for security issues, mistakes in how you're setting up your infrastructure, and common code problems. We do this to make sure your changes are solid and won't cause any trouble later.
Talking to CodeAnt AI
Got a question or need a hand with something in your pull request? You can easily get in touch with CodeAnt AI right here. Just type the following in a comment on your pull request, and replace "Your question here" with whatever you want to ask:
This lets you have a chat with CodeAnt AI about your pull request, making it easier to understand and improve your code.
Example
Preserve Org Learnings with CodeAnt
You can record team preferences so CodeAnt AI applies them in future reviews. Reply directly to the specific CodeAnt AI suggestion (in the same thread) and replace "Your feedback here" with your input:
This helps CodeAnt AI learn and adapt to your team's coding style and standards.
Example
Retrigger review
Ask CodeAnt AI to review the PR again, by typing:
Check Your Repository Health
To analyze the health of your code repository, visit our dashboard at https://app.codeant.ai. This tool helps you identify potential issues and areas for improvement in your codebase, ensuring your repository maintains high standards of code health.