Liking cljdoc? Tell your friends :D

criterium.viewer.common.domain.detection

Domain shape detection predicates for visualization strategy selection.

Provides functions to analyze the structure of domain extract and comparison data to determine the appropriate visualization strategy (box plot, line chart, or table).

Domain shape detection predicates for visualization strategy selection.

Provides functions to analyze the structure of domain extract and
comparison data to determine the appropriate visualization
strategy (box plot, line chart, or table).
raw docstring

comparison-visualization-strategyclj

(comparison-visualization-strategy comparison)

Determine the visualization strategy for domain comparison data.

Returns one of:

  • :single-point - single parameter point, multiple implementations (box plot showing median with CI and percentiles)
  • :multi-point - multiple parameter points, single axis (line chart)
  • :default-table - regular table format (no chart)
Determine the visualization strategy for domain comparison data.

Returns one of:
- :single-point  - single parameter point, multiple implementations
                   (box plot showing median with CI and percentiles)
- :multi-point   - multiple parameter points, single axis (line chart)
- :default-table - regular table format (no chart)
sourceraw docstring

single-axis-multi-point-any-impl?clj

(single-axis-multi-point-any-impl? extract)

Return true when extract has exactly one axis with multiple values, regardless of implementation count (single or multiple implementations).

This detects the 'line chart' scenario for showing metric values across a range of parameter values on a single axis.

Return true when extract has exactly one axis with multiple values,
regardless of implementation count (single or multiple implementations).

This detects the 'line chart' scenario for showing metric values
across a range of parameter values on a single axis.
sourceraw docstring

single-axis-multi-point-comparison?clj

(single-axis-multi-point-comparison? comparison)

Return true when comparison has multiple implementations at multiple points.

Line chart scenario: comparing implementations with a varying parameter axis.

  • axis = :impl with different n values → true (line chart)
  • axis = :impl with no n or same n → false (use bar chart)
  • axis = :n with multiple n values → true (line chart)
Return true when comparison has multiple implementations at multiple points.

Line chart scenario: comparing implementations with a varying parameter axis.
- axis = :impl with different n values → true (line chart)
- axis = :impl with no n or same n → false (use bar chart)
- axis = :n with multiple n values → true (line chart)
sourceraw docstring

single-axis-multi-point?clj

(single-axis-multi-point? extract)

Return true when extract has exactly one non-impl axis with multiple values and multiple implementations.

This detects the 'line chart' scenario where we're comparing multiple implementations across a range of parameter values on a single axis.

Return true when extract has exactly one non-impl axis with multiple values
and multiple implementations.

This detects the 'line chart' scenario where we're comparing multiple
implementations across a range of parameter values on a single axis.
sourceraw docstring

single-point-multi-impl-comparison?clj

(single-point-multi-impl-comparison? comparison)

Return true when comparison has multiple implementations at a single point.

Bar chart scenario: comparing implementations without varying parameters.

  • axis = :impl with no other params → true (bar chart)
  • axis = :impl with same n value across all → true (bar chart)
  • axis = :n with single n value → true (bar chart)
  • axis = :n with multiple n values → false (use line chart instead)
Return true when comparison has multiple implementations at a single point.

Bar chart scenario: comparing implementations without varying parameters.
- axis = :impl with no other params → true (bar chart)
- axis = :impl with same n value across all → true (bar chart)
- axis = :n with single n value → true (bar chart)
- axis = :n with multiple n values → false (use line chart instead)
sourceraw docstring

single-point-multi-impl?clj

(single-point-multi-impl? extract)

Return true when extract has exactly one non-impl axis with one value and multiple implementations.

This detects the 'single-point comparison' scenario where we're comparing multiple implementations at a single parameter point.

Return true when extract has exactly one non-impl axis with one value
and multiple implementations.

This detects the 'single-point comparison' scenario where we're comparing
multiple implementations at a single parameter point.
sourceraw docstring

visualization-strategyclj

(visualization-strategy extract)

Determine the visualization strategy for domain extract data.

Returns one of:

  • :single-point - single parameter point, multiple implementations (box plot showing median with CI and percentiles)
  • :multi-point - multiple parameter points, single axis (line chart)
  • :default-table - regular table format (no chart)
Determine the visualization strategy for domain extract data.

Returns one of:
- :single-point  - single parameter point, multiple implementations
                   (box plot showing median with CI and percentiles)
- :multi-point   - multiple parameter points, single axis (line chart)
- :default-table - regular table format (no chart)
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close