Skip to content

chore: comments and test text describe only the code next to them - #75

Merged
silahian merged 1 commit into
masterfrom
chore/public-repo-hygiene
Sep 3, 2026
Merged

chore: comments and test text describe only the code next to them#75
silahian merged 1 commit into
masterfrom
chore/public-repo-hygiene

Conversation

@silahian

@silahian silahian commented Sep 3, 2026

Copy link
Copy Markdown
Collaborator

What

Comment and test-text hygiene, no behaviour change.

  • Comments in the trigger engine, the notification helper, the basic book-item pool, the tile view model and the Coinbase, Bitfinex and Kraken connectors now describe the code next to them, without external references.
  • Test headers and assertion messages in the trigger-engine, reconnection-engine and order-book guard tests state the behaviour under test in plain words.
  • The three connector project files drop an unused assembly-visibility entry.
  • The stray README.md.bak is removed.

Verification

Builds: VisualHFT.Commons, MarketConnectors.Coinbase, MarketConnectors.Bitfinex, MarketConnectors.Kraken, VisualHFT — 0 errors.
Tests: VisualHFT.Commons.Tests 25/25, VisualHFT.DataRetriever.Tests 58/58, VisualHFT.TriggerService.Tests 26/26 when run individually (the project's batch run is order-dependent on master as well; unchanged here).

Reworded comments in the trigger engine, the notification helper, the
provider helper, the frame coordinator, the basic book-item pool, the tile
view model and three market connectors so that each describes the code next
to it. Test headers and assertion messages in the trigger-engine,
reconnection-engine and order-book guard tests now state the behaviour under
test in plain words. The three connector project files drop an unused
assembly-visibility entry. The stray README.md.bak is removed.

No behaviour change: comments, strings, project metadata and one dead file.
Copilot AI lite review requested due to automatic review settings September 3, 2026 01:46
@silahian
silahian merged commit b3360f2 into master Sep 3, 2026
1 check passed
@silahian
silahian deleted the chore/public-repo-hygiene branch September 3, 2026 01:46

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

The diff is comment/test-text cleanup plus removal of unused project metadata and a stray file, with no functional changes introduced.

Pull request overview

This PR focuses on comment and test-text hygiene across core engines, connectors, and pools, aiming to ensure inline documentation and assertion messages describe only the code they accompany (without external spec/ticket references), plus removing a stray backup file.

Changes:

  • Simplified/rewrote comments in several runtime components (trigger engine, notification manager, provider staleness checks, pooling, WPF frame coordination, and multiple connectors) to describe local behavior only.
  • Reworded test headers and assertion messages to state the behavior under test in plain terms.
  • Removed unused InternalsVisibleTo entries from three connector .csproj files and deleted README.md.bak.
File summaries
File Description
VisualHFT.Plugins/MarketConnectors.Kraken/MarketConnectors.Kraken.csproj Removes unused InternalsVisibleTo entry for a non-existent test assembly.
VisualHFT.Plugins/MarketConnectors.Kraken/KrakenPlugin.cs Comment-only edits to better describe local threading/ordering/teardown behavior without external references.
VisualHFT.Plugins/MarketConnectors.Coinbase/MarketConnectors.Coinbase.csproj Removes unused InternalsVisibleTo entry.
VisualHFT.Plugins/MarketConnectors.Coinbase/CoinbasePlugin.cs Comment-only clarification of socket teardown severity rationale.
VisualHFT.Plugins/MarketConnectors.Bitfinex/MarketConnectors.Bitfinex.csproj Removes unused InternalsVisibleTo entry.
VisualHFT.Plugins/MarketConnectors.Bitfinex/BitfinexPlugin.cs Comment-only clarification of socket teardown severity rationale.
VisualHFT.Commons/Pools/BookItemL2Pool.cs Updates pool documentation/comments to match the local code paths and routing.
VisualHFT.Commons/PluginManager/BasePluginDataRetriever.cs Comment tweak to describe current time-source usage and shared behavior more locally.
VisualHFT.Commons/Helpers/HelperProvider.cs Comment tweak to describe staleness check behavior without external references.
VisualHFT.Commons/Helpers/HelperNotificationManager.cs Comment tweak on INFO tier intent/ordinal stability without external references.
VisualHFT.Commons.WPF/Helper/FrameCoordinator.cs Comment tweak clarifying background-thread dispose scenario without replay-specific references.
ViewModel/vmTile.cs Removes an inaccurate/out-of-scope comment line (“ONLY FOR L3 VERSION”).
TriggerEngine/TriggerEngineService.cs Comment-only rewrites to describe the event and windowing/cooldown logic locally.
tests/Unit/VisualHFT.Commons.Tests/VisualHFT.Commons.Tests.csproj Comment-only simplification of the test serialization rationale.
tests/Unit/VisualHFT.Commons.Tests/OrderBookDisposedGuardTests.cs Rewords test commentary/assertion messages to focus on behavior rather than external call-site references.
tests/Integration/VisualHFT.TriggerService.Tests/TriggerEngineTests.cs Rewords test “Act” comments to describe behavior under test plainly.
tests/Integration/VisualHFT.TriggerService.Tests/OnTriggerFiredEventTests.cs Rewords test header docs/assertion messages and temp-path naming to remove external references.
tests/Integration/VisualHFT.TriggerService.Tests/FirstFireAndWindowedConditionTests.cs Rewords test-file header and assertion messages to describe the two behaviors under test plainly.
tests/Integration/VisualHFT.DataRetriever.Tests/ReconnectionEngineTests.cs Rewords comments describing the “declined start” outcome without referencing specific plugin files.
README.md.bak Removes stray backup file from the repo.
Review details
  • Files reviewed: 20/20 changed files
  • Comments generated: 0
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

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.

2 participants