Commit fd477bdd2aa11cda1763d88f7e0642cf904b3e03

Authored by Tássia Camões Araújo
1 parent f1313016
Exists in master and in 1 other branch add_vagrant

Updated survey templates.

src/web/templates/about.html
... ... @@ -19,28 +19,32 @@ $var jsfiles: static/js/facebox.js
19 19 <h2>About</h2>
20 20  
21 21 <p align="justify">This experiment aims to compare and validate automated application
22   -recommendations produced by various strategies and algorithms tuning. We
  22 +recommendations produced by different strategies and algorithms tuning. We
23 23 believe that real users evaluation regarding the relevance of recommendations is
24 24 the most accurate data source for computing recommender system effectiveness.</p>
25 25 <br/>
26 26  
27   -<a rel="facebox" href="/static/images/diaappr.png" title="AppRecommender Diagram">
28   -<img style="float: right; margin: 10px;" alt="AppRecommender dataflow"
29   -src="/static/images/diaappr.png" width="230px" /></a>
30   -
31 27 <p align="justify">The engine that is being tested is a free software called <a
32 28 href="http://github.com/tassia/AppRecommender">AppRecommender</a>. It was
33 29 initially developed using the Debian Project infrasctructure, but the solution
34 30 is essentially distro-independent and can even be adapted to non GNU/Linux
35 31 systems given that there is available data for that.</p>
  32 +
  33 +<a rel="facebox" href="/static/images/diaappr.png" title="AppRecommender Diagram">
  34 +<img style="float: right; margin: 10px;" alt="AppRecommender dataflow"
  35 +src="/static/images/diaappr.png" width="230px" /></a>
36 36 <br />
37 37  
38 38 <p align="justify">The picture on the right gives an idea of the data workflow
39 39 for AppRecommender. The user provides a set of applications installed in his
40   -system and the recommender suggestes a set of applications that he might also
41   -be interested in. Different strategies can be used to compose the recommendation,
42   -based on this user and other similar users profiles, using Apt-xapian-index,
43   -Popcon and UDD as data sources.</p>
  40 +system and the recommender suggests a set of programs that he might also
  41 +be interested in, based on the profile deduced from the his previous choices
  42 +and other similar users choices. The recommendations are composed using
  43 +classification and information retrieval techniques using
  44 +<a href="http://wiki.debian.org/Debtags">debtags</a>,
  45 +<a href="http://www.enricozini.org/sw/apt-xapian-index/">apt-xapian-index</a>,
  46 +<a href="http://popcon.debian.org/">Popcon</a> and <a
  47 +href="http://udd.debian.org/">UDD</a> as data sources.</p>
44 48  
45 49 </div><!-- id="innertube" -->
46 50 </div><!-- id="maincontent" -->
... ...
src/web/templates/layout.html
... ... @@ -7,14 +7,14 @@ $ url_base = &quot;/&quot;
7 7 <head>
8 8 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
9 9 <title>AppRecommender - $content.title</title>
10   - <link rev="made" href="mailto:tassia@gmail.com">
11   - <link rel="shortcut icon" href="static/favicon.ico">
  10 + <link rev="made" href="mailto:tassia@gmail.com" />
  11 + <link rel="shortcut icon" href="static/favicon.ico" />
12 12  
13   - <link href="static/css/style.css" rel="stylesheet" type="text/css" media="screen" charset="utf-8">
  13 + <link href="static/css/style.css" rel="stylesheet" type="text/css" media="screen" charset="utf-8" />
14 14  
15 15 $if content.has_key('cssfiles'):
16 16 $for css in content.cssfiles.split():
17   - <link href="$css" rel="stylesheet" type="text/css" media="screen" charset="utf-8"/>
  17 + <link href="$css" rel="stylesheet" type="text/css" media="screen" charset="utf-8" />
18 18  
19 19 <script src="/static/js/jquery.js" type="text/javascript"></script>
20 20 <script src="/static/js/FormManager.js" type="text/javascript"></script>
... ...
src/web/templates/survey.html
... ... @@ -47,11 +47,11 @@ button below.
47 47 </div>-->
48 48 <input id="finish-button" name="finish_button" type="submit" value="Finish" class="glass" />
49 49 </label>
50   -<label for="strategy_button" id="tip-continue">
  50 +<label for="continue_button" id="tip-continue">
51 51 <!--<div class="tip tip">
52 52 <p>Evaluate more suggestions </p>
53 53 </div>-->
54   - <input id="continue-button" name="strategy_button" type="submit" value="Continue" class="glass" />
  54 + <input id="continue-button" name="continue_button" type="submit" value="Continue" class="glass" />
55 55 </label>
56 56 </div><!-- id="controls-form" -->
57 57  
... ...
src/web/templates/survey_index.html
... ... @@ -18,20 +18,32 @@ window.onload = function() {
18 18 <h2>Help us learn your needs</h2>
19 19  
20 20 <p>Participate in this survey and contribute for the development of
21   -AppRecommender, a recommender system for GNU/Linux applications.</p>
22   -<br />
23   -<p>Please provide a list of packages installed in a real running system and a
24   -set of applications will be suggested for it. You can upload a
25   -popularity-contest submission file (usually located at
26   -'/var/log/popularity-contest') or any other file with packages name as first
27   -field of each line. For instance, you can run the following command and upload the
28   -generated 'packages.list' file.</p>
29   -<p><code> # dpkg-query --show > packages.list </code></p>
30   -<br />
31   -<p>Given the produced recommendations you will be asked to evaluate the list of
32   -applications suggested.</p>
33   -<br />
34   -<p>Your help is very much appreciated!</p>
  21 +<a href="http://github.com/tassia/AppRecommender">AppRecommender</a>,
  22 +a recommender system for GNU/Linux applications.</p>
  23 +<table>
  24 +<tr>
  25 + <td><h3>1.</h3></td>
  26 + <td><p align="justify"> Provide a list of packages installed in a real
  27 + running system and a set of applications will be suggested for it. You can
  28 + upload a popularity-contest submission file (usually located at
  29 + '/var/log/popularity-contest') or any other file with packages name as first
  30 + field of each line. For instance, you can run the following command and
  31 + upload the generated 'packages.list' file.</p>
  32 + <p><code> # dpkg-query --show > packages.list </code></p></td>
  33 +</tr>
  34 +<tr>
  35 + <td><h3>2.</h3></td>
  36 + <td><p align="justify">Given a list of 10 suggested applications you will be
  37 + asked to evaluate each recommendation. Upon completion of one round of
  38 + evaluations, if you choose to continue another suggestion will be generated
  39 + using a different recommender strategy. Alternativelly, you can conclude your
  40 + participation.</p></td>
  41 +</tr>
  42 +<tr>
  43 + <td><h3>3.</h3></td>
  44 + <td><p align="justify">Identification and comments are facultative.</p></td>
  45 +</tr>
  46 +<table>
35 47 </div>
36 48  
37 49 </div><!-- class="innertube" -->
... ...
src/web/templates/thanks.html
... ... @@ -13,20 +13,20 @@ $var cssfiles: static/css/survey.css
13 13  
14 14 <center>
15 15 <h1>Thanks!</h1>
16   -<p>Thank you very much for participating in this survey.</p><br />
  16 +<p>Thank you very much for participating in this survey. Your help is very much
  17 +appreciated!</p><br />
17 18  
18 19 <div id="optionalform">
19 20 <center>
20 21 <h2>Optional Info</h2>
21 22 <p>
22   - Tell us your name if you want it to be published in our
23   - thanks page. If you also provide a valid e-mail address
24   - you will be sent the survey report as soon as it is ready.
  23 + Provide your name or nick if you agree with that being published in our
  24 + thanks page and final report. If you also provide a valid e-mail address we'll
  25 + be able to send you the survey report as soon as it is ready.
25 26 </p><br />
26 27 </center>
27 28  
28 29 <form action="/thanks" method="post" enctype="multipart/form-data" name="identification_form">
29   -
30 30 <label>
31 31 <input type="hidden" name="user_id" value=$user_id>
32 32 Name: <input class="text" type="text" name="name" value="" size="40">
... ... @@ -34,7 +34,7 @@ $var cssfiles: static/css/survey.css
34 34 <p>
35 35 <label>
36 36 E-mail: <input class="text" type="text" name="email" value="" size="40">
37   - </label></p>
  37 + </label></p><!--
38 38 <p>
39 39 <label>
40 40 Country: <select name="Country">
... ... @@ -299,9 +299,8 @@ $var cssfiles: static/css/survey.css
299 299 <option value="Zambia">Zambia</option>
300 300 <option value="Zimbabwe">Zimbabwe</option>
301 301 </select>
302   - </label></p><br />
303   - <p>
304   - <label class="text-left">
  302 + </label></p><br />-->
  303 + <p> <label class="text-left">
305 304 Comments:<br />
306 305 <textarea name="comments" value="" rows="2" cols="50"></textarea>
307 306 </label></p>
... ...
src/web/templates/thanks_id.html
... ... @@ -8,7 +8,7 @@ $var cssfiles: static/css/survey.css
8 8  
9 9 <center>
10 10 <h1>Thanks!</h1>
11   -<p>Thank you once again and stay tuned for the survey results report.</p><br />
  11 +<p>Thank you once again and stay tuned for the survey report.</p><br />
12 12 </center>
13 13  
14 14 </div><!-- class="innertube" -->
... ...