docs: add research metrics and stabilize repo quality#2
Merged
Conversation
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (40)
📝 WalkthroughWalkthroughThe pull request updates CI/CD workflows, adds benchmark tooling and outputs, standardizes Python module imports and typing, adjusts event-bus and service startup behavior, expands behavioral tests, and rewrites project documentation. ChangesPlatform validation and runtime updates
Estimated code review effort: 4 (Complex) | ~45 minutes Sequence Diagram(s)sequenceDiagram
participant CI
participant BenchmarkRunner
participant EventBus
participant MatchingEngine
participant DriverLocationStore
participant PricingEngine
participant ArtifactStore
CI->>BenchmarkRunner: Run benchmark command
BenchmarkRunner->>EventBus: Measure event publishing
BenchmarkRunner->>MatchingEngine: Measure driver selection
BenchmarkRunner->>DriverLocationStore: Measure location upserts
BenchmarkRunner->>PricingEngine: Measure surge computation
BenchmarkRunner-->>CI: Produce benchmark-results.json
CI->>ArtifactStore: Validate and upload JSON artifact
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Root cause
|| echo, used stale dependency/cache inputs, and the CD workflow referenced nonexistent service Dockerfiles.Changes
benchmarks/ride_sharing_benchmarks.pyand recordedbenchmark-results.json.pyproject.toml,requirements.txt, updated dev requirements, removed the stale generated dev lock, and added Makefile install/benchmark targets.Validation
black --check . --line-length 100ruff check .pytest -q --cov=. --cov-report=term-missingmypy models.py utils.py event_bus.py location_store.py matching_engine.py pricing_engine.py consumer.py --ignore-missing-importspython benchmarks/ride_sharing_benchmarks.py --iterations 500 --driver-count 100 --output benchmark-results.jsonpython -m json.tool benchmark-results.jsonpython -m compileall -q shared servicesgit diff --checkScreenshots
Not applicable; documentation, CI, benchmark, and Python quality changes only.
Summary by CodeRabbit
New Features
Bug Fixes
Documentation
Chores