https://bugzilla.wikimedia.org/show_bug.cgi?id=50316

--- Comment #8 from Gabriel Wicke <gwi...@wikimedia.org> ---
Deterministic generation will be faster than random generate & test, as the
latter will often result in duplicates which are then filtered out. Keep in
mind that we try to generate a random assignment up to 1000 times, even if
there are only a handful possible permutations in a small test. The extra
attempts to generate permutations will just generate duplicates once the few
possible permutations have been found. 

I agree that we'll need to limit the number of permutations we generate for
large test cases. That means that generating all permutations with the current
assignments won't be possible. On the bright side, there is a chance that we
can get away with less permutations without really losing test coverage. As an
example, case 2 (node insertion before current node) and case 4 (child node
insertion) can result in the same actual change, so should probably be
collapsed when that happens. Similarly, new node insertion is very similar to
attribute changes for selser processing: the full 'outerwikitext' needs to be
serialized in both cases. Lets discuss the possible cases and think about which
cases need to be handled.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to