---
name: middleware-submission
description: Use when auditing a Middleware PDF and HotCRP entry. Checks the subtitle with type, cycle, and number, 9 point, 12 or 6 counted pages, double anonymity, and the required sections. Does not edit content.
---

# Middleware submission

Run this on the final file, after the abstract registration gave a number.

Call: https://middleware-conf.github.io/2027/call-for-papers/ · Sites: https://middleware2027r1.hotcrp.com/ (winter), https://middleware2027r2.hotcrp.com/ (summer)

## Page 1

Subtitle, in the call's form: `Research, Winter cycle, Submission #12`. Type is one of Research, Experimentation and Deployment, Big Ideas.

```latex
\documentclass[sigconf,9pt,anonymous,review]{acmart}
\title{Your Title}
\subtitle{Research, Summer cycle, Submission \#12}
```

The call fixes ACM SIGCONF and 9 point. `anonymous` and `review` are a convenience for hiding names and numbering lines.

## Sweep

```bash
F=paper.pdf; TYPE=research      # research | deployment | bigideas
for t in pdfinfo pdftotext pdffonts; do command -v $t >/dev/null || { echo "STOP: $t is missing (install poppler). Nothing was checked."; exit 1; }; done
case $TYPE in research|deployment) L=12;; bigideas) L=6;; *) echo "STOP: unknown type $TYPE"; exit 1;; esac
pdftotext -l 1 "$F" - | tr '\n' ' ' | grep -oE '(Research|Experimentation and Deployment|Big Ideas), (Winter|Summer) cycle, Submission #[0-9]+' || echo "SUBTITLE MISSING OR MALFORMED"
pdfinfo "$F" | grep -E '^Author: +[^ ]' && echo "AUTHOR IN METADATA"
n=$(pdfinfo "$F" | awk '/^Pages/{print $2}'); r=""
for p in $(seq 1 "$n"); do pdftotext -f $p -l $p "$F" - | grep -qE '^(REFERENCES|References)$' && { r=$p; break; }; done
echo "references start on page ${r:-NOT FOUND}, limit $L"
[ -n "$r" ] && [ "$r" -gt $((L+1)) ] && echo "OVER THE LIMIT"
# Lines that already occur before the references are running heads, not headings.
pdftotext -l 2 "$F" - | tr '\f' '\n' | grep . > heads.tmp
[ -n "$r" ] && pdftotext -f "$r" "$F" - | tr '\f' '\n' | grep -vxFf heads.tmp | grep -nE '^(APPENDIX|Appendix)|^[A-C]$|^[A-C] +[A-Z][A-Za-z-]+( [A-Za-z-]+){0,4}$' && echo "LOOK: a heading after the references. Appendices count toward $L"
for s in 'Ethical Considerations' 'Generative AI Usage'; do
  w=$(for p in $(seq 1 "$n"); do pdftotext -f $p -l $p "$F" - | grep -qiE "^([0-9A-Z]+ +)?$s\$" && { echo $p; break; }; done)
  echo "$s: ${w:-not present}"; [ -n "$w" ] && [ -n "$r" ] && [ "$w" -lt "$r" ] && echo "MOVE AFTER THE REFERENCES: $s"; done
pdftotext "$F" - | grep -nEi 'user (data|prompt|study)|participant|human|production (trace|user)|vulnerab|scan(ned|ning)' | head -5 | grep . && echo "LOOK: these may require an Ethical Considerations section"
pdftotext "$F" - | grep -nEi 'funded|\bgrants?\b|supported by|github\.com|gitlab|our (previous|prior|earlier)|arxiv\.org' || echo "no identity phrase"
pdffonts "$F" | awk 'NR>2 && $(NF-4)!="yes"{print "not embedded: "$1}'
grep -RnE 'documentclass' --include='*.tex' . | grep -v '9pt' && echo "CHECK: 9pt is required"
```

An `arxiv.org` hit is fine for other people's work. It must not be this paper.

## Read

Funding nowhere. Colleagues not thanked. Own work in third person, essential only. Public name of the system nowhere. Links anonymized and opened logged out.

## Form

Conflicts: doctoral advisors and advisees, current or former; same institution; close family; co-authors of the past two years. Others need an explanation to the chairs, who may remove them. Chairs do not submit.

AI: all uses disclosed. Note for minor help. Section for substantive content.

## Output

```text
[Middleware submission] ready / blocked · <type>, <cycle>, #<n>
[Subtitle] exact · [9 pt] yes · [Counted] <n> of <12/6>
[Ethics] required <y/n>, present after references
[AI] none / note / section after references
[Identity] funding, thanks, names, links, preprint: clean
[Conflicts] two years · [Stored copy] compared
```

## Reverify each cycle

- Subtitle form, type size, order of sections, sites.
