Skip to content

Commit 72b8176

Browse files
committed
feat(docs): a diagram section's candidates carry its diagram family's p
A Markdown section that embeds a diagram is about its candidate functions more often than the Markdown curve says, by how much depends on the diagram's kind. 553 candidates from such sections in 16 held-out repositories, judged blind in three rounds: 0.20-0.30 0.30-0.40 0.40+ local extras prose 0.24 0.28 0.45 0.275 structural 0.32 0.46 0.57 0.78 (9 items) Structural is Mermaid sequence/class/ER/C4/architecture and PlantUML C4/class/sequence/use-case/component; prose any other Mermaid or PlantUML kind. A section takes the highest family of the Diagram nodes it defines; its function candidates at or inside the doc's home and its local extras carry the family's value, and the first band is now stored. Outside functions, files, folders, other formats and sections without a diagram keep the Markdown curve. On kubernetes' apiserver folder the sequence-diagram section's candidates move from 0.22/0.51 to 0.46/0.57, the flowchart sections gain five first-band candidates at 0.24, other sections and the graph are unchanged. Signed-off-by: Martin Vogel <martin.vogel.tech@gmail.com>
1 parent 75b98a4 commit 72b8176

6 files changed

Lines changed: 356 additions & 17 deletions

File tree

‎src/pipeline/pass_semantic_edges.c‎

Lines changed: 37 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2904,20 +2904,47 @@ typedef struct {
29042904
int n;
29052905
} doc_rows_t;
29062906

2907+
/* The diagram family of a section: the highest of the Diagram nodes it
2908+
* DEFINES (cbm_sem_diag_family), CBM_SEM_DIAG_NONE without one. */
2909+
static cbm_sem_diag_family_t doc_section_family(const cbm_gbuf_t *gbuf,
2910+
const cbm_gbuf_node_t *sec) {
2911+
const cbm_gbuf_edge_t **edges = NULL;
2912+
int n = 0;
2913+
cbm_sem_diag_family_t fam = CBM_SEM_DIAG_NONE;
2914+
if (cbm_gbuf_find_edges_by_source_type(gbuf, sec->id, "DEFINES", &edges, &n) != 0) {
2915+
return fam;
2916+
}
2917+
for (int i = 0; i < n; i++) {
2918+
const cbm_gbuf_node_t *t = cbm_gbuf_find_by_id(gbuf, edges[i]->target_id);
2919+
if (!t || !t->label || strcmp(t->label, "Diagram") != 0 || !t->properties_json) {
2920+
continue;
2921+
}
2922+
char fmt[CBM_SZ_32];
2923+
char kind[CBM_SZ_32];
2924+
const char *f = json_str_value(t->properties_json, "format", fmt, sizeof(fmt));
2925+
const char *k = json_str_value(t->properties_json, "diagram_kind", kind, sizeof(kind));
2926+
cbm_sem_diag_family_t df = cbm_sem_diag_family(f, k);
2927+
if (df > fam) {
2928+
fam = df;
2929+
}
2930+
}
2931+
return fam;
2932+
}
2933+
29072934
/* Append the candidate (section -> target) when its judged p is above 0 and
29082935
* the graph does not link the pair exactly; false: out of memory (the row at
29092936
* rw->n may hold partial strings). */
29102937
static bool doc_row_add(doc_rows_t *rw, const cbm_gbuf_t *gbuf, const cbm_gbuf_node_t *sec,
2911-
const cbm_gbuf_node_t *target, const doc_hit_t *hit,
2912-
cbm_sem_doc_kind_t kind, const char *home) {
2938+
cbm_sem_diag_family_t fam, const cbm_gbuf_node_t *target,
2939+
const doc_hit_t *hit, cbm_sem_doc_kind_t kind, const char *home) {
29132940
if (!target || !target->qualified_name || !sec->qualified_name) {
29142941
return true;
29152942
}
29162943
cbm_sem_doc_pos_t pos = doc_target_position(home, target, kind);
29172944
cbm_sem_doc_format_t fmt = cbm_sem_doc_format(sec->file_path);
29182945
float p = kind == CBM_SEM_DOC_KIND_FOLDER
29192946
? cbm_sem_doc_folder_p(fmt, sec->file_path)
2920-
: cbm_sem_doc_calibrated_p(fmt, kind, pos, hit->tfidf);
2947+
: cbm_sem_doc_section_p(fmt, fam, kind, pos, hit->tfidf);
29212948
if (p <= 0.0F || doc_pair_linked(gbuf, sec->id, target->id)) {
29222949
return true; /* not stored for this band, kind or format; or linked exactly */
29232950
}
@@ -2944,25 +2971,26 @@ static bool doc_section_rows(doc_rows_t *rw, const cbm_gbuf_t *gbuf, const doc_c
29442971
const doc_place_t *pl, int s) {
29452972
const cbm_gbuf_node_t *sec = dc->secs[s];
29462973
const doc_result_t *r = &dc->res[s];
2974+
cbm_sem_diag_family_t fam = doc_section_family(gbuf, sec);
29472975
bool ok = true;
29482976
for (int h = 0; ok && h < r->n + r->nlocal; h++) {
29492977
const doc_hit_t *hit = h < r->n ? &r->hits[h] : &r->local[h - r->n];
29502978
if (h < r->n && (hit->rank > CBM_SEM_DOC_TOP_K || hit->tfidf < CBM_SEM_DOC_MIN_SCORE)) {
29512979
continue;
29522980
}
2953-
ok =
2954-
doc_row_add(rw, gbuf, sec, cbm_gbuf_find_by_id(gbuf, dc->funcs[hit->func].node_id), hit,
2955-
h < r->n ? CBM_SEM_DOC_KIND_FUNCTION : CBM_SEM_DOC_KIND_LOCAL, pl->home[s]);
2981+
ok = doc_row_add(
2982+
rw, gbuf, sec, fam, cbm_gbuf_find_by_id(gbuf, dc->funcs[hit->func].node_id), hit,
2983+
h < r->n ? CBM_SEM_DOC_KIND_FUNCTION : CBM_SEM_DOC_KIND_LOCAL, pl->home[s]);
29562984
}
29572985
for (int h = 0; ok && h < r->nfiles; h++) {
29582986
const doc_file_hit_t *fh = &r->files[h];
29592987
doc_hit_t hit = {.tfidf = fh->tfidf, .rank = fh->rank, .shared = fh->shared};
2960-
ok = doc_row_add(rw, gbuf, sec, dc->files->node[fh->file], &hit, CBM_SEM_DOC_KIND_FILE,
2988+
ok = doc_row_add(rw, gbuf, sec, fam, dc->files->node[fh->file], &hit, CBM_SEM_DOC_KIND_FILE,
29612989
pl->home[s]);
29622990
}
29632991
doc_hit_t first = {.rank = SKIP_ONE};
2964-
return ok && doc_row_add(rw, gbuf, sec, doc_home_folder(pl, s), &first, CBM_SEM_DOC_KIND_FOLDER,
2965-
pl->home[s]);
2992+
return ok && doc_row_add(rw, gbuf, sec, fam, doc_home_folder(pl, s), &first,
2993+
CBM_SEM_DOC_KIND_FOLDER, pl->home[s]);
29662994
}
29672995

29682996
/* The stored candidates of every section -- its best CBM_SEM_DOC_TOP_K

‎src/pipeline/pipeline_internal.h‎

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1282,7 +1282,13 @@ int cbm_pipeline_build_fresh_semantic_manifest(cbm_pipeline_t *p, const char *pr
12821282
* properties are read with their escapes, admission is best-first and
12831283
* every edge carries "p"; doc_link_candidates holds doc section -> code
12841284
* candidates. An index built before has the old pairs and no
1285-
* candidates, so it rebuilds once on upgrade. */
1285+
* candidates, so it rebuilds once on upgrade. Released together with
1286+
* 7 (no release in between, so no number of its own): doc comments of
1287+
* Go, Java, Kotlin, Rust, Perl, TS/JS, PHP and C hold MENTIONS edges;
1288+
* diagrams are Diagram/DiagramElement nodes with DIAGRAM_ARROW edges;
1289+
* OpenAPI operations are Routes; a Markdown section's text keeps a
1290+
* diagram fence's labels instead of its syntax, and its candidates
1291+
* carry the p of its diagrams' kind family. */
12861292
enum { CBM_SEMANTIC_INDEX_VERSION = 7 };
12871293

12881294
typedef struct {

‎src/semantic/semantic.c‎

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1973,6 +1973,72 @@ float cbm_sem_doc_folder_p(cbm_sem_doc_format_t fmt, const char *doc_path) {
19731973
return readme ? 0.867F : 0.0F;
19741974
}
19751975

1976+
cbm_sem_diag_family_t cbm_sem_diag_family(const char *format, const char *diagram_kind) {
1977+
static const char *const mermaid[] = {"sequence", "class", "er",
1978+
"c4_context", "c4_container", "c4_component",
1979+
"c4_dynamic", "c4_deployment", "architecture"};
1980+
static const char *const plantuml[] = {"c4", "class", "sequence", "usecase", "component"};
1981+
if (!format || !format[0]) {
1982+
return CBM_SEM_DIAG_NONE;
1983+
}
1984+
const char *const *structural = NULL;
1985+
size_t n = 0;
1986+
if (strcmp(format, "mermaid") == 0) {
1987+
structural = mermaid;
1988+
n = sizeof(mermaid) / sizeof(mermaid[0]);
1989+
} else if (strcmp(format, "plantuml") == 0) {
1990+
structural = plantuml;
1991+
n = sizeof(plantuml) / sizeof(plantuml[0]);
1992+
} else {
1993+
return CBM_SEM_DIAG_GRAPH;
1994+
}
1995+
for (size_t i = 0; diagram_kind && i < n; i++) {
1996+
if (strcmp(diagram_kind, structural[i]) == 0) {
1997+
return CBM_SEM_DIAG_STRUCTURAL;
1998+
}
1999+
}
2000+
return CBM_SEM_DIAG_PROSE;
2001+
}
2002+
2003+
/* Markdown sections that embed a diagram, by the section's family (DIAG-C,
2004+
* 2026-10-11: 553 blind-judged candidates from sections of 16 held-out
2005+
* repositories that embed a diagram, three reading rounds; function
2006+
* candidates at or inside the home pooled, as both curves rose by band).
2007+
* A diagram section is about its candidates more often than SEM7's Markdown
2008+
* curve says, so its first band is stored too:
2009+
* prose 0.24 / 0.28 / 0.45, local extras 11 of 40 = 0.275
2010+
* structural 0.32 / 0.46 / 0.57, local extras 7 of 9 = 0.78 (every
2011+
* local extra of the family; 95% interval 0.45-0.94)
2012+
* Graph diagrams (DOT, D2) were not found in Markdown sections: SEM7. */
2013+
static const struct {
2014+
bool fitted;
2015+
float function[SEM_DOC_P_NBANDS];
2016+
float local;
2017+
} SEM_DOC_P_MD_DIAGRAM[CBM_SEM_DIAG_COUNT] = {
2018+
[CBM_SEM_DIAG_PROSE] = {true, {0.0F, 0.24F, 0.28F, 0.45F}, 0.275F},
2019+
[CBM_SEM_DIAG_STRUCTURAL] = {true, {0.0F, 0.32F, 0.464F, 0.567F}, 0.778F},
2020+
};
2021+
2022+
float cbm_sem_doc_section_p(cbm_sem_doc_format_t fmt, cbm_sem_diag_family_t fam,
2023+
cbm_sem_doc_kind_t kind, cbm_sem_doc_pos_t pos, float score) {
2024+
bool fitted = fmt == CBM_SEM_DOC_FMT_MARKDOWN && (int)fam > 0 && fam < CBM_SEM_DIAG_COUNT &&
2025+
SEM_DOC_P_MD_DIAGRAM[fam].fitted;
2026+
bool home = pos == CBM_SEM_DOC_POS_GLOBAL || pos == CBM_SEM_DOC_POS_LOCAL;
2027+
if (!fitted || !((kind == CBM_SEM_DOC_KIND_FUNCTION && home) ||
2028+
(kind == CBM_SEM_DOC_KIND_LOCAL && pos == CBM_SEM_DOC_POS_LOCAL))) {
2029+
return cbm_sem_doc_calibrated_p(fmt, kind, pos, score);
2030+
}
2031+
size_t band = 0;
2032+
while (band < SEM_DOC_P_NBANDS - 1 && score >= SEM_DOC_P_CUTS[band]) {
2033+
band++;
2034+
}
2035+
if (band == 0) {
2036+
return 0.0F; /* below CBM_SEM_DOC_MIN_SCORE: never measured, nothing stored */
2037+
}
2038+
return kind == CBM_SEM_DOC_KIND_LOCAL ? SEM_DOC_P_MD_DIAGRAM[fam].local
2039+
: SEM_DOC_P_MD_DIAGRAM[fam].function[band];
2040+
}
2041+
19762042
float cbm_sem_combined_score(const cbm_sem_func_t *a, const cbm_sem_func_t *b,
19772043
const cbm_sem_config_t *cfg) {
19782044
if (!a || !b || !cfg) {

‎src/semantic/semantic.h‎

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -319,6 +319,28 @@ float cbm_sem_doc_calibrated_p(cbm_sem_doc_format_t fmt, cbm_sem_doc_kind_t kind
319319
* stored. */
320320
float cbm_sem_doc_folder_p(cbm_sem_doc_format_t fmt, const char *doc_path);
321321

322+
/* The kind family of a diagram a section embeds, by its format and
323+
* diagram_kind: structural (Mermaid sequence, class, ER, C4 and architecture;
324+
* PlantUML C4, class, sequence, use-case and component), prose (any other
325+
* Mermaid or PlantUML diagram) or graph (any other format). A section's family
326+
* is the highest any of its diagrams has, in this order. */
327+
typedef enum {
328+
CBM_SEM_DIAG_NONE = 0,
329+
CBM_SEM_DIAG_GRAPH,
330+
CBM_SEM_DIAG_PROSE,
331+
CBM_SEM_DIAG_STRUCTURAL,
332+
CBM_SEM_DIAG_COUNT,
333+
} cbm_sem_diag_family_t;
334+
cbm_sem_diag_family_t cbm_sem_diag_family(const char *format, const char *diagram_kind);
335+
336+
/* cbm_sem_doc_calibrated_p for a section that embeds diagrams of family fam:
337+
* a Markdown section of a family with its own judged curve takes that curve
338+
* for function candidates at or inside the home and for local extras; every
339+
* other candidate, and every section of another family, as
340+
* cbm_sem_doc_calibrated_p. */
341+
float cbm_sem_doc_section_p(cbm_sem_doc_format_t fmt, cbm_sem_diag_family_t fam,
342+
cbm_sem_doc_kind_t kind, cbm_sem_doc_pos_t pos, float score);
343+
322344
/* p as stored and shown: two decimals, half up (0.225 -> 0.23, 0.325 ->
323345
* 0.33; the epsilon absorbs the float representation of a judged x.xx5). */
324346
double cbm_sem_p_2dp(float p);

‎tests/test_pipeline.c‎

Lines changed: 142 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18948,11 +18948,12 @@ TEST(pipeline_semantic_edges_carry_p) {
1894818948
PASS();
1894918949
}
1895018950

18951-
/* The p a stored candidate row must carry: the curve of the row's kind and
18952-
* position (read from its evidence) at its score, two decimals; -1 for an
18953-
* unknown kind or position. *is_function: a function candidate (top 5). */
18954-
static double doc_row_want(const char *evidence, cbm_sem_doc_format_t fmt, float score,
18955-
bool *is_function) {
18951+
/* The p a stored candidate row of a section embedding diagrams of family fam
18952+
* must carry: the curve of the row's kind and position (read from its
18953+
* evidence) at its score, two decimals; -1 for an unknown kind or position.
18954+
* *is_function: a function candidate (top 5). */
18955+
static double doc_row_want_family(const char *evidence, cbm_sem_doc_format_t fmt,
18956+
cbm_sem_diag_family_t fam, float score, bool *is_function) {
1895618957
static const struct {
1895718958
const char *name;
1895818959
cbm_sem_doc_kind_t kind;
@@ -18973,8 +18974,14 @@ static double doc_row_want(const char *evidence, cbm_sem_doc_format_t fmt, float
1897318974
}
1897418975
*is_function = k == 0;
1897518976
return k < 0 || p < 0 ? -1.0
18976-
: cbm_sem_p_2dp(cbm_sem_doc_calibrated_p(fmt, KINDS[k].kind,
18977-
POSITIONS[p].pos, score));
18977+
: cbm_sem_p_2dp(cbm_sem_doc_section_p(fmt, fam, KINDS[k].kind,
18978+
POSITIONS[p].pos, score));
18979+
}
18980+
18981+
/* doc_row_want_family for a section without a diagram. */
18982+
static double doc_row_want(const char *evidence, cbm_sem_doc_format_t fmt, float score,
18983+
bool *is_function) {
18984+
return doc_row_want_family(evidence, fmt, CBM_SEM_DIAG_NONE, score, is_function);
1897818985
}
1897918986

1898018987
/* Count a section's stored doc -> code candidates (section QN containing
@@ -19219,6 +19226,133 @@ TEST(pipeline_doc_candidates_skip_exact_links_and_use_format_curves) {
1921919226
PASS();
1922019227
}
1922119228

19229+
/* The rows of a section (its QN contains heading): their count; *bad the
19230+
* rows off the curve of the section's diagram family fam; *own the rows
19231+
* whose p differs from a section without a diagram. */
19232+
static int doc_family_rows(cbm_store_t *s, const char *heading, cbm_sem_diag_family_t fam, int *bad,
19233+
int *own) {
19234+
sqlite3_stmt *st = NULL;
19235+
*bad = 0;
19236+
*own = 0;
19237+
if (sqlite3_prepare_v2(cbm_store_get_db(s),
19238+
"SELECT score, p, evidence FROM doc_link_candidates "
19239+
"WHERE instr(section_qn, ?1) > 0",
19240+
-1, &st, NULL) != SQLITE_OK) {
19241+
return -1;
19242+
}
19243+
sqlite3_bind_text(st, 1, heading, -1, SQLITE_TRANSIENT);
19244+
int n = 0;
19245+
while (sqlite3_step(st) == SQLITE_ROW) {
19246+
float score = (float)sqlite3_column_double(st, 0);
19247+
double p = sqlite3_column_double(st, 1);
19248+
const char *ev = (const char *)sqlite3_column_text(st, 2);
19249+
bool is_function = false;
19250+
double want = doc_row_want_family(ev, CBM_SEM_DOC_FMT_MARKDOWN, fam, score, &is_function);
19251+
*bad += want <= 0.0 || p != want;
19252+
*own += want != doc_row_want(ev, CBM_SEM_DOC_FMT_MARKDOWN, score, &is_function);
19253+
n++;
19254+
}
19255+
sqlite3_finalize(st);
19256+
return n;
19257+
}
19258+
19259+
/* The diagram_kind of the Diagram a section (its QN contains heading)
19260+
* DEFINES, "" without one. */
19261+
static void doc_section_diagram_kind(cbm_store_t *s, const char *heading, char *out,
19262+
size_t out_sz) {
19263+
sqlite3_stmt *st = NULL;
19264+
out[0] = '\0';
19265+
if (sqlite3_prepare_v2(cbm_store_get_db(s),
19266+
"SELECT json_extract(d.properties, '$.diagram_kind') FROM edges e "
19267+
"JOIN nodes a ON a.id = e.source_id JOIN nodes d ON d.id = e.target_id "
19268+
"WHERE e.type = 'DEFINES' AND a.label = 'Section' "
19269+
"AND d.label = 'Diagram' AND instr(a.qualified_name, ?1) > 0",
19270+
-1, &st, NULL) != SQLITE_OK) {
19271+
return;
19272+
}
19273+
sqlite3_bind_text(st, 1, heading, -1, SQLITE_TRANSIENT);
19274+
if (sqlite3_step(st) == SQLITE_ROW && sqlite3_column_text(st, 0)) {
19275+
snprintf(out, out_sz, "%s", (const char *)sqlite3_column_text(st, 0));
19276+
}
19277+
sqlite3_finalize(st);
19278+
}
19279+
19280+
/* A Markdown section that embeds a diagram takes its diagram family's judged
19281+
* curve (DIAG-C): a sequence diagram is structural, a flowchart is prose; a
19282+
* section without a diagram keeps the Markdown curve. Some rows of each
19283+
* diagram section must carry a p the Markdown curve would not give. */
19284+
TEST(pipeline_doc_candidates_diagram_family_curves) {
19285+
char tmp[256];
19286+
snprintf(tmp, sizeof(tmp), "/tmp/cbm_docdiag_XXXXXX");
19287+
ASSERT_NOT_NULL(cbm_mkdtemp(tmp));
19288+
static const char *const subjects[] = {"mail", "cache", "queue", "user", "server", "client"};
19289+
for (size_t i = 0; i < sizeof(subjects) / sizeof(subjects[0]); i++) {
19290+
write_py_family(tmp, subjects[i]);
19291+
}
19292+
char docs[512];
19293+
snprintf(docs, sizeof(docs), "%s/docs", tmp);
19294+
ASSERT_TRUE(cbm_mkdir_p(docs, 0755));
19295+
write_temp_file(
19296+
tmp, "docs/mail.md",
19297+
"# Mail loading\n\n"
19298+
"Load the mail config from disk and validate every mail field before the "
19299+
"parsed mail settings are returned; missing mail fields fail the validation.\n\n"
19300+
"```mermaid\nsequenceDiagram\n"
19301+
" participant Loader\n participant Validator\n"
19302+
" Loader->>Validator: validate mail config\n```\n\n"
19303+
"# Mail writing\n\n"
19304+
"Write the mail config back to disk after validating it, so the written "
19305+
"mail config file always carries every mail field it needs.\n\n"
19306+
"```mermaid\nflowchart TD\n"
19307+
" validate[validate mail config] --> write[write mail config]\n```\n\n"
19308+
"# Mail parsing\n\n"
19309+
"Parse the mail config file and return the parsed mail settings; the mail "
19310+
"config is loaded from disk and every mail field is validated first.\n");
19311+
char db[512];
19312+
snprintf(db, sizeof(db), "%s/docdiag.db", tmp);
19313+
cbm_pipeline_incremental_test_reset_faults();
19314+
cbm_pipeline_t *p = cbm_pipeline_new(tmp, db, CBM_MODE_FULL);
19315+
ASSERT_NOT_NULL(p);
19316+
ASSERT_EQ(cbm_pipeline_run(p), 0);
19317+
cbm_pipeline_free(p);
19318+
19319+
cbm_store_t *s = cbm_store_open_path(db);
19320+
ASSERT_NOT_NULL(s);
19321+
char seq_kind[32];
19322+
char flow_kind[32];
19323+
char none_kind[32];
19324+
doc_section_diagram_kind(s, "Mail-loading", seq_kind, sizeof(seq_kind));
19325+
doc_section_diagram_kind(s, "Mail-writing", flow_kind, sizeof(flow_kind));
19326+
doc_section_diagram_kind(s, "Mail-parsing", none_kind, sizeof(none_kind));
19327+
int seq_bad = 0;
19328+
int seq_own = 0;
19329+
int flow_bad = 0;
19330+
int flow_own = 0;
19331+
int none_bad = 0;
19332+
int none_own = 0;
19333+
int seq = doc_family_rows(s, "Mail-loading", CBM_SEM_DIAG_STRUCTURAL, &seq_bad, &seq_own);
19334+
int flow = doc_family_rows(s, "Mail-writing", CBM_SEM_DIAG_PROSE, &flow_bad, &flow_own);
19335+
int none = doc_family_rows(s, "Mail-parsing", CBM_SEM_DIAG_NONE, &none_bad, &none_own);
19336+
cbm_store_close(s);
19337+
th_rmtree(tmp);
19338+
cbm_pipeline_incremental_test_reset_faults();
19339+
ASSERT_STR_EQ(seq_kind, "sequence");
19340+
ASSERT_STR_EQ(flow_kind, "flowchart");
19341+
ASSERT_STR_EQ(none_kind, "");
19342+
ASSERT_EQ(cbm_sem_diag_family("mermaid", seq_kind), CBM_SEM_DIAG_STRUCTURAL);
19343+
ASSERT_EQ(cbm_sem_diag_family("mermaid", flow_kind), CBM_SEM_DIAG_PROSE);
19344+
ASSERT_GT(seq, 0);
19345+
ASSERT_EQ(seq_bad, 0);
19346+
ASSERT_GT(seq_own, 0);
19347+
ASSERT_GT(flow, 0);
19348+
ASSERT_EQ(flow_bad, 0);
19349+
ASSERT_GT(flow_own, 0);
19350+
ASSERT_GT(none, 0);
19351+
ASSERT_EQ(none_bad, 0);
19352+
ASSERT_EQ(none_own, 0);
19353+
PASS();
19354+
}
19355+
1922219356
/* Lines of a CBM_SEM_DOC_SIGNALS dump whose section file, kind, position,
1922319357
* home and target file equal the given values (NULL: any). */
1922419358
static int doc_signal_count(const char *dump, const char *sec_file, const char *kind,
@@ -20312,6 +20446,7 @@ SUITE(pipeline) {
2031220446
RUN_TEST(pipeline_doc_candidates_published_and_kept_by_delta);
2031320447
RUN_TEST(pipeline_doc_candidates_skip_exact_links_and_use_format_curves);
2031420448
RUN_TEST(pipeline_doc_candidates_home_position_and_kinds);
20449+
RUN_TEST(pipeline_doc_candidates_diagram_family_curves);
2031520450
RUN_TEST(pipeline_cpp_static_factory_pointer_receiver_issue1153);
2031620451
RUN_TEST(pipeline_cpp_static_factory_reference_receiver_issue1153);
2031720452
RUN_TEST(pipeline_cpp_static_factory_unique_ptr_receiver_issue1153);

0 commit comments

Comments
 (0)