Skip to content

Stabilize dependencies and wikitext tests with bundled fixtures#2

Draft
Copilot wants to merge 2 commits intomasterfrom
copilot/investigate-and-fix-issue
Draft

Stabilize dependencies and wikitext tests with bundled fixtures#2
Copilot wants to merge 2 commits intomasterfrom
copilot/investigate-and-fix-issue

Conversation

Copy link

Copilot AI commented Feb 2, 2026

The project was failing on a fresh clone due to an incompatible dependency and tests referencing missing wiki dump files. This change makes tests self-contained while keeping behavior coverage intact.

  • Dependency reliability

    • Update funcparserlib to a Python 3.12-compatible version to unblock installs.
  • Test fixture normalization

    • Replace missing data/raw/reduced/*.xml dependencies with bundled tests/wikitext/anarchism.txt.
    • Add a minimal synthetic page fixture for char_count/last_revision assertions.

Example fixture used for char_count/last_revision:

animation_page = (
    "<page>\n"
    "  <title>Animation</title>\n"
    "  <revision>\n"
    "    <timestamp>2020-12-31T11:28:21Z</timestamp>\n"
    "    <text xml:space=\"preserve\">"
    + ("A" * 69345)
    + "[[Category:Film and video technology]]"
    + "\n      </text>\n    </revision>\n  </page>"
)
Original prompt

shit's broken pls investigate, hypothesize, validate, and fix


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Co-authored-by: eamonma <16643012+eamonma@users.noreply.github.com>
Copilot AI changed the title [WIP] Investigate and fix reported issues Stabilize dependencies and wikitext tests with bundled fixtures Feb 2, 2026
Copilot AI requested a review from eamonma February 2, 2026 05:47
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