Skip to content

Commit 0f0b109

Browse files
adrpoclaude
andauthored
Add a Reconciliation extraction column to the data reconciliation reports (#436)
A data reconciliation run has two steps: omc extracts the model to reconcile in its back end, and the executable computes the reconciliation. The reports only showed the second one. A failed extraction looked like any other back end failure, and a model that was extracted but failed later in the back end looked like a failed extraction (OpenModelica/OpenModelica#14817). A model counts as extracted when omc wrote <model>_Reconciled_tmp.mo, which both back ends write at the end of the extraction. The file is collected with the other data reconciliation files, also when the run wrote no report, and the cell of the library page links it. The result tables keep the status in a new drextracted column, added to the existing sqlite and PostgreSQL tables, so that the overview can count it next to "Reconciliation computation". Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
1 parent 0b6220a commit 0f0b109

8 files changed

Lines changed: 109 additions & 31 deletions

File tree

‎README.md‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,10 @@ different OpenModelica versions, according to the conditions of the
159159
`(dr)` next to `(sim)`, with a *Reconciliation result* column in the library
160160
page. The simulation columns of the reports are titled *Reconciliation
161161
computation* for such a library.
162+
A *Reconciliation extraction* column before it says whether omc extracted
163+
the model to reconcile, which it does in its back end: the model counts as
164+
extracted when omc wrote `<model>_Reconciled_tmp.mo`, the file the cell
165+
links. The result database keeps that as `drextracted`, for the overview.
162166
[configs/dataReconciliation-newBackend.json](./configs/dataReconciliation-newBackend.json)
163167
is the same configuration with `--newBackend`; it fills the branch
164168
`dataReconciliation-newBackend`, and `overview-dataReconciliation.html` has

‎library.html.tpl‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<th>SimCode</th>
2020
<th>Templates</th>
2121
<th>Compilation</th>
22-
<th>#simulationLabel#</th>
22+
#drExtractionHeader#<th>#simulationLabel#</th>
2323
#drSummaryHeader#<th>Verification</th>
2424
</tr>
2525
<tr>
@@ -30,7 +30,7 @@
3030
<td bgcolor="#SimCodeColor#">#SimCode#</td>
3131
<td bgcolor="#TemplatesColor#">#Templates#</td>
3232
<td bgcolor="#CompilationColor#">#Compilation#</td>
33-
<td bgcolor="#SimulationColor#">#Simulation#</td>
33+
#drExtractionSummary#<td bgcolor="#SimulationColor#">#Simulation#</td>
3434
#drSummary#<td bgcolor="#VerificationColor#">#Verification#</td>
3535
</tr>
3636
</table>
@@ -59,7 +59,7 @@ Config: <pre>#config#</pre>
5959
<p>Links are provided if getErrorString() or the simulation generates output. The links are coded with <font style="#FF0000">red</font> if there were errors, <font style="#FFCC66">yellow</font> if there were warnings, and normal links if there are only notifications.</p>
6060
#invalidNote#
6161
<table>
62-
<tr><th>Model</th><th>Verified</th><th>#simulateLabel#</th>#drHeader#<th>Total buildModel</th><th>Parsing</th><th>Frontend</th><th>Backend</th><th>SimCode</th><th>Templates</th><th>Compile</th><th>Total Execution</th></tr>
62+
<tr><th>Model</th><th>Verified</th>#drExtractionHeader#<th>#simulateLabel#</th>#drHeader#<th>Total buildModel</th><th>Parsing</th><th>Frontend</th><th>Backend</th><th>SimCode</th><th>Templates</th><th>Compile</th><th>Total Execution</th></tr>
6363
#testsHTML#
6464
</table>
6565
<script>

‎report.py‎

Lines changed: 30 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,13 @@
3939
libnames = set(shared.libname(library,conf) for (library,conf) in configs)
4040
# What a data reconciliation run simulates is the model the reconciliation
4141
# extracted, not the library's model.
42-
simulationLabel = shared.DR_SIMULATION_LABEL if configs and all(conf.get("dataReconciliation") for (library,conf) in configs) else "Simulation"
43-
entryhead = "<tr><th>Branch</th><th>Total</th><th>Parsing</th><th>Frontend</th><th>Backend</th><th>SimCode</th><th>Templates</th><th>Compilation</th><th>%s</th><th>Verification</th></tr>\n" % simulationLabel
42+
dataReconciliation = bool(configs) and all(conf.get("dataReconciliation") for (library,conf) in configs)
43+
simulationLabel = shared.DR_SIMULATION_LABEL if dataReconciliation else "Simulation"
44+
entryhead = "<tr><th>Branch</th><th>Total</th><th>Parsing</th><th>Frontend</th><th>Backend</th><th>SimCode</th><th>Templates</th><th>Compilation</th>%%s<th>%s</th><th>Verification</th></tr>\n" % simulationLabel
45+
# The extraction is counted next to the computation it is done for. It has no
46+
# time of its own: it is part of the back end.
47+
phasesHead = entryhead % ("<th>%s</th>" % shared.DR_EXTRACTION_LABEL if dataReconciliation else "")
48+
timesHead = entryhead % ""
4449

4550
db = resultsdb.connect(args.db)
4651
cursor = db.cursor()
@@ -85,8 +90,11 @@ def inView(view, model, invalid):
8590
dates[branch][libname] = 0
8691
continue
8792
dates[branch][libname] = v[0]
88-
rows[branch][libname] = cursor.execute("SELECT model,finalphase,%s FROM %s WHERE libname=? AND date=? AND finalphase>=0"
89-
% (",".join(fields), db.quote(branch)), (libname,v[0])).fetchall()
93+
# A table from before the column has no drextracted, and one of the shared
94+
# database has NULL in its older rows.
95+
drextracted = "drextracted" if "drextracted" in db.columns(branch) else "NULL"
96+
rows[branch][libname] = cursor.execute("SELECT model,finalphase,%s,%s FROM %s WHERE libname=? AND date=? AND finalphase>=0"
97+
% (",".join(fields), drextracted, db.quote(branch)), (libname,v[0])).fetchall()
9098
for r in rows[branch][libname]:
9199
libs.setdefault(libname, set()).add(r[0])
92100

@@ -100,40 +108,51 @@ def counts(branch, lib, view):
100108
selected = [r for r in rows[branch].get(lib, []) if inView(view, r[0], invalid)]
101109
vs = [sum(1 for r in selected if r[1] >= i) for i in range(0,8)]
102110
sums = [sum(r[2+i] or 0 for r in selected) for i in range(0,len(fields))]
103-
return (vs, sums)
111+
return (vs, sums, sum(1 for r in selected if extracted(r)))
112+
113+
def extracted(row):
114+
"""Whether the data reconciliation extracted its model from the model of this row.
115+
116+
A run from before that was recorded says so by getting through the back end,
117+
which the extraction is part of.
118+
"""
119+
return row[1] >= 2 if row[-1] is None else row[-1] == 1
104120

105121
totals = {}
106122
for (view, _) in VIEWS:
107123
totals[view] = {}
108124
for branch in branches:
109125
t = {"simulate": 0, "verify": 0, "total": 0, "exectime": 0.0, "simtime": 0.0}
110126
for lib in libs:
111-
(vs, sums) = counts(branch, lib, view)
127+
(vs, sums, _) = counts(branch, lib, view)
112128
t["simulate"] += vs[6]
113129
t["verify"] += vs[7]
114130
t["total"] += vs[0]
115131
t["exectime"] += sums[0]
116132
t["simtime"] += sums[7]
117133
totals[view][branch] = t
118134

119-
def countsTable(caption, rows):
120-
return '<table class="counts"><caption>%s</caption>\n%s%s</table>\n' % (caption, entryhead, "".join(rows))
135+
def countsTable(caption, head, rows):
136+
return '<table class="counts"><caption>%s</caption>\n%s%s</table>\n' % (caption, head, "".join(rows))
121137

122138
def libraryTables(lib, view):
123139
phases = []
124140
times = []
125141
old_vs = None
126142
for branch in branches:
127-
(vs, sums) = counts(branch, lib, view)
143+
(vs, sums, numExtracted) = counts(branch, lib, view)
144+
# In the order of the columns: the total, the phases and, before the
145+
# simulation, the extraction of a data reconciliation library.
146+
vs = [vs[0]] + vs[0:6] + ([numExtracted] if dataReconciliation else []) + vs[6:]
128147
link = '<td><a href="%s/%s/%s.html">%s</a></td>' % (branch,lib,lib,branch)
129148
phases.append("<tr>%s%s</tr>\n" % (link, "".join('<td%s>%s</td>' % (' class="warning"' if old_vs and old_vs[i]>vs[i] else (' class="better"' if old_vs and old_vs[i]<vs[i] else ""), vs[i])
130-
for i in [0]+list(range(0,len(vs))))))
149+
for i in range(0,len(vs)))))
131150
times.append("<tr>%s%s</tr>\n" % (link, "".join("<td>%s</td>" % friendlyStr(s) for s in sums)))
132151
if old_vs:
133152
old_vs = [max(vs[i], old_vs[i]) for i in range(0, len(vs))]
134153
else:
135154
old_vs = vs
136-
return countsTable("Models that completed each phase", phases) + countsTable("Time spent in each phase", times)
155+
return countsTable("Models that completed each phase", phasesHead, phases) + countsTable("Time spent in each phase", timesHead, times)
137156

138157
def viewSwitch():
139158
return '<div class="switch" role="group" aria-label="Invalid models">%s</div>' % "".join(

‎resultsdb.py‎

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@
4141
("maxrss", "bigint"),
4242
# 1 for a model that omc only translates with --warnNonStandardModelica
4343
("invalid", "int"),
44+
# 1 for a model the data reconciliation extracted its model from
45+
("drextracted", "int"),
4446
]
4547
SQLITE_TYPES = {"bigint": "integer", "int": "integer", "real": "real", "text": "text"}
4648
POSTGRES_TYPES = {"bigint": "bigint", "int": "integer", "real": "double precision", "text": "text"}
@@ -313,20 +315,22 @@ def createTables(self, branch):
313315
self.addLibversionHost(cursor)
314316
elif user_version == 3:
315317
self.addLibversionHost(cursor)
316-
elif user_version not in (4, 5, 6):
318+
elif user_version not in (4, 5, 6, 7):
317319
raise SystemExit("Unknown schema user_version=%d" % user_version)
318320
if 0 < user_version < 5:
319321
self.addMaxrss(cursor)
320322
if 0 < user_version < 6:
321323
self.addInvalid(cursor)
324+
if 0 < user_version < 7:
325+
self.addDrExtracted(cursor)
322326

323327
cols = ", ".join("%s %s NOT NULL" % (c, SQLITE_TYPES[t]) for c, t in BRANCH_COLUMNS)
324328
cursor.execute("CREATE TABLE if not exists %s (%s)" % (self.quote(branch), cols))
325329
# The indexes only slow the run's inserts down; the report scripts add them back.
326330
cursor.execute("DROP INDEX IF EXISTS [idx_%s_date]" % branch)
327331
cursor.execute("DROP INDEX IF EXISTS idx_omcversion_date")
328332
cursor.execute("DROP INDEX IF EXISTS idx_libversion_date")
329-
self.setUserVersion(6)
333+
self.setUserVersion(7)
330334

331335
def addMaxrss(self, cursor):
332336
"""Add maxrss to every result table that predates it; older rows read 0."""
@@ -342,6 +346,13 @@ def addInvalid(self, cursor):
342346
if "finalphase" in have and "invalid" not in have:
343347
cursor.execute("ALTER TABLE %s ADD COLUMN invalid integer NOT NULL DEFAULT(0)" % self.quote(tbl))
344348

349+
def addDrExtracted(self, cursor):
350+
"""Add drextracted to every result table that predates it; older rows read 0."""
351+
for tbl in self.tables():
352+
have = self.columns(tbl)
353+
if "finalphase" in have and "drextracted" not in have:
354+
cursor.execute("ALTER TABLE %s ADD COLUMN drextracted integer NOT NULL DEFAULT(0)" % self.quote(tbl))
355+
345356
def addLibversionHost(self, cursor):
346357
"""Add the host columns to an existing [libversion].
347358
@@ -540,6 +551,8 @@ def createTables(self, branch):
540551
cursor.execute("ALTER TABLE %s ADD COLUMN IF NOT EXISTS maxrss bigint" % self.quote(branch))
541552
if "invalid" not in branchColumns:
542553
cursor.execute("ALTER TABLE %s ADD COLUMN IF NOT EXISTS invalid integer" % self.quote(branch))
554+
if "drextracted" not in branchColumns:
555+
cursor.execute("ALTER TABLE %s ADD COLUMN IF NOT EXISTS drextracted integer" % self.quote(branch))
543556
indexes = [("UNIQUE INDEX", "uq_%s_%s" % (tbl, "_".join(KEYS.get(tbl, BRANCH_KEY))), tbl,
544557
KEYS.get(tbl, BRANCH_KEY)) for tbl in ["omcversion", "libversion", branch]]
545558
indexes.append(("INDEX", "idx_%s_libname_date" % branch, branch, ["libname", "date"]))

‎shared.py‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,8 @@ def libname(library, conf):
205205
# What the reports of a data reconciliation run call the simulation phase: the
206206
# executable of such a run computes the reconciliation of the extracted model.
207207
DR_SIMULATION_LABEL = "Reconciliation computation"
208+
# The part omc does before it, in its back end: extracting the model to reconcile.
209+
DR_EXTRACTION_LABEL = "Reconciliation extraction"
208210

209211
# A model the run no longer found in its library; the reports ask for >= 0.
210212
DELETED_PHASE = -1

‎sqlite2postgres.py‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@
6666
("parsing", "double precision"),
6767
("maxrss", "bigint"),
6868
("invalid", "integer"),
69+
("drextracted", "integer"),
6970
]
7071

7172
LOOKUP_COLUMNS = {

‎test.py‎

Lines changed: 39 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1218,6 +1218,15 @@ def runnerExecTime(data, simulated):
12181218
shared_time = (data.get("exectime") or 0.0) - sum(simulatedTime(r) for r in runners)
12191219
return max(0.0, shared_time) + simulatedTime(simulated)
12201220

1221+
def drExtracted(data):
1222+
"""Whether the data reconciliation extracted its model from this one.
1223+
1224+
The results of a run that did not record it yet say so by getting through the
1225+
back end, which the extraction is part of.
1226+
"""
1227+
dr = data.get("dr") or {}
1228+
return dr["extracted"] if "extracted" in dr else bool(dr) and (data.get("phase") or 0) >= 2
1229+
12211230
def resultValues(model, libname, data, simulator=None):
12221231
"""One row of a branch table.
12231232
@@ -1245,7 +1254,8 @@ def resultValues(model, libname, data, simulator=None):
12451254
simulated.get("phase") or 0,
12461255
data.get("parsing") or 0.0,
12471256
data.get("maxrss") or 0,
1248-
1 if data.get("nonstandard") else 0
1257+
1 if data.get("nonstandard") else 0,
1258+
1 if drExtracted(data) else 0
12491259
)
12501260

12511261
def removedModels(resultBranch, libname, tested):
@@ -1263,7 +1273,7 @@ def removedModels(resultBranch, libname, tested):
12631273
def removedValues(model, libname):
12641274
"""One row of a branch table saying the library no longer has that model."""
12651275
return (testRunStartTimeAsEpoch, libname, model,
1266-
0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0, 0, shared.DELETED_PHASE, 0.0, 0, 0)
1276+
0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0, 0, shared.DELETED_PHASE, 0.0, 0, 0, 0)
12671277

12681278
resultPlaceholders = ",".join("?" * len(resultsdb.BRANCH_COLUMNS))
12691279

@@ -1346,6 +1356,20 @@ def drLink(filename_prefix, data):
13461356
return ""
13471357
return ' (<a href="%s.dr/%s.html">dr</a>)' % (filename_prefix, os.path.basename(filename_prefix))
13481358

1359+
def drExtractionCell(conf, filename_prefix, data):
1360+
"""The Reconciliation extraction cell of a model, linking the extracted model."""
1361+
if not conf.get("dataReconciliation"):
1362+
return ""
1363+
if drExtracted(data):
1364+
extractedModel = os.path.basename(filename_prefix) + "_Reconciled_tmp.mo"
1365+
if extractedModel in ((data.get("dr") or {}).get("files") or []):
1366+
return '<td bgcolor="#00FF00"><a href="%s.dr/%s">extracted</a></td>' % (filename_prefix, extractedModel)
1367+
return '<td bgcolor="#00FF00">extracted</td>'
1368+
# The extraction runs in the back end, which a model reaches with its front end.
1369+
if (data.get("phase") or 0) >= 1:
1370+
return '<td bgcolor="#FFCC66">failed</td>'
1371+
return '<td bgcolor="#FFCC66">&nbsp;</td>'
1372+
13491373
def drCell(conf, data):
13501374
"""The Reconciliation result cell of a model, for the libraries tested with it."""
13511375
if not conf.get("dataReconciliation"):
@@ -1358,11 +1382,13 @@ def drCell(conf, data):
13581382
return '<td bgcolor="#FFCC66">&nbsp;</td>'
13591383

13601384
def drSummary(conf, stats):
1361-
"""The header cell and the count of reconciled models for the library summary."""
1385+
"""The header cells and the counts of extracted and of reconciled models for the library summary."""
13621386
if not conf.get("dataReconciliation"):
1363-
return ("", "", "")
1364-
n = sum(1 for s in stats if (s[3].get("dr") or {}).get("reconciled"))
1365-
return ("<th>Reconciliation result</th>", '<td bgcolor="%s">%d</td>' % ("#00FF00" if n == len(stats) else "#FFCC66", n),
1387+
return ("", "", "", "", "")
1388+
def count(n):
1389+
return '<td bgcolor="%s">%d</td>' % ("#00FF00" if n == len(stats) else "#FFCC66", n)
1390+
return ("<th>%s</th>" % shared.DR_EXTRACTION_LABEL, count(sum(1 for s in stats if drExtracted(s[3]))),
1391+
"<th>Reconciliation result</th>", count(sum(1 for s in stats if (s[3].get("dr") or {}).get("reconciled"))),
13661392
"<th>Reconciliation result</th>")
13671393

13681394
def invalidCross(data):
@@ -1584,14 +1610,14 @@ def publishLibrary(libname):
15841610
errPrefix = "files/%s_%s" % (s[2],s[1])
15851611
if is_non_zero_file(errPrefix+".err"):
15861612
filesList.write("/%s.err\n" % errPrefix)
1587-
if (s[3].get("dr") or {}).get("report"):
1588-
# The report of a data reconciliation run and the pages it links.
1613+
if (s[3].get("dr") or {}).get("files"):
1614+
# The report of a data reconciliation run, the pages it links and the extracted model.
15891615
filesList.write("/%s.dr/***\n" % filename_prefix)
15901616
if (s[3].get("diff") or {}).get("vars"):
15911617
filesList.write("/%s.diff.mat\n" % filename_prefix)
15921618
filesList.write("/%s.diff.ref.mat\n" % filename_prefix)
15931619
filesList.close()
1594-
testsHTML = "\n".join(['<tr%s><td>%s%s%s%s</td><td bgcolor="%s">%s</td><td bgcolor="%s">%s</td>%s<td bgcolor="%s">%s</td><td>%s</td><td bgcolor="%s">%s</td><td bgcolor="%s">%s</td><td bgcolor="%s">%s</td><td bgcolor="%s">%s</td><td bgcolor="%s">%s</td><td>%s</td></tr>\n' %
1620+
testsHTML = "\n".join(['<tr%s><td>%s%s%s%s</td><td bgcolor="%s">%s</td>%s<td bgcolor="%s">%s</td>%s<td bgcolor="%s">%s</td><td>%s</td><td bgcolor="%s">%s</td><td bgcolor="%s">%s</td><td bgcolor="%s">%s</td><td bgcolor="%s">%s</td><td bgcolor="%s">%s</td><td>%s</td></tr>\n' %
15951621
(lambda filename_prefix, errPrefix, diff:
15961622
(
15971623
' class="invalid"' if s[3].get("nonstandard") else "",
@@ -1604,6 +1630,7 @@ def publishLibrary(libname):
16041630
"&nbsp;" if diff is None else
16051631
(("%s (%d verified)" % (timeSeconds(diff.get("time")), diff.get("numCompared"))) if s[3]["phase"]>=7 else
16061632
('%s (<a href="%s.diff.mat" data-omplot="%s.diff">%d/%d failed</a>)' % (timeSeconds(diff.get("time")), filename_prefix, filename_prefix, len(diff.get("vars")), diff.get("numCompared")))),
1633+
drExtractionCell(conf, filename_prefix, s[3]),
16071634
checkPhase(s[3]["phase"], 6),
16081635
timeSeconds(s[3].get("sim") or 0),
16091636
drCell(conf, s[3]),
@@ -1628,8 +1655,10 @@ def publishLibrary(libname):
16281655

16291656
gitReferenceFilesVersion = referenceFilesVersion(conf.get("referenceFiles"))
16301657

1631-
(drSummaryHeader, drSummaryCell, drHeader) = drSummary(conf, stats)
1658+
(drExtractionHeader, drExtractionSummary, drSummaryHeader, drSummaryCell, drHeader) = drSummary(conf, stats)
16321659
replacements = (
1660+
(u"#drExtractionHeader#", drExtractionHeader),
1661+
(u"#drExtractionSummary#", drExtractionSummary),
16331662
(u"#drSummaryHeader#", drSummaryHeader),
16341663
(u"#drSummary#", drSummaryCell),
16351664
(u"#drHeader#", drHeader),

‎testmodel.py‎

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,8 @@ def noteChildrenRss():
167167
# files its report links: the reconciled values and the extracted model.
168168
dataReconciliationExtraFiles = ("_Outputs.csv", "_BoundaryConditions_Outputs.csv", "_Reconciled_Sx.csv",
169169
"_NonReconcilcedVars.txt", "_BoundaryConditions.html")
170+
# The model the extraction wrote for the executable to reconcile.
171+
dataReconciliationExtractedModel = "_Reconciled_tmp.mo"
170172
hrefRe = re.compile(r'<a\s+href\s*=\s*"?([^"\s>]+)"?', re.I)
171173

172174
def collectDataReconciliation():
@@ -176,15 +178,23 @@ def collectDataReconciliation():
176178
the executable and linked relative to it, so they are copied together into a
177179
directory of their own and keep working there. The links are read from the
178180
report rather than listed here, so that whatever the runtime adds comes along.
181+
182+
The extraction is the part of the reconciliation that omc does: it succeeded
183+
if it wrote the model it extracted, which is the last thing it does and what
184+
the executable then reconciles. A model can have that file and no report,
185+
when omc fails later in the back end.
179186
"""
180187
prefix = conf["fileName"]
181188
report = "%s.html" % prefix
182-
if not os.path.exists(report):
183-
execstat["dr"] = {"report": False, "reconciled": False}
189+
extractedModel = prefix + dataReconciliationExtractedModel
190+
extracted = os.path.exists(extractedModel)
191+
hasReport = os.path.exists(report)
192+
if not (hasReport or extracted):
193+
execstat["dr"] = {"report": False, "reconciled": False, "extracted": False}
184194
return
185-
files = {report, "Reconciled_%s.mo" % prefix.replace(".", "_")}
195+
files = {report, extractedModel, "Reconciled_%s.mo" % prefix.replace(".", "_")}
186196
files.update(prefix + suffix for suffix in dataReconciliationExtraFiles)
187-
pending = [report]
197+
pending = [report] if hasReport else []
188198
while pending:
189199
page = pending.pop()
190200
with open(page, errors="replace") as fp:
@@ -208,7 +218,7 @@ def collectDataReconciliation():
208218
if log in files and log not in copied and os.path.isfile(simFile):
209219
shutil.copy(simFile, os.path.join(dest, log))
210220
copied.append(log)
211-
execstat["dr"] = {"report": True, "reconciled": os.path.exists(prefix + "_Outputs.csv"), "files": copied}
221+
execstat["dr"] = {"report": hasReport, "reconciled": os.path.exists(prefix + "_Outputs.csv"), "extracted": extracted, "files": copied}
212222

213223
def writeResult():
214224
noteChildrenRss()

0 commit comments

Comments
 (0)