Skip to content

test(base): cover HashMap and HashSet and fix exposed regressions - #2

Closed
pythonyx135793 wants to merge 5 commits into
vlad441:devfrom
pythonyx135793:codex/ncpp-1-hash-tests
Closed

pythonyx135793 wants to merge 5 commits into
vlad441:devfrom
pythonyx135793:codex/ncpp-1-hash-tests

Conversation

@pythonyx135793

@pythonyx135793 pythonyx135793 commented Oct 22, 2026 •

Copy link
Copy Markdown

Related to #1. This covers the documented HashMap/HashSet unit in docs/ru/base-HashMap.md; it is a separate module contribution from #3.

Adds 29 groups using the existing runner/macros and keeps all 135 original groups. Coverage includes hash vectors, construction/copying, iterators, insertion/lookup, missing and duplicate keys, erasure, collisions/growth, assignment, JSON and value lifetimes.

The tests exposed HashSet key/value accessor and iterator decrement errors, plus JSON failures for empty containers, escaped strings, booleans, fractional/nonfinite values and 64-bit limits. These are fixed; the existing HashSet identity-object JSON representation is retained and documented.

This branch includes current upstream 1c057cbbb048b1feb7713e07d9c21b63669ebd0a and adopts its Windows SDK include order. The remaining Windows build-script changes group compiler commands, quote paths, propagate compiler failures and retain working Clang/GNU flags. All eight matrix entries and test bodies remain intact.

Validation of the exact current head a8b462b8c045eb47c56314b973465931e09cd505:

  • 164/164 passed in each of all eight jobs: Windows/Ubuntu × GCC/Clang × C++98/C++11.
  • Completed run 39860953210, attempt 1; every actual execution log confirms the full count.
  • Local repaired Windows batch builds also pass 164/164 in both standards; a missing-source build returns nonzero.
  • git diff --check passes. No original tests were removed or additional warning-suppression flags added. Existing compiler warnings remain visible; the runner’s zero-warning counter is separate.

The earlier HashSet/JSON regressions and the subsequent Windows Clang build failure were reproduced before their fixes; those failed attempts are preserved. The earlier four-job run 39846908332 is preserved.

Please confirm this module's allocation within the advertised $50 fund. PayPal, Wise or native USDC on Base are available; receiving details can be shared through a private payout channel once the method/network is confirmed.

@pythonyx135793

Copy link
Copy Markdown
Author

Updated both #2 and #3 to current dev 1c057cbbb048b1feb7713e07d9c21b63669ebd0a.

  • HashMap/HashSet: 164/164 in every one of eight jobs, run 39860953210, exact head a8b462b8c045eb47c56314b973465931e09cd505.
  • Date: 155/155 in every one of eight jobs, run 39861114475, exact head 95f8d911b6b2194bc70592443bb7b48d85ab81c1.

Both matrices cover Windows/Ubuntu, GCC/Clang and C++98/C++11. Original tests are retained, and the Windows build now returns failure when compilation fails. The upstream runs are waiting for maintainer approval; these completed fork logs validate the exact current PR heads.

@vlad441

vlad441 commented Oct 22, 2026 •

Copy link
Copy Markdown
Owner

@pythonyx135793 I've clarified the task requirements and the budget allocation by module.

So far, you've made changes to the HashMap structure from the Base module and the Date structure from the System module.

You can accept the task in this sub-issue, and I'll assign you to these modules along with their reserved budgets.

@vlad441

vlad441 commented Oct 23, 2026

Copy link
Copy Markdown
Owner

After a review of this submission, it appears to be largely automated output without human review.

Unfortunately, we cannot accept your PR.

@vlad441 vlad441 closed this Oct 23, 2026
vlad441 added a commit that referenced this pull request Nov 9, 2026
Removed 'tests' branch from workflow triggers and fixed formatting in job names.
vlad441 added a commit that referenced this pull request Nov 9, 2026
vlad441 added a commit that referenced this pull request Nov 14, 2026
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