Randomize Gnucash data

Josh Sled jsled at asynchronous.org
Tue Oct 9 16:17:09 EDT 2007


"Toan T Nguyen" <nguyenthetoan at gmail.com> writes:
> Is there a way to randomize Gnucash data (transaction amounts) for
> debug purpose?

No.

I've thought about this a bit... random notes:

Of course, if the transformed file doesn't reproduce whatever problem is at
hand, it's not useful...

It'd be nice to modify transaction amounts by random factors.  It'd might be
nice to have an option to have those factors be bound both (0,something big]
and [-something,something] (but not 0). It probably doesn't matter to keep
the mappings, here.

It'd be nice to randomize strings as well, but here one would need to keep
the mapping at least during the transformation process.  Transactions with
the memo "Bank of America Visa Online Payment" should always be translated to
"alk1j35lk259" (or whatever).

Rather than randomize, it might be nice to just strip some fields like memos
and descriptions.

It'd be nice to randomize account names ... especially Expense, Asset and
Investment child account names, but probably only at that lower level.  It's
probably helpful to have the generic top part of the tree intact ... e.g.
"Assets > Current Assets > Slkj4kl5j23lk".

It'd be nice to (have an option to) strip the notes and account codes.

-- 
...jsled
http://asynchronous.org/ - a=jsled; b=asynchronous.org; echo ${a}@${b}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 188 bytes
Desc: not available
Url : http://lists.gnucash.org/pipermail/gnucash-user/attachments/20071009/4c3304b1/attachment.bin 


More information about the gnucash-user mailing list