Skip to content

docs: improve README user-friendliness for repo and NuGet package#220

Merged
petesramek merged 7 commits intodevelop/1.0from
copilot/improve-readme-user-friendliness
Apr 5, 2026
Merged

docs: improve README user-friendliness for repo and NuGet package#220
petesramek merged 7 commits intodevelop/1.0from
copilot/improve-readme-user-friendliness

Conversation

Copy link
Copy Markdown

Copilot AI commented Apr 5, 2026

  • Understand existing NTS sample pattern and abstract encoder/decoder structure
  • Create samples/PolylineAlgorithm.SensorData.Sample/ project with SensorDataEncoder, SensorDataDecoder, SensorReading, Program.cs
  • Make both sample projects console apps (OutputType=Exe, net10.0)
  • Register sensor data project in PolylineAlgorithm.slnx
  • Inline DecodeIterator body directly into Decode, remove the separate method (suppress S4456)
  • Encode/decode Timestamp as Unix epoch seconds (precision 0) — each reading encodes a [timestamp_delta, temperature_delta] pair
    • Base epoch 2020-01-01 UTC (1,577,836,800 s) used to keep first delta within int32 safe range of the polyline algorithm
    • SensorDataEncoder.TimestampBaseEpochSeconds constant shared by both encoder and decoder
  • Update Program.cs to display recovered timestamps in decoded output
  • Build verified — 0 errors, 0 warnings

@petesramek petesramek marked this pull request as ready for review April 5, 2026 13:24
@petesramek petesramek enabled auto-merge (squash) April 5, 2026 13:24
Copilot AI requested a review from petesramek April 5, 2026 15:13
@petesramek petesramek merged commit 730c70b into develop/1.0 Apr 5, 2026
3 checks passed
@petesramek petesramek deleted the copilot/improve-readme-user-friendliness branch April 13, 2026 18:02
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