|
769 | 769 | "## Coverage of Web App \n",
|
770 | 770 | "In this project, the coverage of the web app is defined as _web reachability_, i.e. the number of reached pages on the site. \n",
|
771 | 771 | "\n",
|
772 |
| - "We reachability is a proxy measurement of the number of validation schemes passed/failed and also a proxy measurement of brach coverage in the `handle_order()` method. " |
| 772 | + "We reachability is a proxy measurement of the number of validation schemes passed/failed and also a proxy measurement of branch coverage in the `handle_order()` method. " |
773 | 773 | ]
|
774 | 774 | },
|
775 | 775 | {
|
|
1206 | 1206 | "metadata": {},
|
1207 | 1207 | "source": [
|
1208 | 1208 | "## Your Tasks\n",
|
1209 |
| - "For each input, you are epxected to produce a set of urls to reach a targeted web page, i.e. generate inputs that will fulfill the input validation requirements necessary to reach a specific web page. Overall, all web pages will be targets, i.e. both error and normal pages. \n", |
| 1209 | + "For each input, you are expected to produce a set of urls to reach a targeted web page, i.e. generate inputs that will fulfill the input validation requirements necessary to reach a specific web page. Overall, all web pages will be targets, i.e. both error and normal pages. \n", |
1210 | 1210 | "\n",
|
1211 | 1211 | "Your task is to implement your own custom selection, fitness and mutation functions for the genetic algorithm, in order to fulfill the input validation and web reachabilty requirements."
|
1212 | 1212 | ]
|
|
1223 | 1223 | "* Ensure that your implementation accounts for any arbitrary regex and any random initial population of inputs.\n",
|
1224 | 1224 | "* For debugging purposes: unmute the `webbrowser()` to obtain logging information, i.e. set `webbrowser(url, mute=False)` \n",
|
1225 | 1225 | "* Do not implement in any other section except the section below. \n",
|
1226 |
| - "* Gracefully handle exceptions and errors resulting from your impelementation.\n", |
| 1226 | + "* Gracefully handle exceptions and errors resulting from your implementation.\n", |
1227 | 1227 | "* __Remember the input validation regex and initial input population could be arbitrary, do not hard code for a specific regex or input__."
|
1228 | 1228 | ]
|
1229 | 1229 | },
|
|
1308 | 1308 | "source": [
|
1309 | 1309 | "# Evaluation code\n",
|
1310 | 1310 | "\n",
|
1311 |
| - "The code in the following section will be used to evaluate your impelementation." |
| 1311 | + "The code in the following section will be used to evaluate your implementation." |
1312 | 1312 | ]
|
1313 | 1313 | },
|
1314 | 1314 | {
|
|
1596 | 1596 | "source": [
|
1597 | 1597 | "## Scoring\n",
|
1598 | 1598 | "\n",
|
1599 |
| - "For each URL input in the population and its corresponding target, your implementaton should generate a list of test inputs, __maximum of 10 inputs__. These inputs will be executed on the server and graded based on:\n", |
| 1599 | + "For each URL input in the population and its corresponding target, your implementation should generate a list of test inputs, __maximum of 10 inputs__. These inputs will be executed on the server and graded based on:\n", |
1600 | 1600 | "\n",
|
1601 | 1601 | "* Number of iterations of your GA algorithm (less is better)\n",
|
1602 | 1602 | "* Number of reached target pages , i.e. error pages, confirmation page and page not found\n",
|
|
0 commit comments