Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #25325

Re: [OT] Simulation Results Managment

Path csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <python-python-list@m.gmane.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.000
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'subject:: [': 0.03; '(at': 0.03; 'case.': 0.05; 'paths': 0.05; 'python': 0.09; 'dict': 0.09; 'parsers': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'regression': 0.09; 'testcases': 0.09; 'timestamps': 0.09; 'stored': 0.10; 'cases': 0.15; 'file,': 0.15; '(within': 0.16; 'fail,': 0.16; 'message-id:@dough.gmane.org': 0.16; 'properties.': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'wrote:': 0.17; 'have:': 0.17; 'thanks,': 0.18; 'subject:] ': 0.19; 'parameters': 0.20; 'python?': 0.20; 'runs': 0.22; 'properties': 0.24; 'script': 0.24; 'header:User-Agent:1': 0.26; 'embedded': 0.27; 'language.': 0.27; 'header:X-Complaints-To:1': 0.28; 'initial': 0.28; 'run': 0.28; 'parameters.': 0.29; 'pickle': 0.29; 'question:': 0.29; 'steven': 0.29; 'testcase': 0.29; 'related': 0.30; 'checked': 0.30; '(and': 0.32; 'file': 0.32; 'structure': 0.32; 'could': 0.32; 'instances': 0.33; 'received:comcast.net': 0.33; 'to:addr:python-list': 0.33; 'hi,': 0.33; 'text': 0.34; 'formats': 0.35; 'received:org': 0.36; 'test': 0.36; 'data': 0.37; 'store': 0.38; 'some': 0.38; 'to:addr:python.org': 0.39; 'easily': 0.39; 'header:Received:5': 0.40; 'containing': 0.61; 'night': 0.62; 'times': 0.63; 'information': 0.63; 'more': 0.63; 'within': 0.64; 'maintenance': 0.65; 'results': 0.65; 'dict.': 0.84; 'email addr:yahoo.co.uk': 0.84; 'simulation': 0.84; 'simulations': 0.84; 'subject:Results': 0.91
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From Neal Becker <ndbecker2@gmail.com>
Subject Re: [OT] Simulation Results Managment
Date Sat, 14 Jul 2012 20:42:39 -0400
References <4834becc-783a-4af2-b94a-2b95c39d6be3@googlegroups.com>
Mime-Version 1.0
Content-Type text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding 7Bit
X-Gmane-NNTP-Posting-Host c-68-33-202-49.hsd1.md.comcast.net
User-Agent KNode/4.8.4
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.12
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.2122.1342312974.4697.python-list@python.org> (permalink)
Lines 47
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1342312974 news.xs4all.nl 6872 [2001:888:2000:d::a6]:48157
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:25325

Show key headers only | View raw


moogyd@yahoo.co.uk wrote:

> Hi,
> This is a general question, loosely related to python since it will be the
> implementation language. I would like some suggestions as to manage simulation
> results data from my ASIC design.
> 
> For my design,
> - I have a number of simulations testcases (TEST_XX_YY_ZZ), and within each of
> these test cases we have:
>   - a number of properties (P_AA_BB_CC)
>   - For each property, the following information is given
>     - Property name (P_NAME)
>     - Number of times it was checked (within the testcase) N_CHECKED
>     - Number of times if failed (within the testcase) N_FAILED
> - A simulation runs a testcase with a set of parameters.
>   - Simple example, SLOW_CLOCK, FAST_CLOCK, etc
> - For the design, I will run regression every night (at least), so I will have
> results from multiple timestamps We have < 1000 TESTCASES, and < 1000
> PROPERTIES.
> 
> At the moment, I have a script that extracts property information from
> simulation logfile, and provides single PASS/FAIL and all logfiles stored in a
> directory structure with timestamps/testnames and other parameters embedded in
> paths
> 
> I would like to be easily look at (visualize) the data and answer the
> questions - When did this property last fail, and how many times was it
> checked - Is this property checked in this test case.
> 
> Initial question: How to organize the data within python?
> For a single testcase, I could use a dict. Key P_NAME, data in N_CHECKED,
> N_FAILED I then have to store multiple instances of testcase based on date
> (and simulation parameters.
> 
> Any comments, suggestions?
> Thanks,
> Steven

One small suggestion,
I used to store test conditions and results in log files, and then write parsers 
to read the results.  The formats kept changing (add more conditions/results!) 
and maintenance was a pain.

Now, in addition to a text log file, I write a file in pickle format containing 
a dict of all test conditions and results.  Much more convenient.

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[OT] Simulation Results Managment moogyd@yahoo.co.uk - 2012-07-13 22:50 -0700
  Re: [OT] Simulation Results Managment Neal Becker <ndbecker2@gmail.com> - 2012-07-14 20:42 -0400
    Re: [OT] Simulation Results Managment moogyd@yahoo.co.uk - 2012-07-14 22:29 -0700
      Re: [OT] Simulation Results Managment Dieter Maurer <dieter@handshake.de> - 2012-07-15 08:35 +0200
        Re: Simulation Results Managment rusi <rustompmody@gmail.com> - 2012-07-15 09:20 -0700
          Re: Simulation Results Managment moogyd@yahoo.co.uk - 2012-07-17 01:20 -0700
      Re: [OT] Simulation Results Managment Neal Becker <ndbecker2@gmail.com> - 2012-07-15 07:24 -0400
    Re: [OT] Simulation Results Managment moogyd@yahoo.co.uk - 2012-07-14 22:29 -0700
  Re: Simulation Results Managment rusi <rustompmody@gmail.com> - 2012-07-14 20:25 -0700
    Re: Simulation Results Managment moogyd@yahoo.co.uk - 2012-07-14 22:26 -0700

csiph-web