Skip to content

AI eval suite for measuring usefulness of context and validate the need for ComponentGraph #92

Open

Description

@JuroOravec

(Generated by GPT 5.6 Sol)

Context

This follows the ideas discussed in django-components issue
django-components/django-components#1118.

Citry now provides:

  • /llms.txt following the llms.txt v2 structure
  • page-level Markdown companions
  • /llms-full.txt as a nonstandard bulk export
  • single-component inspection
  • a static ComponentGraph implementation

The remaining idea is to evaluate whether these facilities genuinely help AI tools discover and use Citry.

AI evaluation suite

Design a repeatable evaluation suite that measures whether AI search and coding tools can:

  • discover Citry when given relevant Django/component-library questions
  • identify Citry as distinct from django-components
  • find the relevant documentation page
  • cite or link to the correct Citry documentation
  • answer Citry usage questions accurately
  • avoid inventing APIs or using obsolete django-components syntax
  • use llms.txt and page-level Markdown when those resources are available

The suite should distinguish between:

  • public search-engine indexing
  • live AI search/retrieval
  • direct documentation retrieval
  • model knowledge that cannot be attributed to current retrieval

Record an initial baseline before making further changes. Prefer reproducible evaluations where possible, while documenting any provider-dependent manual checks.

Reassess ComponentGraph

We accidentally implemented a 'ComponentGraph' feature - a means for accessing static graph analysis of components - but we implemented it without validating whether it's actually needed or useful.

We need to review/reassess the code - whether we actually want to keep the code/API.

In particular:

  • Identify concrete users and workflows that need a static component graph.
  • Determine whether AI tools actually benefit from it.
  • Compare it with the simpler component catalog and single-component inspection APIs.
  • Validate its dependency semantics, limitations, source locations, unresolved references, and behavior around dynamic/Python composition.
  • Review the current implementation and tests for correctness.
  • Decide whether to keep it, redesign it, make it internal/experimental, or remove it.

The graph should not become permanent merely because the upstream issue proposed parent/child metadata. There should be a demonstrated Citry use case.

Deliverables

  • A documented evaluation methodology.
  • A baseline set of results.
  • Automated or repeatable evaluation cases where practical.
  • A conclusion about whether Citry’s current AI-readable outputs are useful and sufficient.
  • A reviewed decision on the future of ComponentGraph.
  • Follow-up issues for any concrete improvements discovered.

Non-goals

  • Building an MCP server without evidence that it improves the evaluated workflows.
  • Claiming that crawler access or llms.txt proves inclusion in a model’s training data.

Activity

  1. added
    next-sprint
    on Oct 28, 2026
  2. JuroOravec commented on Nov 24, 2026

    @JuroOravec
    MemberAuthor

    (Opus 5.5)

    Related: #857 explores shipping Citry agent skills, after a Django Forum user asked for them (2026-11-24). The September 2026 benchmarks/agent_usage/ run already compared the homepage, llms.txt, written guidance and a skill. The maintainer's view in the forum reply: an agent that can write the code isn't the same as one that follows best practices and knows how to debug, so an eval here should also measure those.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    next-sprint

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions