Skip to content

test(sys): cover Date and fix Gregorian boundary handling - #3

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

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

Conversation

@pythonyx135793

@pythonyx135793 pythonyx135793 commented Oct 22, 2026 •

Copy link
Copy Markdown

Related to #1. This covers the documented sys::Date module as a separate contribution from #2.

Adds 20 groups to the existing runner, retaining all 135 original groups. Coverage includes constructors/DValue, now/getters, all documented formatting modes and separators, valid parsing round trips, negative Unix timestamps, weekday/month names, leap years, all 4,800 month boundaries from 1800 through 2199, and a year beyond the 32-bit range.

The tests expose and fix Gregorian conversion, negative-day/time normalization, weekday indexing, IMF weekday formatting, separator forwarding and year narrowing. Date parsing also needs the C++11 Array move constructor to initialize its members before cleanup; the fix has empty/populated move and object-lifetime coverage.

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 exact current head 95f8d911b6b2194bc70592443bb7b48d85ab81c1:

  • 155/155 passed in each of all eight jobs: Windows/Ubuntu × GCC/Clang × C++98/C++11.
  • Completed run 39861114475, attempt 1; every actual execution log confirms the full count.
  • Local repaired Windows batch builds also pass 155/155 in both standards; compiler failure propagation was checked separately.
  • 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.

Original C++98 failed 7 groups with 1,627 assertion errors; original C++11 terminated with an access violation. Those attempts and the initial four-job passing run 39856584845 are preserved. I have not established isolated causal attribution for that original crash.

Please confirm this module's allocation within the advertised $50 fund; an additional $50 reward is not assumed. PayPal, Wise or native USDC on Base are available, with receiving details shared through a private payout channel after method/network confirmation.

@vlad441

vlad441 commented Oct 22, 2026 •

Copy link
Copy Markdown
Owner

@pythonyx135793 Hello, 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
vlad441 added a commit that referenced this pull request Nov 9, 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