> ## Documentation Index
> Fetch the complete documentation index at: https://docs.sequency.sh/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Score Quality

> Compute score quality analysis for a single score family.



## OpenAPI

````yaml /api/openapi.json get /api/internal/acceptance/score-quality/{score_family}
openapi: 3.1.0
info:
  title: Sequency Graph API
  description: >

    # Sequency Graph-Native Trading API


    Graph-native API for trading intelligence, built on FalkorDB.


    ## Features


    - **Screener**: Filter stocks using graph-native queries with relationship
    expansion

    - **Stock Detail**: Complete stock context with all relationships

    - **Confluence Scoring**: Setup quality assessment with weighted components

    - **Strategy Matching**: Find matching options strategies via graph
    traversal

    - **Market Context**: Current market-wide context for trading decisions


    ## Data Sources


    All data is sourced from the FalkorDB knowledge graph, populated by:

    - Pattern detector (Go) - Technical indicators, patterns

    - Graph sync service - Levels, volume profiles, news, day classification
  version: 1.0.0
servers: []
security: []
paths:
  /api/internal/acceptance/score-quality/{score_family}:
    get:
      tags:
        - acceptance
      summary: Get Score Quality
      description: Compute score quality analysis for a single score family.
      operationId: >-
        get_score_quality_api_internal_acceptance_score_quality__score_family__get
      parameters:
        - name: score_family
          in: path
          required: true
          schema:
            type: string
            title: Score Family
        - name: start_date
          in: query
          required: true
          schema:
            type: string
            description: Start date
            title: Start Date
          description: Start date
        - name: end_date
          in: query
          required: true
          schema:
            type: string
            description: End date
            title: End Date
          description: End date
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ScoreQualityReport'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    ScoreQualityReport:
      properties:
        score_family:
          type: string
          title: Score Family
        spearman:
          items:
            $ref: '#/components/schemas/SpearmanResult'
          type: array
          title: Spearman
        tier_win_rates:
          items:
            $ref: '#/components/schemas/TierWinRate'
          type: array
          title: Tier Win Rates
        tier_monotonic:
          anyOf:
            - type: boolean
            - type: 'null'
          title: Tier Monotonic
        sample_size:
          type: integer
          title: Sample Size
          default: 0
      type: object
      required:
        - score_family
      title: ScoreQualityReport
      description: Score quality analysis for a single score family.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    SpearmanResult:
      properties:
        score_family:
          type: string
          title: Score Family
        horizon:
          type: string
          title: Horizon
        overall:
          anyOf:
            - type: number
            - type: 'null'
          title: Overall
        bullish_only:
          anyOf:
            - type: number
            - type: 'null'
          title: Bullish Only
        bearish_only:
          anyOf:
            - type: number
            - type: 'null'
          title: Bearish Only
        p_value_overall:
          anyOf:
            - type: number
            - type: 'null'
          title: P Value Overall
        p_value_bullish:
          anyOf:
            - type: number
            - type: 'null'
          title: P Value Bullish
        p_value_bearish:
          anyOf:
            - type: number
            - type: 'null'
          title: P Value Bearish
        sample_size:
          type: integer
          title: Sample Size
          default: 0
      type: object
      required:
        - score_family
        - horizon
      title: SpearmanResult
      description: Spearman rank correlation result for a score family x horizon.
    TierWinRate:
      properties:
        tier:
          type: string
          title: Tier
        win_rate:
          anyOf:
            - type: number
            - type: 'null'
          title: Win Rate
        sample_size:
          type: integer
          title: Sample Size
          default: 0
        avg_return:
          anyOf:
            - type: number
            - type: 'null'
          title: Avg Return
      type: object
      required:
        - tier
      title: TierWinRate
      description: Win rate for a specific score tier.
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError

````