Repository navigation
Replies: 1 comment
|
I think this is a good first iteration of the feedback loop between floating and rille. A real engineering task has already exposed both omissions in manual analysis and limitations in the analysis tool itself. I would prioritize the proposed changes as follows: 1. Analysis completeness and reproducibilityArm guards should be included in the tests list. This is a completeness issue rather than a presentation issue. Version and commit information should also be included in every graph document, especially JSON output. Once graphs become inputs to automated analysis, we need to know exactly which version of the analyzer produced them. Conditions should remain untruncated in the machine-readable representation, with truncation available only as a presentation option. 2. Separate structural identity from invocation contextRepeated callees should not simply be deduplicated. Two calls to the same function may have different argument constraints, reachable branches, and execution costs. The existing distinction between
We should share structural information where possible while preserving invocation-specific information. This will become particularly important when introducing partition tables and cost annotations. Similarly, accessor filtering should preferably happen at the presentation layer. The underlying graph should retain these decisions, even if they are considered noise during a particular review. They may still be relevant to performance analysis or semantic reasoning. 3. Partition tables and evidenceFor the next stage, I suggest explicitly distinguishing:
Coverage alone cannot establish the completeness of an input partition. We should avoid conflating the absence of observations with evidence of unreachability. Eventually, partition tables could serve as a common representation connecting decision graphs, test coverage, semantic mutants, and performance measurements. 4. Measure the engineering benefitIt would be useful to record the following in future feedback rounds:
The long-term objective is not merely to automate drawing decision graphs. It is to progressively mechanize repetitive program reasoning and reduce the marginal cost of subsequent engineering work. This creates a second feedback loop alongside floating's existing engineering quality loop: Floating provides the real-world workloads, correctness constraints, and independent evidence. Rille progressively turns recurring analytical work into deterministic, reusable infrastructure. We should preserve this relationship throughout development: prioritize capabilities demonstrated to be useful by real engineering tasks, rather than accumulating speculative features. The goal is not to replace the reasoning capabilities of coding agents, but to reduce the amount of reasoning that needs to be performed repeatedly by them. |
Uh oh!
There was an error while loading. Please reload this page.
First use of rille 0.0.1 in real work: the decision graphs of
Binary::add_ctx,sub_ctx,mul_ctxanddiv_ctxin Luna-Flow/floating (loop round 2b, floating at a3e2f0b2, moon 0.1.20261126), run throughmoonx --experimental-policy policy.json Luna-Flow/rille/cmd/rille@0.0.1 graph ... --format tests|text|jsonat depth 1 and 2. 8 runs, 0unresolved, 0target_unknown, no defect found.What it gave
file:line, including the guards inside the called routes. It found two things a careful hand reading had missed: the carry and borrow tests of the word sum, and the exact line of a route guard added by a later pull request.What it did not give
Gaps and awkward points
--format tests.match ... { (Finite, Finite) if a.is_zero() && b.is_zero() => ... }appears as aguard:line under the arm in--format text, but not in the tests list, so the zero arms ofdiv_ctxand theinf * 0arm ofmul_ctxare missing from the list a decision graph starts from.sub_ctxat depth 1 shows the whole ofadd_ctxtwice; nothing says the two runs of tests are the same function.Binary::class,Binary::negative: onematch self.0each) are listed as tests five or six times per entry.Binary::add_ctx); the error does not say so or list candidates.--version, and the output does not name the rille version or commit, so a graph document cannot cite what produced it.--format teststruncates conditions to 80 characters: readable, but not diffable against a hand graph.Proposed changes (to discuss)
--format testsas tests of their own kind.--skiplist, or a default).rille --version, and the version and commit in the header of every output.Smaller: suggest candidates for an unqualified entry name; an option for untruncated conditions.
Source: the feedback note of the floating round (in the maintainers' plan directory, not public).
All reactions