---
title: "world-rreport-aggregation — Mova code model"
description: "Mova code model of world/src/rreport.rs: components with their labels, obernants and the model text."
url: "https://groupants.elamur.ai/free/en/mova/world/src/rreport.rs.groupant/aggregation.groupant/"
---
Elamur: [Mova](https://md.mova.elamur.ai/free/en/) · [Dictionary](https://md.dictionary.elamur.ai/free/en/) · [Research](https://md.research.elamur.ai/free/en/) · **Groupants**

This page as HTML: <https://groupants.elamur.ai/free/en/mova/world/src/rreport.rs.groupant/aggregation.groupant/>

# world-rreport-aggregation

The groupant beside world/src/rreport.rs in the Mova repository: what the code computes, what it never does, how to go back from its outputs, its invariants, cost and checks.

## Facts

- **kind:** groupant_fragment
- **status:** partial source bound model
- **source:** [`world/src/rreport.rs`](https://github.com/ElamurAI/mova-free/blob/main/world/src/rreport.rs)
- **source SHA-256:** `9dd22e3b675f2994…`
- **covers:** rows first requires equal question/answer cardinality, then pairs by position and calls old answer/baseline/ROUGE scoring. Agg independently sums four supplied metrics and None-state count. report groups known attributes and ordered explicitness/story/source/frame-prefix keys. (bytes 574–4298)
- **part of:** [world-rreport](https://md.groupants.elamur.ai/free/en/mova/world/src/rreport.rs.groupant/)
- **repository folder:** [`world/src/rreport.rs.groupant/aggregation.groupant`](https://github.com/ElamurAI/mova-free/tree/main/world/src/rreport.rs.groupant/aggregation.groupant)
- **repository commit:** `855da7bd4a7b`

> **Implementation material.** A Mova code model describes this code at one source revision: partial models, finite checks and their stated scope. It is not a reviewed general exposition, and its labels are shown as written, never raised.

## Components

| component | label | where |
|---|---|---|
| **approximant** | partial source model | [forward](#forward) |
| **ast** | partial | `../syntax.json` |
| **composition** | partial source model | [composition](#composition) |
| **cost** | partial source model | [cost](#cost) |
| **descriptant** | partial source model | [epoch-memory](#epoch-memory) |
| **invariant** | partial source model | [invariant](#invariant) |
| **tests** | partial source model | [checks](#checks) |

## Obernants

The typed relations around the forward model: the behaviour complement (what the code never does), the reverse reconstruction (every input compatible with an output) and specialised views.

| id | type | label | where |
|---|---|---|---|
| `world-rreport-aggregation-behavior-complement` | behavior_complement | partial source model | [behavior-complement](#behavior-complement) |
| `world-rreport-aggregation-reverse-reconstruction` | reverse_reconstruction | partial source model | [reverse-reconstruction](#reverse-reconstruction) |
| `world-rreport-aggregation-coupling` | constraint_relation | partial source model | [coupling](#coupling) |
| `world-rreport-aggregation-observation-fiber` | information_loss | partial source model | [observation-fiber](#observation-fiber) |

## Model text


### forward

rows first requires equal question/answer cardinality, then pairs by position and calls old answer/baseline/ROUGE scoring. Agg independently sums four supplied metrics and None-state count. report groups known attributes and ordered explicitness/story/source/frame-prefix keys.

### invariant

For Agg from add, none<=n; denominators max(n,1) prevent empty NaN. Supplied Row scores are trusted, so state absence does not force r_state zero outside rows construction. Unknown attributes remain in all totals but have no attribute line.

### cost

N rows, G groups, V verdicts, total emitted bytes L: aggregation O(N log G + L), sampling O(N log N) with repeated hash-string work and seven attribute scans; manual O(N log V), formatting O(L). Answering and ROUGE dependency costs are separate. No measured speed claim.

### composition

main.rs reader evaluation calls reader::read_all on qs, then rows(own,&qs,ans), report/tsv and optional sample/manual. read_all maps qs in unchanged order. Native sample->read_verdicts->manual/report joins preserve (story,n) but bypass read_all and nonempty rows scoring. Ordered positional answer identity is a caller obligation.

### epoch-memory

2026-10-30 first source-bound epoch. Before repair, native invalid-score and cardinality assertions failed on old production behavior. Narrow input checks now prevent undefined NaN ordering and silent report undercount. Infinite parser scores remain supported. Empty conventions and malformed-metadata/repair limits are retained explicitly. No optimization or percentage-error surrogate is proposed.

### checks

cargo test -p world --lib rreport::wave10_models -- --test-threads=1. See root evidence.md for raw evidence hashes, repeated profiles and compiled controls. Syntax is partial; macro bodies are opaque and semantic AST/name/type resolution is absent.

### behavior-complement

Subject/revision: bound source hash and this scope. Domain/observation/operator: Exclude successful rows return with unequal input lengths, silent truncated measurement and missing-state count determined by source rather than state Option. Valid callers retain positional identity.

Status: partial source-derived relation; finite evidence only as named in checks. Assumptions: bounded counts without integer or floating arithmetic overflow, successful allocations and fixed dependencies. Unknown external behavior is not excluded. Reverse relations retain ambiguity; finite witnesses do not establish universal completeness.

### reverse-reconstruction

Subject/revision: bound source hash and this scope. Domain/observation/operator: Aggregate observations retain all row sequences matching sums and counts. The nine two-score assignments over {0,.5,1} produce five fibers sized 1,2,3,2,1. Rounded output loses further precision, order and identity.

Status: partial source-derived relation; finite evidence only as named in checks. Assumptions: bounded counts without integer or floating arithmetic overflow, successful allocations and fixed dependencies. Unknown external behavior is not excluded. Reverse relations retain ambiguity; finite witnesses do not establish universal completeness.

### coupling

Subject/revision: bound source hash and this scope. Domain/observation/operator: reader::read_all maps the same qs in order; main.rs passes those qs and answers to rows. Equal lengths prove cardinality only, not semantic identity. Native mismatch/empty checks bypass answering; nonempty scoring pipeline is source-inspected only.

Status: partial source-derived relation; finite evidence only as named in checks. Assumptions: bounded counts without integer or floating arithmetic overflow, successful allocations and fixed dependencies. Unknown external behavior is not excluded. Reverse relations retain ambiguity; finite witnesses do not establish universal completeness.

### observation-fiber

Subject/revision: bound source hash and this scope. Domain/observation/operator: 216 independent integer-sum fixtures cover all 27 three-score assignments and eight state-presence masks, with different r/r_state scales and fixed old/base scores. Four-column ordering is checked in printed lines.

Status: partial source-derived relation; finite evidence only as named in checks. Assumptions: bounded counts without integer or floating arithmetic overflow, successful allocations and fixed dependencies. Unknown external behavior is not excluded. Reverse relations retain ambiguity; finite witnesses do not establish universal completeness.
