-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathparticipating.txt
69 lines (51 loc) · 2.68 KB
/
participating.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
How to participate
This documentation describes how to create and submit your entry to
the Grand C++ Error Explosion Competition. The steps below should work
on any Linux platform but the final measurements will be done on a 64
bit install of Ubuntu 14/10 (utopic). Note that the flag -std=c++11 is
used on all entries. It is the submitter's responsibility to test
their submission on the target platform, the organizers will not
provide technical support or intermediary results over email or any
other medium.
In order to run the test script you ned to first install the Python
Levenshtein package. This can be accomplished with the following
command:
sudo apt-get install python3-levenshtein
Then you need to select which category you wish to participate in. For
this example we will use the oneshot category. Create a subdirectory in
the category subdir to store your entry in. It can have any name, but
it is recommended to make it short and relatively unique, such as an
abbreviation of your name.
mkdir oneshot/bobmcbob
In this subdirectory create a source file whose name is the same as
the directory and with the suffix cpp.
touch oneshot/bobmcbob/bobmcbob.cpp
Create an info file in the subdirectory with your contact info.
It must be called info.txt and contain the following three lines.
email [email protected]
title How you wish your creation to be called
author The name or alias by which you wish to be called
Your email address will not be published.
Write your entry in the cpp file. You can inspect your results by
running the measurement script.
./measure.py
If your entry has problems, the script will tell you.
If you participate in the oneshot category, you need to create two
more files, a package file and include directory file. The package
file contains a list of Ubuntu packages (one per line) that must be
installed in order to compile the code. It is called packages.txt. The
include file lists the directories, also one per line, that must be
put in the search path for your compilation. It is called
includes.txt.
Each category has a working sample entry. Feel free to use them to create
your version.
Once your code passes validation it is ready for submission. Zip up your
directory.
zip -r bobmcbob.zip oneshot/bobmcbob
Now you can email it to <[email protected]>. Note that if you submit an
entry that does not pass the validation check, it will be silently
rejected from the competition. It is your responsibility to verify
that your code passes. The test harness may be updated during the
competition. Submissions that don't pass the updated test harness
will be discarded. It is the responsibility of the participants to
resubmit entries that do not pass the test suite any more.