GSoC 2025 pgRouting second period communications

Hi just like before this starts the second period communications

Please for this week, after merging, do not create your new branch.
I will update your gsoc branch with the current contents of the main pgrouting develop branch: Its got to a moment where zillions of files are different and makes my work difficult for catching any conflict with the develop branch.

I will make the change just before our first weekly meeting in my Monday morning. So please have it merged by then.

Regards
Vicky

Hello @cvvergara ,
Can you just check once why my no_crash.pg is failing at 7th and also my bandwidth.pg is failed.

bandwidth.pg : Failed
$stats = { 'RunTimeTotal' => '73.616692', 'docqueries/metrics/bandwidth.pg' => 'FAILED: 12c12

no_crash_test.pg : Failed 1
pgtap/metrics/bandwidth/no_crash_test.pg (Wstat: 0 Tests: 7 Failed: 1) Failed test: 7

Thankyou!
Best Regards
Saloni

No need to fix now, but

SELECT * FROM pgr_bandwidth ( NULL);
 bandwidth 
-----------
          
(1 row

Your function returns a number not a set of records.

to get this:

pgtap/metrics/bandwidth/no_crash_test.pg .. 
1..4
ok 1 - lives_ok SELECT * FROM pgr_bandwidth ( $$SELECT id, source, target, cost, reverse_cost  FROM edges$$)
ok 2 - isnt_empty SELECT * FROM pgr_bandwidth ( $$SELECT id, source, target, cost, reverse_cost  FROM edges$$)
ok 3 - lives_ok SELECT * FROM pgr_bandwidth ( NULL)
ok 4 - set_eqSELECT * FROM pgr_bandwidth ( NULL)
ok
All tests successful.
Files=1, Tests=4,  0 wallclock secs ( 0.01 usr  0.01 sys +  0.01 cusr  0.00 csys =  0.03 CPU)
Result: PASS
  1. Remove the useless tests about the prepared statements (the ones that mention for the tests to be meaningful
  2. Of course adjust the number of tests
  3. Follow the code. What is that particular test calling?
  4. Find the function, and make a small change:
    Hint: this you need to add somewhere in that function
    OR func='pgr_bandwidth'
1 Like

@wifi I suppose we meet one hour from now.
We did not get the invite.
see you in 1 hour

Hi, @cvvergara @sanak @robe
I have sent the invitation for tomorrow meeting through email:
11:00 AM Shanghai time on July 14, @wifi
10:00 PM Mexico City time on July 13, @cvvergara
12:00 PM Osaka time on July 14, @sanak
11:00 PM Boston time on July 13, @robe

1 Like

Hello everyone,

I wanted to inform you that I won’t be able to attend tonight’s meeting as I’ll be traveling to Vietnam for some college work and have a flight scheduled around that time.

I’ll be away for a week (till 11th August), but I’ll plan accordingly so that it won’t hinder my progress. I’ll continue working while I’m away and will keep you updated as usual.

Please let me know if there’s anything specific I should prioritize during this time.

Best regards,
Bipasha

1 Like

Hello @cvvergara , @robe

I have used the following graph as examples to add in the documentation , but I am getting the same bandwidth for both the graphs and that is 6 even though the connections are different .
Can you once check why is this happening ?

I have added both the examples in additional examples section in my documentation so you can check through that .
Also if possible , can we meet this week itself as I have completed the project and also updated the queries as suggested. So can we meet on 6th or 7th or 8th this week at the same time because I won’t be available on Monday since I have to travel to Bengaluru?

Best Regards,
Saloni Kumari

@bipashabg @Saloni-2005

Please let me know when you are back.
We will figure out your problems when you are back.

Don’t forget to make your progress reports

Enjoy your trips.

Monday 11 meeting in the morning is postponed to the students return.

Regards

Hi @cvvergara,

I just realized that I mistakenly titled my Week 10 report as “Week 9.” Unfortunately, I don’t have permission to edit the title after posting it.

Could you please help me update the title, or let me know if there’s something I can do to fix it myself?

Best regards,

Wifi

Hello @cvvergara ,
I just want to inform that I am available from now onwards .
So , could you please share the timing when we can have a meet ?

Best Regards,
Saloni kumari

@bipashabg @Saloni-2005

Can you try the following code:

#if 0                                                                                                                   
        UndirectedGraph undigraph;                                                                                      
#else                                                                                                                   
        auto vertices(pgrouting::extract_vertices(edges));                                                              
        UndirectedGraph undigraph(vertices);                                                                            
#endif

log << undigraph

That will:

  • Insert the vertices in order of id
    • The vertex descriptors will be given in increasing order of the vertex id
  • Insert the edges
  • print the graph, (you will need to used the DEBUG3 option when running docqueries)

If you set the if to 1: (the way its working now)

  • Insert the edges
    • vertices descriptors are assigned in first come first served order

We already tested with king ordering with @wifi

As you are awake at the same time, maybe he can explain to you.
We can meet tomorrow.

@wifi Post the meeting time for tomorrow please

Regards

1 Like

For tomorrow meeting schedule:

10:00 AM Shanghai time on Aug 13

9:00 PM Mexico City time on Aug 12

11:00 AM Osaka time on Aug 13

10:00 PM Boston time on Aug 12

1 Like

Hello @cvvergara ,
We are meeting at the usual time today right?