Question
Empirical Measurements (performance/profiling), Unit Testing

1a. (6 pts) Write a script that uses the Performance class to generate data that we can use to determine empirically the complexity class of the closest_2d recursive function defined in the nearestneighbor.py module. This function takes a list of (x,y) coordinates and finds the two that are closest together and returns the distance between them. A simple algorithm would just find the minimum after computing the distance between all pairs of points, which would be O(N2). Call the evaluate and analyze functions on an appropriately constructed Performance class object (repeating each timing 5 times, each of the 5 times with a different list of coordinates) for lists of random coordinates (from sizes 100 to 25,600 doubling the size each time). Hint: Use the random.random function to generate each coordinate: it returns float values in the range [0,1). See the file sample8.pdf (included in the download) for what your output should look like: of course, your times will depend on the speed of your computer.

1b. (3 pts) Fill in part 1b of the empirical.doc document (included in the download; edit/submit this file) with the data that you collect (or use the data in sample8.pdf if you cannot get your code to produce the correct results) and draw a conclusion about the complexity class of the closest_2d function by examining the run-time ratios for all the size-doubled problems.

2a. (6 pts) Write a script that uses the cProfile module to profile all the functions called when the closest_2d function is run on a random list with 25,600 coordinates. Generate the random list first (don’t record its time), and then call CProfile.run so that it runs closest_2d on that list; also specify a second argument, which is the file to put the results in (and the file on which to call pstats.Stats) to print the results. For the first output, print the top 12 results, sorted decreasing by ncalls; for the second output, print the top 12 results, sorted decreasing by tottime. Hint: The notes show how to instruct the profiler put the profile information into a file and then show how to access that file and format the results it displays to the console. See the file sample8.pdf (included in the download) for what your output should look like: of course, your times will depend on the speed of your computer.

2b. (3 pts) Answer the questions in part 2b of the empirical.doc document (included in the download) with the data that you collect (or the data in sample8.pdf if you cannot get your code to produce the correct results).
1b and 2b: If possible, after editing empirical.doc for parts 1b and 2b, convert it into a .pdf document and submit the document in that format on checkmate. The TAs must be able to read your document on their computers, so don’t submit it in any other format than a Word Document or a .pdf file. You can use the lab machines to convert a Word Document to a .pdf file.
(over)

3. (7 pts) Define a Test_Bag class, derived from unittest.TestCase class, which performs the following tests to verify some (not all) of the methods in the Bag class (I have provided my solution from programming assignment #2) work as expected. I wrote about 80 lines of code. Remember to run you code via Run as and the Python unit-test, which should show all tests passed. Write the setup and test functions in the order specified below. Read information at the top relating to the imported methods random.shuffle and random.randint.
a) Setup: store an attribute named alist storing ['d','a','b','d','c','b','d'] in this order. Store another attribute named bag that is a Bag constructed using alist. Note the bag contains one 'a', two 'b's, one 'c', and three 'd's.
Write one test method for each of the following tests. Each method might contain multiple asserts, or single asserts executed repeatedly in loops. Write each test using the names shown below (equals for ==).
b) Test len: check that the len of the constructed bag is initially 7, and then remove one value from the bag at a time (remove the values based on a random order of alist used in the setup), checking that the len decreases by 1 after each removal, and eventually becomes 0.
c) Test unique: check that the bag initially contains 4 unique values, and then remove one value from the bag at a time (remove the values based on a random order of alist used in the setup), checking that the number of unique values is the same as the len of the count dictionary stored in the Bag.
d) Test contains: check that the bag initially contains 'a', 'b', 'c', and 'd', but not 'x'.
e) Test count: check that the bag initially contains 1 'a', 2 'b's, 1 'c', 3 'd's, and 0 'x's, and then remove one value from the bag at a time (remove the values based on a random order of the list used in the setup), checking that the sum of the counts of 'a', 'b', 'c', and 'd' decreases by 1 after each removal, and eventually becomes 0.
f) Test ==: Ignore the setup. Construct a bag initialized by a list of 1,000 random integers in the range 1- 10; construct another bag initialized with the same 1,000 random numbers, but in a different random order: check that the two bags are considered equal. Remove the first value in the list of random integers from one bag (it is certainly in the bag) and check that the bags are no longer equal.
g) Test add: Ignore the setup. Construct a bag initialized by a list of 1,000 random integers in the range 1- 10; construct another bag that starts empty, then add each of the 1,000 random numbers to the bag one at a time, but in a different random order: check that the two bags are equal.
h) Test remove: Ignore the setup. Construct a bag initialized by a list of 1,000 random integers all in the range 1-10; test that removing the value 58 raises the ValueError exception. Then, construct another bag initialized with the same 1,000 random numbers in the same order; then add each of these same 1,000 random numbers to the second bag in a different random order; then remove each of these 1,000 random number from the second bag in the same order they were added the second time; finally check that the two bags are equal. By adding values twice and then removing them once to the second bag, we should be back to the original bag contents.

You should rewrite some Bag methods to be incorrect, and see that some of your test methods fail.
Solution Preview

These solutions may offer step-by-step problem-solving explanations or good writing examples that include modern styles of formatting and construction of bibliographies out of text citations and references.
Students may use these solutions for personal skill-building and practice.
Unethical use is strictly forbidden.

from   bag import Bag
import unittest # use unittest.TestCase
import random    # use random.shuffle, random.randint

#random.shuffle(alist) mutates the alist argument into a random permutation
#random.randint(1,10) returns a random number in the range 1-10 inclusive


class Test_Bag(unittest.TestCase):
    def setUp(self):
       self.alist = ['d','a','b','d','c','b','d']
       self.bag = Bag(self.alist)

    def test_len(self):
       self.assertEqual(len(self.bag), len(self.alist), 'Wrong length')
       random.shuffle(self.alist)
       for i in range(len(self.alist)):
            self.bag.remove(self.alist[i])
            self.assertEqual(len(self.bag), len(self.alist)-i-1, 'Wrong length')

    def test_unique(self):
       self.assertEqual(self.bag.unique(), len(set(self.alist)), 'Wrong unique number')
       random.shuffle(self.alist)
       for i in range(len(self.alist)):
This is only a preview of the solution.
Please use the purchase button to see the entire solution.
By purchasing this solution you'll be able to access the following files:
Solution.docx
Solution.pdf
Solution.zip
Purchase Solution
$43.00 $21.5
Google Pay
Amazon
Paypal
Mastercard
Visacard
Discover
Amex
View Available Computer Science Tutors 529 tutors matched
Ionut
(ionut)
Hi! MSc Applied Informatics & Computer Science Engineer. Practical experience in many CS & IT branches.Research work & homework
5/5 (5,654+ sessions)
2 hours avg response
Leo
(Leo)
Hi! I have been a professor in New York and taught in a math department and in an applied math department.
4.9/5 (5,652+ sessions)
2 hours avg response
Pranay
(math1983)
Ph.D. in mathematics and working as an Assistant Professor in University. I can provide help in mathematics, statistics and allied areas.
4.6/5 (5,512+ sessions)
1 hour avg response

Similar Homework Solutions

8.1.0PHP Version302msRequest Duration45MBMemory UsageGET college-homework-library/{category}/{subject}/{id}Route
    • Booting (184ms)time
    • Application (119ms)time
    • 1 x Booting (60.76%)
      184ms
      1 x Application (39.24%)
      119ms
      • Illuminate\Routing\Events\Routing (541μs)
      • Illuminate\Routing\Events\RouteMatched (256μs)
      • Illuminate\Foundation\Events\LocaleUpdated (1.92ms)
      • eloquent.booting: App\Models\HomeworkLibrary\HomeworkLibrary (127μs)
      • eloquent.booted: App\Models\HomeworkLibrary\HomeworkLibrary (109μs)
      • Illuminate\Database\Events\ConnectionEstablished (624μs)
      • Illuminate\Database\Events\StatementPrepared (3.82ms)
      • Illuminate\Database\Events\QueryExecuted (1.19ms)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibrary (104μs)
      • eloquent.booting: App\Models\Subject (111μs)
      • eloquent.booted: App\Models\Subject (43μs)
      • Illuminate\Database\Events\StatementPrepared (1.58ms)
      • Illuminate\Database\Events\QueryExecuted (1.08ms)
      • eloquent.retrieved: App\Models\Subject (122μs)
      • eloquent.booting: App\Models\HomeworkLibrary\HomeworkLibraryFile (145μs)
      • eloquent.booted: App\Models\HomeworkLibrary\HomeworkLibraryFile (84μs)
      • Illuminate\Database\Events\StatementPrepared (752μs)
      • Illuminate\Database\Events\QueryExecuted (3.69ms)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibraryFile (80μs)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibraryFile (15μs)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibraryFile (8μs)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibraryFile (7μs)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibraryFile (5μs)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibraryFile (5μs)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibraryFile (5μs)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibraryFile (5μs)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibraryFile (5μs)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibraryFile (5μs)
      • eloquent.booting: App\Models\SubjectCat (446μs)
      • eloquent.booted: App\Models\SubjectCat (48μs)
      • Illuminate\Database\Events\StatementPrepared (635μs)
      • Illuminate\Database\Events\QueryExecuted (867μs)
      • eloquent.retrieved: App\Models\SubjectCat (86μs)
      • Illuminate\Cache\Events\CacheHit (10.58ms)
      • Illuminate\Cache\Events\CacheMissed (205μs)
      • Illuminate\Database\Events\StatementPrepared (992μs)
      • Illuminate\Database\Events\QueryExecuted (23.72ms)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibrary (83μs)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibrary (14μs)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibrary (9μs)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibrary (7μs)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibrary (6μs)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibrary (5μs)
      • Illuminate\Database\Events\StatementPrepared (646μs)
      • Illuminate\Database\Events\QueryExecuted (835μs)
      • eloquent.retrieved: App\Models\Subject (83μs)
      • Illuminate\Cache\Events\KeyWritten (791μs)
      • Illuminate\Database\Events\StatementPrepared (1.36ms)
      • Illuminate\Database\Events\QueryExecuted (1.17ms)
      • Illuminate\Database\Events\StatementPrepared (767μs)
      • Illuminate\Database\Events\QueryExecuted (1.1ms)
      • Illuminate\Database\Events\StatementPrepared (711μs)
      • Illuminate\Database\Events\QueryExecuted (1.04ms)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibraryFile (47μs)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibraryFile (15μs)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibraryFile (7μs)
      • Illuminate\Cache\Events\CacheHit (853μs)
      • creating: homework.show (302μs)
      • composing: homework.show (99μs)
      • creating: components.breadcrumbs (276μs)
      • composing: components.breadcrumbs (118μs)
      • Illuminate\Database\Events\StatementPrepared (1.43ms)
      • Illuminate\Database\Events\QueryExecuted (941μs)
      • eloquent.retrieved: App\Models\SubjectCat (67μs)
      • Illuminate\Cache\Events\CacheHit (3.33ms)
      • Illuminate\Cache\Events\CacheHit (133μs)
      • Illuminate\Cache\Events\CacheHit (135μs)
      • Illuminate\Cache\Events\CacheHit (107μs)
      • Illuminate\Cache\Events\CacheHit (124μs)
      • Illuminate\Cache\Events\CacheHit (105μs)
      • Illuminate\Cache\Events\CacheHit (131μs)
      • Illuminate\Cache\Events\CacheHit (112μs)
      • Illuminate\Cache\Events\CacheHit (128μs)
      • Illuminate\Cache\Events\CacheHit (108μs)
      • Illuminate\Cache\Events\CacheHit (116μs)
      • Illuminate\Cache\Events\CacheHit (99μs)
      • Illuminate\Cache\Events\CacheHit (139μs)
      • Illuminate\Cache\Events\CacheHit (105μs)
      • Illuminate\Cache\Events\CacheHit (196μs)
      • Illuminate\Cache\Events\CacheHit (129μs)
      • Illuminate\Cache\Events\CacheHit (130μs)
      • Illuminate\Cache\Events\CacheHit (112μs)
      • Illuminate\Cache\Events\CacheHit (125μs)
      • Illuminate\Cache\Events\CacheHit (111μs)
      • Illuminate\Cache\Events\CacheHit (126μs)
      • Illuminate\Cache\Events\CacheHit (106μs)
      • Illuminate\Cache\Events\CacheHit (134μs)
      • Illuminate\Cache\Events\CacheHit (114μs)
      • Illuminate\Cache\Events\CacheHit (132μs)
      • Illuminate\Cache\Events\CacheHit (117μs)
      • Illuminate\Cache\Events\CacheHit (117μs)
      • Illuminate\Cache\Events\CacheHit (97μs)
      • Illuminate\Cache\Events\CacheHit (128μs)
      • Illuminate\Cache\Events\CacheHit (123μs)
      • Illuminate\Cache\Events\CacheHit (131μs)
      • Illuminate\Cache\Events\CacheHit (112μs)
      • Illuminate\Cache\Events\CacheHit (126μs)
      • Illuminate\Cache\Events\CacheHit (103μs)
      • Illuminate\Cache\Events\CacheHit (126μs)
      • Illuminate\Cache\Events\CacheHit (107μs)
      • Illuminate\Cache\Events\CacheHit (122μs)
      • Illuminate\Cache\Events\CacheHit (102μs)
      • Illuminate\Cache\Events\CacheHit (117μs)
      • Illuminate\Cache\Events\CacheHit (102μs)
      • Illuminate\Cache\Events\CacheHit (117μs)
      • Illuminate\Cache\Events\CacheHit (102μs)
      • Illuminate\Cache\Events\CacheHit (114μs)
      • Illuminate\Cache\Events\CacheHit (97μs)
      • Illuminate\Cache\Events\CacheHit (128μs)
      • Illuminate\Cache\Events\CacheHit (113μs)
      • Illuminate\Cache\Events\CacheHit (128μs)
      • Illuminate\Cache\Events\CacheHit (99μs)
      • Illuminate\Cache\Events\CacheHit (165μs)
      • Illuminate\Cache\Events\CacheHit (123μs)
      • Illuminate\Cache\Events\CacheHit (152μs)
      • Illuminate\Cache\Events\CacheHit (111μs)
      • Illuminate\Cache\Events\CacheHit (124μs)
      • Illuminate\Cache\Events\CacheHit (111μs)
      • Illuminate\Cache\Events\CacheHit (132μs)
      • Illuminate\Cache\Events\CacheHit (104μs)
      • Illuminate\Cache\Events\CacheHit (120μs)
      • Illuminate\Cache\Events\CacheHit (126μs)
      • Illuminate\Cache\Events\CacheHit (161μs)
      • Illuminate\Cache\Events\CacheHit (106μs)
      • Illuminate\Cache\Events\CacheHit (124μs)
      • Illuminate\Cache\Events\CacheHit (105μs)
      • Illuminate\Cache\Events\CacheHit (154μs)
      • Illuminate\Cache\Events\CacheHit (115μs)
      • Illuminate\Cache\Events\CacheHit (127μs)
      • Illuminate\Cache\Events\CacheHit (114μs)
      • Illuminate\Cache\Events\CacheHit (132μs)
      • Illuminate\Cache\Events\CacheHit (118μs)
      • Illuminate\Cache\Events\CacheHit (129μs)
      • Illuminate\Cache\Events\CacheHit (113μs)
      • Illuminate\Cache\Events\CacheHit (129μs)
      • Illuminate\Cache\Events\CacheHit (107μs)
      • Illuminate\Cache\Events\CacheHit (121μs)
      • Illuminate\Cache\Events\CacheHit (110μs)
      • Illuminate\Cache\Events\CacheHit (127μs)
      • Illuminate\Cache\Events\CacheHit (113μs)
      • Illuminate\Cache\Events\CacheHit (137μs)
      • Illuminate\Cache\Events\CacheHit (133μs)
      • Illuminate\Cache\Events\CacheHit (133μs)
      • Illuminate\Cache\Events\CacheHit (115μs)
      • Illuminate\Cache\Events\CacheHit (159μs)
      • Illuminate\Cache\Events\CacheHit (119μs)
      • Illuminate\Cache\Events\CacheHit (127μs)
      • Illuminate\Cache\Events\CacheHit (112μs)
      • Illuminate\Cache\Events\CacheHit (129μs)
      • Illuminate\Cache\Events\CacheHit (112μs)
      • Illuminate\Cache\Events\CacheHit (127μs)
      • Illuminate\Cache\Events\CacheHit (106μs)
      • Illuminate\Cache\Events\CacheHit (128μs)
      • Illuminate\Cache\Events\CacheHit (105μs)
      • Illuminate\Cache\Events\CacheHit (141μs)
      • Illuminate\Cache\Events\CacheHit (104μs)
      • Illuminate\Cache\Events\CacheHit (136μs)
      • Illuminate\Cache\Events\CacheHit (112μs)
      • Illuminate\Cache\Events\CacheHit (136μs)
      • Illuminate\Cache\Events\CacheHit (103μs)
      • Illuminate\Cache\Events\CacheHit (117μs)
      • Illuminate\Cache\Events\CacheHit (104μs)
      • Illuminate\Cache\Events\CacheHit (115μs)
      • Illuminate\Cache\Events\CacheHit (99μs)
      • Illuminate\Cache\Events\CacheHit (116μs)
      • Illuminate\Cache\Events\CacheHit (97μs)
      • Illuminate\Cache\Events\CacheHit (130μs)
      • Illuminate\Cache\Events\CacheHit (102μs)
      • Illuminate\Cache\Events\CacheHit (119μs)
      • Illuminate\Cache\Events\CacheHit (103μs)
      • Illuminate\Cache\Events\CacheHit (135μs)
      • Illuminate\Cache\Events\CacheHit (111μs)
      • Illuminate\Cache\Events\CacheHit (125μs)
      • Illuminate\Cache\Events\CacheHit (109μs)
      • Illuminate\Cache\Events\CacheHit (124μs)
      • Illuminate\Cache\Events\CacheHit (101μs)
      • Illuminate\Cache\Events\CacheHit (131μs)
      • Illuminate\Cache\Events\CacheHit (113μs)
      • Illuminate\Cache\Events\CacheHit (636μs)
      • Illuminate\Cache\Events\CacheHit (112μs)
      • Illuminate\Cache\Events\CacheHit (122μs)
      • Illuminate\Cache\Events\CacheHit (102μs)
      • Illuminate\Cache\Events\CacheHit (123μs)
      • Illuminate\Cache\Events\CacheHit (109μs)
      • Illuminate\Cache\Events\CacheHit (142μs)
      • Illuminate\Cache\Events\CacheHit (106μs)
      • Illuminate\Cache\Events\CacheHit (121μs)
      • Illuminate\Cache\Events\CacheHit (105μs)
      • Illuminate\Cache\Events\CacheHit (121μs)
      • Illuminate\Cache\Events\CacheHit (108μs)
      • Illuminate\Cache\Events\CacheHit (116μs)
      • Illuminate\Cache\Events\CacheHit (104μs)
      • Illuminate\Cache\Events\CacheHit (118μs)
      • Illuminate\Cache\Events\CacheHit (103μs)
      • Illuminate\Cache\Events\CacheHit (137μs)
      • Illuminate\Cache\Events\CacheHit (132μs)
      • Illuminate\Cache\Events\CacheHit (141μs)
      • Illuminate\Cache\Events\CacheHit (104μs)
      • Illuminate\Cache\Events\CacheHit (118μs)
      • Illuminate\Cache\Events\CacheHit (100μs)
      • Illuminate\Cache\Events\CacheHit (120μs)
      • Illuminate\Cache\Events\CacheHit (101μs)
      • Illuminate\Cache\Events\CacheHit (115μs)
      • Illuminate\Cache\Events\CacheHit (92μs)
      • Illuminate\Cache\Events\CacheHit (120μs)
      • Illuminate\Cache\Events\CacheHit (100μs)
      • Illuminate\Cache\Events\CacheHit (129μs)
      • Illuminate\Cache\Events\CacheHit (104μs)
      • Illuminate\Cache\Events\CacheHit (118μs)
      • Illuminate\Cache\Events\CacheHit (157μs)
      • Illuminate\Cache\Events\CacheHit (126μs)
      • Illuminate\Cache\Events\CacheHit (132μs)
      • Illuminate\Cache\Events\CacheHit (130μs)
      • Illuminate\Cache\Events\CacheHit (108μs)
      • Illuminate\Cache\Events\CacheHit (118μs)
      • Illuminate\Cache\Events\CacheHit (106μs)
      • Illuminate\Cache\Events\CacheHit (122μs)
      • Illuminate\Cache\Events\CacheHit (108μs)
      • Illuminate\Cache\Events\CacheHit (134μs)
      • Illuminate\Cache\Events\CacheHit (109μs)
      • Illuminate\Cache\Events\CacheHit (124μs)
      • Illuminate\Cache\Events\CacheHit (119μs)
      • Illuminate\Cache\Events\CacheHit (132μs)
      • Illuminate\Cache\Events\CacheHit (119μs)
      • Illuminate\Cache\Events\CacheHit (125μs)
      • Illuminate\Cache\Events\CacheHit (110μs)
      • Illuminate\Cache\Events\CacheHit (146μs)
      • Illuminate\Cache\Events\CacheHit (124μs)
      • Illuminate\Cache\Events\CacheHit (137μs)
      • Illuminate\Cache\Events\CacheHit (114μs)
      • Illuminate\Cache\Events\CacheHit (130μs)
      • Illuminate\Cache\Events\CacheHit (112μs)
      • Illuminate\Cache\Events\CacheHit (128μs)
      • Illuminate\Cache\Events\CacheHit (114μs)
      • Illuminate\Cache\Events\CacheHit (132μs)
      • Illuminate\Cache\Events\CacheHit (111μs)
      • Illuminate\Cache\Events\CacheHit (129μs)
      • Illuminate\Cache\Events\CacheHit (115μs)
      • Illuminate\Cache\Events\CacheHit (135μs)
      • Illuminate\Cache\Events\CacheHit (126μs)
      • Illuminate\Cache\Events\CacheHit (128μs)
      • Illuminate\Cache\Events\CacheHit (212μs)
      • Illuminate\Cache\Events\CacheHit (145μs)
      • Illuminate\Cache\Events\CacheHit (103μs)
      • Illuminate\Cache\Events\CacheHit (120μs)
      • Illuminate\Cache\Events\CacheHit (104μs)
      • Illuminate\Cache\Events\CacheHit (136μs)
      • Illuminate\Cache\Events\CacheHit (116μs)
      • Illuminate\Cache\Events\CacheHit (131μs)
      • Illuminate\Cache\Events\CacheHit (129μs)
      • Illuminate\Cache\Events\CacheHit (137μs)
      • Illuminate\Cache\Events\CacheHit (110μs)
      • Illuminate\Cache\Events\CacheHit (128μs)
      • Illuminate\Cache\Events\CacheHit (104μs)
      • Illuminate\Cache\Events\CacheHit (128μs)
      • Illuminate\Cache\Events\CacheHit (104μs)
      • Illuminate\Cache\Events\CacheHit (119μs)
      • Illuminate\Cache\Events\CacheHit (109μs)
      • Illuminate\Cache\Events\CacheHit (124μs)
      • Illuminate\Cache\Events\CacheHit (107μs)
      • Illuminate\Cache\Events\CacheHit (142μs)
      • Illuminate\Cache\Events\CacheHit (110μs)
      • Illuminate\Cache\Events\CacheHit (135μs)
      • Illuminate\Cache\Events\CacheHit (116μs)
      • Illuminate\Cache\Events\CacheHit (142μs)
      • Illuminate\Cache\Events\CacheHit (127μs)
      • Illuminate\Cache\Events\CacheHit (135μs)
      • Illuminate\Cache\Events\CacheHit (112μs)
      • Illuminate\Cache\Events\CacheHit (126μs)
      • Illuminate\Cache\Events\CacheHit (109μs)
      • Illuminate\Cache\Events\CacheHit (128μs)
      • Illuminate\Cache\Events\CacheHit (108μs)
      • Illuminate\Cache\Events\CacheHit (121μs)
      • Illuminate\Cache\Events\CacheHit (202μs)
      • Illuminate\Cache\Events\CacheHit (151μs)
      • Illuminate\Cache\Events\CacheHit (109μs)
      • Illuminate\Cache\Events\CacheHit (134μs)
      • Illuminate\Cache\Events\CacheHit (109μs)
      • Illuminate\Cache\Events\CacheHit (704μs)
      • Illuminate\Cache\Events\CacheHit (117μs)
      • Illuminate\Cache\Events\CacheHit (128μs)
      • Illuminate\Cache\Events\CacheHit (104μs)
      • Illuminate\Cache\Events\CacheHit (128μs)
      • Illuminate\Cache\Events\CacheHit (126μs)
      • Illuminate\Cache\Events\CacheHit (129μs)
      • Illuminate\Cache\Events\CacheHit (105μs)
      • Illuminate\Cache\Events\CacheHit (120μs)
      • Illuminate\Cache\Events\CacheHit (105μs)
      • Illuminate\Cache\Events\CacheHit (122μs)
      • Illuminate\Cache\Events\CacheHit (105μs)
      • Illuminate\Cache\Events\CacheHit (123μs)
      • Illuminate\Cache\Events\CacheHit (106μs)
      • Illuminate\Cache\Events\CacheHit (127μs)
      • Illuminate\Cache\Events\CacheHit (107μs)
      • Illuminate\Cache\Events\CacheHit (129μs)
      • Illuminate\Cache\Events\CacheHit (115μs)
      • Illuminate\Cache\Events\CacheHit (161μs)
      • Illuminate\Cache\Events\CacheHit (131μs)
      • Illuminate\Cache\Events\CacheHit (142μs)
      • Illuminate\Cache\Events\CacheHit (110μs)
      • Illuminate\Cache\Events\CacheHit (125μs)
      • Illuminate\Cache\Events\CacheHit (170μs)
      • Illuminate\Cache\Events\CacheHit (128μs)
      • Illuminate\Cache\Events\CacheHit (102μs)
      • Illuminate\Cache\Events\CacheHit (120μs)
      • Illuminate\Cache\Events\CacheHit (107μs)
      • Illuminate\Cache\Events\CacheHit (124μs)
      • Illuminate\Cache\Events\CacheHit (111μs)
      • Illuminate\Cache\Events\CacheHit (118μs)
      • Illuminate\Cache\Events\CacheHit (99μs)
      • Illuminate\Cache\Events\CacheHit (131μs)
      • Illuminate\Cache\Events\CacheHit (108μs)
      • Illuminate\Cache\Events\CacheHit (118μs)
      • Illuminate\Cache\Events\CacheHit (102μs)
      • Illuminate\Cache\Events\CacheHit (122μs)
      • Illuminate\Cache\Events\CacheHit (109μs)
      • Illuminate\Cache\Events\CacheHit (141μs)
      • Illuminate\Cache\Events\CacheHit (113μs)
      • Illuminate\Cache\Events\CacheHit (127μs)
      • Illuminate\Cache\Events\CacheHit (110μs)
      • Illuminate\Cache\Events\CacheHit (122μs)
      • Illuminate\Cache\Events\CacheHit (106μs)
      • Illuminate\Cache\Events\CacheHit (125μs)
      • Illuminate\Cache\Events\CacheHit (108μs)
      • Illuminate\Cache\Events\CacheHit (119μs)
      • Illuminate\Cache\Events\CacheHit (113μs)
      • Illuminate\Cache\Events\CacheHit (125μs)
      • Illuminate\Cache\Events\CacheHit (107μs)
      • Illuminate\Cache\Events\CacheHit (129μs)
      • Illuminate\Cache\Events\CacheHit (108μs)
      • Illuminate\Cache\Events\CacheHit (145μs)
      • Illuminate\Cache\Events\CacheHit (119μs)
      • Illuminate\Cache\Events\CacheHit (131μs)
      • Illuminate\Cache\Events\CacheHit (108μs)
      • Illuminate\Cache\Events\CacheHit (160μs)
      • Illuminate\Cache\Events\CacheHit (121μs)
      • Illuminate\Cache\Events\CacheHit (123μs)
      • Illuminate\Cache\Events\CacheHit (108μs)
      • Illuminate\Cache\Events\CacheHit (131μs)
      • Illuminate\Cache\Events\CacheHit (107μs)
      • Illuminate\Cache\Events\CacheHit (125μs)
      • Illuminate\Cache\Events\CacheHit (104μs)
      • Illuminate\Cache\Events\CacheHit (117μs)
      • Illuminate\Cache\Events\CacheHit (105μs)
      • Illuminate\Cache\Events\CacheHit (151μs)
      • Illuminate\Cache\Events\CacheHit (115μs)
      • Illuminate\Cache\Events\CacheHit (136μs)
      • Illuminate\Cache\Events\CacheHit (111μs)
      • Illuminate\Cache\Events\CacheHit (128μs)
      • Illuminate\Cache\Events\CacheHit (103μs)
      • Illuminate\Cache\Events\CacheHit (141μs)
      • Illuminate\Cache\Events\CacheHit (115μs)
      • Illuminate\Cache\Events\CacheHit (134μs)
      • Illuminate\Cache\Events\CacheHit (116μs)
      • Illuminate\Cache\Events\CacheHit (129μs)
      • Illuminate\Cache\Events\CacheHit (103μs)
      • Illuminate\Cache\Events\CacheHit (127μs)
      • Illuminate\Cache\Events\CacheHit (109μs)
      • Illuminate\Cache\Events\CacheHit (130μs)
      • Illuminate\Cache\Events\CacheHit (110μs)
      • Illuminate\Cache\Events\CacheHit (149μs)
      • Illuminate\Cache\Events\CacheHit (105μs)
      • Illuminate\Cache\Events\CacheHit (117μs)
      • Illuminate\Cache\Events\CacheHit (103μs)
      • Illuminate\Cache\Events\CacheHit (118μs)
      • Illuminate\Cache\Events\CacheHit (104μs)
      • Illuminate\Cache\Events\CacheHit (126μs)
      • Illuminate\Cache\Events\CacheHit (216μs)
      • creating: site.layouts.app (368μs)
      • composing: site.layouts.app (17μs)
      • creating: components.canonical (296μs)
      • composing: components.canonical (70μs)
      • creating: components.open-graph (116μs)
      • composing: components.open-graph (47μs)
      • creating: site.headers.header (211μs)
      • composing: site.headers.header (56μs)
      • Illuminate\Cache\Events\CacheHit (1.75ms)
      • creating: components.footer (67μs)
      • composing: components.footer (64μs)
      • Illuminate\Cache\Events\CacheHit (589μs)
      • Illuminate\Cache\Events\CacheHit (190μs)
      • Illuminate\Cache\Events\CacheHit (218μs)
      • Illuminate\Cache\Events\CacheHit (123μs)
      • Illuminate\Cache\Events\CacheHit (114μs)
      • Illuminate\Cache\Events\CacheHit (109μs)
      • Illuminate\Cache\Events\CacheHit (111μs)
      • Illuminate\Cache\Events\CacheHit (185μs)
      • Illuminate\Cache\Events\CacheHit (198μs)
      • Illuminate\Cache\Events\CacheHit (139μs)
      • Illuminate\Cache\Events\CacheHit (130μs)
      • Illuminate\Cache\Events\CacheHit (118μs)
      • Illuminate\Cache\Events\CacheHit (124μs)
      • Illuminate\Cache\Events\CacheHit (115μs)
      • creating: components.forms.contact-us (198μs)
      • composing: components.forms.contact-us (104μs)
      • creating: components.forms.get-started (129μs)
      • composing: components.forms.get-started (46μs)
      • creating: components.forms.free-tool-download (98μs)
      • composing: components.forms.free-tool-download (43μs)
      • creating: components.forms.claim-free-worksheet (99μs)
      • composing: components.forms.claim-free-worksheet (42μs)
      • creating: components.forms.tutor-subscription-waitlist (89μs)
      • composing: components.forms.tutor-subscription-waitlist (41μs)
      • creating: components.forms.tutor-subscription-join (91μs)
      • composing: components.forms.tutor-subscription-join (41μs)
      • creating: components.forms.tutor-support (93μs)
      • composing: components.forms.tutor-support (41μs)
      • 321 x Illuminate\Cache\Events\CacheHit (18.78%)
        56.77ms
        10 x Illuminate\Database\Events\QueryExecuted (11.78%)
        35.62ms
        10 x Illuminate\Database\Events\StatementPrepared (4.2%)
        12.69ms
        1 x Illuminate\Foundation\Events\LocaleUpdated (0.64%)
        1.92ms
        1 x Illuminate\Cache\Events\KeyWritten (0.26%)
        791μs
        1 x Illuminate\Database\Events\ConnectionEstablished (0.21%)
        624μs
        1 x Illuminate\Routing\Events\Routing (0.18%)
        541μs
        1 x eloquent.booting: App\Models\SubjectCat (0.15%)
        446μs
        1 x creating: site.layouts.app (0.12%)
        368μs
        1 x creating: homework.show (0.1%)
        302μs
        1 x creating: components.canonical (0.1%)
        296μs
        1 x creating: components.breadcrumbs (0.09%)
        276μs
        1 x Illuminate\Routing\Events\RouteMatched (0.08%)
        256μs
        7 x eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibrary (0.08%)
        228μs
        1 x creating: site.headers.header (0.07%)
        211μs
        13 x eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibraryFile (0.07%)
        209μs
        2 x eloquent.retrieved: App\Models\Subject (0.07%)
        205μs
        1 x Illuminate\Cache\Events\CacheMissed (0.07%)
        205μs
        1 x creating: components.forms.contact-us (0.07%)
        198μs
        2 x eloquent.retrieved: App\Models\SubjectCat (0.05%)
        153μs
        1 x eloquent.booting: App\Models\HomeworkLibrary\HomeworkLibraryFile (0.05%)
        145μs
        1 x creating: components.forms.get-started (0.04%)
        129μs
        1 x eloquent.booting: App\Models\HomeworkLibrary\HomeworkLibrary (0.04%)
        127μs
        1 x composing: components.breadcrumbs (0.04%)
        118μs
        1 x creating: components.open-graph (0.04%)
        116μs
        1 x eloquent.booting: App\Models\Subject (0.04%)
        111μs
        1 x eloquent.booted: App\Models\HomeworkLibrary\HomeworkLibrary (0.04%)
        109μs
        1 x composing: components.forms.contact-us (0.03%)
        104μs
        1 x composing: homework.show (0.03%)
        99μs
        1 x creating: components.forms.claim-free-worksheet (0.03%)
        99μs
        1 x creating: components.forms.free-tool-download (0.03%)
        98μs
        1 x creating: components.forms.tutor-support (0.03%)
        93μs
        1 x creating: components.forms.tutor-subscription-join (0.03%)
        91μs
        1 x creating: components.forms.tutor-subscription-waitlist (0.03%)
        89μs
        1 x eloquent.booted: App\Models\HomeworkLibrary\HomeworkLibraryFile (0.03%)
        84μs
        1 x composing: components.canonical (0.02%)
        70μs
        1 x creating: components.footer (0.02%)
        67μs
        1 x composing: components.footer (0.02%)
        64μs
        1 x composing: site.headers.header (0.02%)
        56μs
        1 x eloquent.booted: App\Models\SubjectCat (0.02%)
        48μs
        1 x composing: components.open-graph (0.02%)
        47μs
        1 x composing: components.forms.get-started (0.02%)
        46μs
        1 x eloquent.booted: App\Models\Subject (0.01%)
        43μs
        1 x composing: components.forms.free-tool-download (0.01%)
        43μs
        1 x composing: components.forms.claim-free-worksheet (0.01%)
        42μs
        1 x composing: components.forms.tutor-subscription-waitlist (0.01%)
        41μs
        1 x composing: components.forms.tutor-subscription-join (0.01%)
        41μs
        1 x composing: components.forms.tutor-support (0.01%)
        41μs
        1 x composing: site.layouts.app (0.01%)
        17μs
      14 templates were rendered
      • 1x homework.showshow.blade.phpblade
      • 1x components.breadcrumbsbreadcrumbs.blade.phpblade
      • 1x site.layouts.appapp.blade.phpblade
      • 1x components.canonicalcanonical.blade.phpblade
      • 1x components.open-graphopen-graph.blade.phpblade
      • 1x site.headers.headerheader.blade.phpblade
      • 1x components.footerfooter.blade.phpblade
      • 1x components.forms.contact-uscontact-us.blade.phpblade
      • 1x components.forms.get-startedget-started.blade.phpblade
      • 1x components.forms.free-tool-downloadfree-tool-download.blade.phpblade
      • 1x components.forms.claim-free-worksheetclaim-free-worksheet.blade.phpblade
      • 1x components.forms.tutor-subscription-waitlisttutor-subscription-waitlist.blade.phpblade
      • 1x components.forms.tutor-subscription-jointutor-subscription-join.blade.phpblade
      • 1x components.forms.tutor-supporttutor-support.blade.phpblade
      uri
      GET college-homework-library/{category}/{subject}/{id}
      middleware
      web, utm.parameters
      controller
      App\Http\Controllers\HomeworkLibraryController@show
      namespace
      where
      as
      homework.show
      file
      app/Http/Controllers/HomeworkLibraryController.php:79-176
      10 statements were executed, 4 of which were duplicates, 6 unique. Show only duplicated40.12ms
      • Connection Establishedtwenty4_siteHomeworkLibraryController.php#91
        Backtrace
        • 13. app/Http/Controllers/HomeworkLibraryController.php:91
        • 14. vendor/laravel/framework/src/Illuminate/Routing/Controller.php:54
        • 15. vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php:43
        • 16. vendor/laravel/framework/src/Illuminate/Routing/Route.php:260
        • 17. vendor/laravel/framework/src/Illuminate/Routing/Route.php:205
      • select * from `solutionslibrary` where `status` = 'published' and `price` > 0 and `solutionslibrary`.`id` = '47704' limit 1
        4.32mstwenty4_siteHomeworkLibraryController.php#97
        Bindings
        • 0: published
        • 1: 0
        • 2: 47704
        Backtrace
        • 16. app/Http/Controllers/HomeworkLibraryController.php:97
        • 17. vendor/laravel/framework/src/Illuminate/Routing/Controller.php:54
        • 18. vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php:43
        • 19. vendor/laravel/framework/src/Illuminate/Routing/Route.php:260
        • 20. vendor/laravel/framework/src/Illuminate/Routing/Route.php:205
      • select * from `subjects` where `subjects`.`id` in (259)
        1.09mstwenty4_siteHomeworkLibraryController.php#97
        Backtrace
        • 21. app/Http/Controllers/HomeworkLibraryController.php:97
        • 22. vendor/laravel/framework/src/Illuminate/Routing/Controller.php:54
        • 23. vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php:43
        • 24. vendor/laravel/framework/src/Illuminate/Routing/Route.php:260
        • 25. vendor/laravel/framework/src/Illuminate/Routing/Route.php:205
      • select * from `solutionslibrary_files` where `solutionslibrary_files`.`solutionlib_id` in (47704)
        3.88mstwenty4_siteHomeworkLibraryController.php#97
        Backtrace
        • 21. app/Http/Controllers/HomeworkLibraryController.php:97
        • 22. vendor/laravel/framework/src/Illuminate/Routing/Controller.php:54
        • 23. vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php:43
        • 24. vendor/laravel/framework/src/Illuminate/Routing/Route.php:260
        • 25. vendor/laravel/framework/src/Illuminate/Routing/Route.php:205
      • select * from `subject_cats` where `subject_cats`.`id` = 3 limit 1
        980μstwenty4_siteHomeworkLibrary.php#201
        Bindings
        • 0: 3
        Backtrace
        • 20. app/Models/HomeworkLibrary/HomeworkLibrary.php:201
        • 26. app/Http/Controllers/HomeworkLibraryController.php:105
        • 27. vendor/laravel/framework/src/Illuminate/Routing/Controller.php:54
        • 28. vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php:43
        • 29. vendor/laravel/framework/src/Illuminate/Routing/Route.php:260
      • select * from `solutionslibrary` where `id` <> 47704 and `subject` = 259 and `status` = 'published' and `price` > 0 order by RAND() limit 6
        24.04mstwenty4_siteHomeworkLibraryRepository.php#30
        Bindings
        • 0: 47704
        • 1: 259
        • 2: published
        • 3: 0
        Backtrace
        • 14. app/Repositories/HomeworkLibraryRepository.php:30
        • 15. vendor/laravel/framework/src/Illuminate/Cache/Repository.php:397
        • 16. vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:419
        • 18. app/Repositories/HomeworkLibraryRepository.php:39
        • 19. app/Http/Controllers/HomeworkLibraryController.php:139
      • select * from `subjects` where `subjects`.`id` in (259)
        960μstwenty4_siteHomeworkLibraryRepository.php#30
        Backtrace
        • 19. app/Repositories/HomeworkLibraryRepository.php:30
        • 20. vendor/laravel/framework/src/Illuminate/Cache/Repository.php:397
        • 21. vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:419
        • 23. app/Repositories/HomeworkLibraryRepository.php:39
        • 24. app/Http/Controllers/HomeworkLibraryController.php:139
      • select * from `solutionslibrary_files` where `solutionslibrary_files`.`solutionlib_id` = 47704 and `solutionslibrary_files`.`solutionlib_id` is not null and `publish` = 'question' order by `order` asc, `id` asc
        1.2mstwenty4_siteHomeworkLibrary.php#260
        Bindings
        • 0: 47704
        • 1: question
        Backtrace
        • 15. app/Models/HomeworkLibrary/HomeworkLibrary.php:260
        • 16. app/Transformers/HomeworkLibrary/HomeworkLibraryTransformer.php:58
        • 19. vendor/league/fractal/src/TransformerAbstract.php:128
        • 20. vendor/league/fractal/src/TransformerAbstract.php:107
        • 21. vendor/league/fractal/src/Scope.php:383
      • select * from `solutionslibrary_files` where `solutionslibrary_files`.`solutionlib_id` = 47704 and `solutionslibrary_files`.`solutionlib_id` is not null and `publish` = 'teaser' order by `order` asc, `id` asc
        1.2mstwenty4_siteHomeworkLibrary.php#260
        Bindings
        • 0: 47704
        • 1: teaser
        Backtrace
        • 15. app/Models/HomeworkLibrary/HomeworkLibrary.php:260
        • 16. app/Transformers/HomeworkLibrary/HomeworkLibraryTransformer.php:69
        • 19. vendor/league/fractal/src/TransformerAbstract.php:128
        • 20. vendor/league/fractal/src/TransformerAbstract.php:107
        • 21. vendor/league/fractal/src/Scope.php:383
      • select * from `solutionslibrary_files` where `solutionslibrary_files`.`solutionlib_id` = 47704 and `solutionslibrary_files`.`solutionlib_id` is not null and `publish` = 'solution' order by `order` asc, `id` asc
        1.19mstwenty4_siteHomeworkLibrary.php#260
        Bindings
        • 0: 47704
        • 1: solution
        Backtrace
        • 15. app/Models/HomeworkLibrary/HomeworkLibrary.php:260
        • 16. app/Transformers/HomeworkLibrary/HomeworkLibraryTransformer.php:80
        • 19. vendor/league/fractal/src/TransformerAbstract.php:128
        • 20. vendor/league/fractal/src/TransformerAbstract.php:107
        • 21. vendor/league/fractal/src/Scope.php:383
      • select * from `subject_cats` where `subject_cats`.`id` = 3 limit 1
        1.26mstwenty4_siteHomeworkLibrary.php#201
        Bindings
        • 0: 3
        Backtrace
        • 20. app/Models/HomeworkLibrary/HomeworkLibrary.php:201
        • 32. vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:110
        • 33. vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php:58
        • 34. vendor/livewire/livewire/src/ComponentConcerns/RendersLivewireComponents.php:69
        • 35. vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php:70
      App\Models\HomeworkLibrary\HomeworkLibraryFile
      13HomeworkLibraryFile.php
      App\Models\HomeworkLibrary\HomeworkLibrary
      7HomeworkLibrary.php
      App\Models\Subject
      2Subject.php
      App\Models\SubjectCat
      2SubjectCat.php
          _token
          iUJ5eUT782ajMdpeuHn8y7iCDotMLo0icUciy6jD
          utm_source
          direct
          redirectUrl
          /college-homework-library/Computer-Science/Python-Programming/47704
          _previous
          array:1 [ "url" => "https://staging.dev.24houranswers.com/college-homework-library/Computer-Scienc...
          _flash
          array:2 [ "old" => [] "new" => [] ]
          PHPDEBUGBAR_STACK_DATA
          []
          path_info
          /college-homework-library/Computer-Science/Python-Programming/47704
          status_code
          200
          
          status_text
          OK
          format
          html
          content_type
          text/html; charset=UTF-8
          request_query
          []
          
          request_request
          []
          
          request_headers
          0 of 0
          array:21 [ "priority" => array:1 [ 0 => "u=0, i" ] "accept-encoding" => array:1 [ 0 => "gzip, deflate, br, zstd" ] "sec-fetch-dest" => array:1 [ 0 => "document" ] "sec-fetch-user" => array:1 [ 0 => "?1" ] "sec-fetch-mode" => array:1 [ 0 => "navigate" ] "sec-fetch-site" => array:1 [ 0 => "none" ] "accept" => array:1 [ 0 => "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7" ] "user-agent" => array:1 [ 0 => "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)" ] "upgrade-insecure-requests" => array:1 [ 0 => "1" ] "sec-ch-ua-platform" => array:1 [ 0 => ""Windows"" ] "sec-ch-ua-mobile" => array:1 [ 0 => "?0" ] "sec-ch-ua" => array:1 [ 0 => ""HeadlessChrome";v="129", "Not=A?Brand";v="8", "Chromium";v="129"" ] "cache-control" => array:1 [ 0 => "no-cache" ] "pragma" => array:1 [ 0 => "no-cache" ] "x-amzn-trace-id" => array:1 [ 0 => "Root=1-680d2626-5e265cae695402a94f7861f6" ] "host" => array:1 [ 0 => "staging.dev.24houranswers.com" ] "x-forwarded-port" => array:1 [ 0 => "443" ] "x-forwarded-proto" => array:1 [ 0 => "https" ] "x-forwarded-for" => array:1 [ 0 => "3.142.240.117" ] "content-length" => array:1 [ 0 => "" ] "content-type" => array:1 [ 0 => "" ] ]
          request_cookies
          []
          
          response_headers
          0 of 0
          array:5 [ "content-type" => array:1 [ 0 => "text/html; charset=UTF-8" ] "cache-control" => array:1 [ 0 => "no-cache, private" ] "date" => array:1 [ 0 => "Sat, 26 Apr 2025 18:29:59 GMT" ] "set-cookie" => array:2 [ 0 => "XSRF-TOKEN=eyJpdiI6IjhGL2pwRlBUK0R3TmdrdXRGaUdTdVE9PSIsInZhbHVlIjoiSDdIeUl1bVNLVmFTdDA1MkliMiszdEZlNXpxVTlOcGFybHV3WmEzYkZ5c1dwNmthZnQ2b1daZk50Wis4dTJFRWZtaXdDNnpUNU9mS3diYU94WVFZSWM4d1NrUzFxUW05OHhqVG1HOEZkTnJPRi8vYWI3NWpVblRyeit3eUFKMmsiLCJtYWMiOiI5ZTExMDE4ZmE3NTQ5OWMxYjQ1ZTVmNWY0NzU4MzA2MTdkNWI0NzhhYzlkZTZmMjJhZjZkYjkyMzIwZDRjZjZmIiwidGFnIjoiIn0%3D; expires=Sat, 26 Apr 2025 20:29:59 GMT; Max-Age=7200; path=/; domain=.24houranswers.com; samesite=laxXSRF-TOKEN=eyJpdiI6IjhGL2pwRlBUK0R3TmdrdXRGaUdTdVE9PSIsInZhbHVlIjoiSDdIeUl1bVNLVmFTdDA1MkliMiszdEZlNXpxVTlOcGFybHV3WmEzYkZ5c1dwNmthZnQ2b1daZk50Wis4dTJFRWZtaXdDN" 1 => "24houranswers_session=eyJpdiI6IlZwdUdkWDc0ZXJHNHVTV0VvU1dMRGc9PSIsInZhbHVlIjoib3IwaEM2bi8vL09aYWQ1UURCTzF3YTUwNFh1ZnVJL0xpY1dndjRoVTNZMm9rYUUzVGcvVEluSlhUbFhCcXV1MzRHd242d0R0bnJIdUxBTFRHRHZxY291bWhsWnk3cDBkdWFMREpaRTNseGMwb1VjRnNXZE5Kb1dMQVMvMnZaZFEiLCJtYWMiOiI1MDJiODJhMTFlMjBiMWRjMDZiN2U3NGMyZmQ2NWI4YTYyNGRiYzU5ZmU1OGIyNWI4NjY2MDcyYzlhZmQ0NmRkIiwidGFnIjoiIn0%3D; expires=Sat, 26 Apr 2025 20:29:59 GMT; Max-Age=7200; path=/; domain=.24houranswers.com; httponly; samesite=lax24houranswers_session=eyJpdiI6IlZwdUdkWDc0ZXJHNHVTV0VvU1dMRGc9PSIsInZhbHVlIjoib3IwaEM2bi8vL09aYWQ1UURCTzF3YTUwNFh1ZnVJL0xpY1dndjRoVTNZMm9rYUUzVGcvVEluSlhUbFhCcX" ] "Set-Cookie" => array:2 [ 0 => "XSRF-TOKEN=eyJpdiI6IjhGL2pwRlBUK0R3TmdrdXRGaUdTdVE9PSIsInZhbHVlIjoiSDdIeUl1bVNLVmFTdDA1MkliMiszdEZlNXpxVTlOcGFybHV3WmEzYkZ5c1dwNmthZnQ2b1daZk50Wis4dTJFRWZtaXdDNnpUNU9mS3diYU94WVFZSWM4d1NrUzFxUW05OHhqVG1HOEZkTnJPRi8vYWI3NWpVblRyeit3eUFKMmsiLCJtYWMiOiI5ZTExMDE4ZmE3NTQ5OWMxYjQ1ZTVmNWY0NzU4MzA2MTdkNWI0NzhhYzlkZTZmMjJhZjZkYjkyMzIwZDRjZjZmIiwidGFnIjoiIn0%3D; expires=Sat, 26-Apr-2025 20:29:59 GMT; domain=.24houranswers.com; path=/XSRF-TOKEN=eyJpdiI6IjhGL2pwRlBUK0R3TmdrdXRGaUdTdVE9PSIsInZhbHVlIjoiSDdIeUl1bVNLVmFTdDA1MkliMiszdEZlNXpxVTlOcGFybHV3WmEzYkZ5c1dwNmthZnQ2b1daZk50Wis4dTJFRWZtaXdDN" 1 => "24houranswers_session=eyJpdiI6IlZwdUdkWDc0ZXJHNHVTV0VvU1dMRGc9PSIsInZhbHVlIjoib3IwaEM2bi8vL09aYWQ1UURCTzF3YTUwNFh1ZnVJL0xpY1dndjRoVTNZMm9rYUUzVGcvVEluSlhUbFhCcXV1MzRHd242d0R0bnJIdUxBTFRHRHZxY291bWhsWnk3cDBkdWFMREpaRTNseGMwb1VjRnNXZE5Kb1dMQVMvMnZaZFEiLCJtYWMiOiI1MDJiODJhMTFlMjBiMWRjMDZiN2U3NGMyZmQ2NWI4YTYyNGRiYzU5ZmU1OGIyNWI4NjY2MDcyYzlhZmQ0NmRkIiwidGFnIjoiIn0%3D; expires=Sat, 26-Apr-2025 20:29:59 GMT; domain=.24houranswers.com; path=/; httponly24houranswers_session=eyJpdiI6IlZwdUdkWDc0ZXJHNHVTV0VvU1dMRGc9PSIsInZhbHVlIjoib3IwaEM2bi8vL09aYWQ1UURCTzF3YTUwNFh1ZnVJL0xpY1dndjRoVTNZMm9rYUUzVGcvVEluSlhUbFhCcX" ] ]
          session_attributes
          0 of 0
          array:6 [ "_token" => "iUJ5eUT782ajMdpeuHn8y7iCDotMLo0icUciy6jD" "utm_source" => "direct" "redirectUrl" => "/college-homework-library/Computer-Science/Python-Programming/47704" "_previous" => array:1 [ "url" => "https://staging.dev.24houranswers.com/college-homework-library/Computer-Science/Python-Programming/47704" ] "_flash" => array:2 [ "old" => [] "new" => [] ] "PHPDEBUGBAR_STACK_DATA" => [] ]