Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Anthology build information #157

Open
4 of 6 tasks
mjpost opened this issue Jul 8, 2023 · 7 comments
Open
4 of 6 tasks

Anthology build information #157

mjpost opened this issue Jul 8, 2023 · 7 comments

Comments

@mjpost
Copy link
Collaborator

mjpost commented Jul 8, 2023

(Generally using this as a dumping ground for Anthology needs/wants, will sort out and clean up eventually)

While it's fresh (ACL 2023 ingestion) I want to make a few notes about the build format.

First, my understanding. I haven't used the software, but t seems that ACLPUB2 takes its input files and produces output in a build directory, similar say to cmake. I like this design. The output has the constructed book and watermarked PDFs, among other things. It also seems to create other directories; in addition to build, there is output, output/inputs, and sometimes some other directories, with some redundancy in files.

For ingestion, it would be helpful if you delivered to us a single build directory. It will help to know how ingestion works. We run ingest_aclpub2.py with the following syntax:

ingest_aclpub2.py -i ACLPUB2_DIR

It looks in this directory for the files papers.yml and conference_details.yml, which contain all the necessary metadata. It then reads through the papers in order, assigning Anthology IDs starting with 1 (0 is reserved for frontmatter), and copying and renaming PDFs for upload.

Here is a list of problems that the format delivered to us creates.

  • The information we need seems actually to be spread around a number of different directories: the root directory, build, output, output/inputs, etc.
  • These two YAML files are not present in the build directory, but in the root directory, and also in output/inputs/.
  • The papers.yml that we read should have PDF and attachments links that are relative paths, so that we can read them directly with no hidden or hard-coded assumptions
  • It seems there is no consistent format for the front matter or for the full proceedings (or are these in build/front_matter.pdf and build/proceedings.df?)

Here is what would be ideal for us:

  • Create a build directory for the Anthology. This could be the current build/, or a new directory, say anthology/
  • The files papers.yml and conference_details.yml should be copied to this directory's root
  • There should be a watermarked_pdfs directory inside it. I think this already exists. Since it is part of the build, it could also just be called pdfs/ (the idea being that this subdir contains "built" PDFs, i.e., watermarked ones)
  • Same for attachments: there should be an attachments/ subdirectory.
  • Ideally front_matter.pdf and proceedings.pdf (if built) will be in the build directory, too, so we can test for their presence
  • All paths in the copied papers.yml should be updated to be relative to the build directory, and ideally should be contained within the build directory

Here is an example layout that would work extremely well for us

aclpub2/
    build/
        front_matter.pdf
        proceedings.pdf
        papers.yml   # updated with relative paths for attachments and PDFs
        conference_details.yml  # this could probably be unchanged
        pdfs/
            1.pdf
            ...
        attachments/
             49_software.zip
             17_dataset.tgz
             ...

Note that if PDFs were missing, we would still ingest the metadata. So this would allow us, for example, to introduce a three-stage ingestion:

  1. (T minus two months) Camera-readies: deliver a file, we create a live Anthology page with all papers assigned metadata, but no PDFs available yet
  2. (T minus two weeks) PDFs and attachments: these are delivered two weeks before the conference and made available
  3. (T minus one day) Front matter and handbook: these touch the real-world and are often delayed by last-minute adjustments, so we consume them at the last minute.

This would just be for *ACL main conferences; workshops would have to stick to a single-stage ingest.

@mjpost mjpost changed the title build format Anthology build format Jul 8, 2023
@mjpost
Copy link
Collaborator Author

mjpost commented Jul 13, 2023

I just noticed the format on the main page. It seems that in fact many of these items are already checked off. The main missing components are (a) to copy over the two yml files to the build directory and (b) to make linked paths relative.

It might be nice to add a Makefile so people could just type make build or make anthology, that would create the build directory and also a tarball to share possibly.

@mjpost
Copy link
Collaborator Author

mjpost commented Jul 17, 2023

Another issue: we need the copyright forms. Ideally these would be placed in a parallel folder, copyright/.

@mjpost
Copy link
Collaborator Author

mjpost commented Jul 21, 2023

There's also a point of confusion: many workshops organizers seem to think that we do the building. We (note to self) need a validation script that tells them whether their tarball is up-to-spec, and if not, what the likely reasons are.

I really do like the build format and the use of Github repos for each workshop! It makes it quite easy to find everything.

@mjpost
Copy link
Collaborator Author

mjpost commented Jul 21, 2023

It seems many people are confused about who's going to do the building (them or us). Having a Makefile target (make anthology) would help clarify this

@mjpost
Copy link
Collaborator Author

mjpost commented Jul 21, 2023

Many workshops use "main" for the volume_name, should be 1 by convention

@mjpost
Copy link
Collaborator Author

mjpost commented Jul 26, 2023

We need to add examples where people can list the SIG so it gets automatically back-linked.

@mjpost
Copy link
Collaborator Author

mjpost commented Jul 26, 2023

We should build automatically using Github actions, from a raw format (will add watermarks)

@mjpost mjpost changed the title Anthology build format Anthology build information Jul 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant